Re: Re[8]: daily limit

This is a discussion on Re: Re[8]: daily limit within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi. Yepp, that should work, i.e. mysql> select * from radcheck; +----+----------+-------------------+----+------------+ | id | UserName | Attribute | op | Value | +----+----------+-------------------+----+------------+ | 5 | yazzy | User-...


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
Marcin Jessa
 
Posts: n/a
Default Re: Re[8]: daily limit

Hi.

Yepp, that should work, i.e.

mysql> select * from radcheck;
+----+----------+-------------------+----+------------+
| id | UserName | Attribute | op | Value |
+----+----------+-------------------+----+------------+
| 5 | yazzy | User-Password | := | yazzy |
| 6 | yazzy | Max-Daily-Session | := | 3600 |
| 7 | yazzy | Expiration | := | 2005-01-10 |
+----+----------+-------------------+----+------------+

Or you could put it to the readgroupreply table as well for your group.



On Wed, 11 May 2005 16:56:53 +0700
avudz <mahfudz@cyber-isp.net> wrote:

>
> 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


-
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:40 AM.


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