Hi All, I have got sqlcounters working with mysql database. I want to sell 15 mins, 30 mins, 1 hour, 2 hour vouchers and I want Freeradius to lock all users who even use 1 min of their voucher time every 24 hours. The vouchers are valid only for 24 hours after logging into network first time. The current options for reset= never & daily which don't work for me. Daily= Will reset midnight and allow user to login next day Never = Will allow user to use time forever until he exceeds "session-timeout" value. Thanks, Sagar
Remember, it won't kick them off when they reach their time, just refuse any further authentications from that user. You need to be sure that whatever method you're using for access will listen to session-timeout values. This might be a pointer in the right direction... Jan On 20/11/06, sagar.patil@bt.com <sagar.patil@bt.com> wrote:
Hi All, I have got sqlcounters working with mysql database. I want to sell 15 mins, 30 mins, 1 hour, 2 hour vouchers and I want Freeradius to lock all users who even use 1 min of their voucher time every 24 hours. The vouchers are valid only for 24 hours after logging into network first time.
The current options for reset= never & daily which don't work for me. Daily= Will reset midnight and allow user to login next day Never = Will allow user to use time forever until he exceeds "session-timeout" value.
Thanks, Sagar
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
sagar.patil@bt.com wrote:
Hi All, I have got sqlcounters working with mysql database. I want to sell 15 mins, 30 mins, 1 hour, 2 hour vouchers and I want Freeradius to lock all users who even use 1 min of their voucher time every 24 hours. The vouchers are valid only for 24 hours after logging into network first time.
The current options for reset= never & daily which don't work for me.
So.... edit the source code. It's not that hard. Send the patch back, and we'll add it to the next release. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (3)
-
Alan DeKok -
Jan Mulders -
sagar.patil@bt.com