...or if you're feeling lazy and know Perl, rlm_perl is an exellent tool to make your own policy decisions (as you can configure perl to talk to your mysql database).
Hope this helps,
Jan
Take a look at rlm_counter/rlm_sqlcounter (I don't know if it's exactly what you are looking for) or if you don't want to complicate, just work with a database logic and change the radius auth queries depending on certain timestamps and NOW(), for example, in the case of MySQL, in sql.conf.
I'm not a guru, but it can be useful for starting looking for some of the options…
De: freeradius-users-bounces+mmiranda=iber-x.com@lists.freeradius.org [mailto:freeradius-users-bounces+mmiranda=iber-x.com@lists.freeradius.org ] En nombre de Aren Chua
Enviado el: viernes, 11 de mayo de 2007 12:35
Para: freeradius-users@lists.freeradius.org
Asunto: One day user account
Hi All,
I would like to create a user account which only allow user to use for 1 day. Once the user has been authenticated, the time will be start counting and ended after 24 hours. Although the user didn't fully used up their session time, radius still will reject user to login.
Can any expert give me some suggestion on how to create this user account?
Thanks
Regards,
Aren Chua
Download Messenger. Start an i'm conversation. Support a cause. Join Now!
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html