Bluehost.com Web Hosting $6.95

Re[8]: daily limit

This is a discussion on Re[8]: daily limit within the FreeRADIUS Users forums, part of the Networking and Network Related category; Wednesday, May 11, 2005, 4:36:26 PM, you wrote: CK> I'll second that idea. Definately would need ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2005
avudz
 
Posts: n/a
Default Re[8]: daily limit


Wednesday, May 11, 2005, 4:36:26 PM, you wrote:



CK> I'll second that idea. Definately would need some external maintenance
CK> on the database every night to expire accounts older than 24hrs...

CK> Alternatively, you *can* do some nifty sql query on the authentication query
CK> that compaires radacct to the account being authenticated, but that would be
CK> a performance hit on authentication times. A nightly maintenance run would
CK> be the best way to go IMHO.

--- thanks so much for response and idea, btw last *hope* :-) is it
possible to do like this :

Database changed
mysql> select * from radgroupcheck;
+----+-----------+-----------------+----+------------+
| id | GroupName | Attribute | op | Value |
+----+-----------+-----------------+----+------------+
[SNIP]
| 6 | test | Expiration | := | 2005-01-10 |
+----+-----------+-----------------+----+------------+
4 rows in set (0.00 sec)

so all user which in group test if date > 10-01-2005 will expire.
*last hope* :-)

--
Best regards,
avudz


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0