Expiration is actually the validity of the account. It does not calculates the amount of time used. If you are looking to limit the session time i.e 100 hrs Monthly or anything , you need rlm_sqlcounter with attributes like Max-Session-Time with a value.
In conjunction with Expiration, you can use Max-Session-Time to create packages such as 1 Month 100 Hrs Browsing etc .
Feel to send any other query if you are stuck .
Regards
Suman
On Sun, Oct 30, 2011 at 7:39 PM, JennyBlunt <jennyshoehorn@me.com> wrote:I actually suggest you use rlm_sqlcounter instead, which (for me) is
> How do I create a group which provides access for a preset amount of time,
> for instance one day, week or month. I've tried by using expiration but
> don't think thats right. Will the noreset parameter do this?
>
> In our current system (not freeradius), we'd set this up as a continuous
> account which starts the counter the first time the users logs on.
easier to understand and maintain. Use the example noresetcounter from
http://wiki.freeradius.org/Rlm_sqlcounter
You can see exactly how the module counts whatever-it-uses (in the
example it's SUM(AcctSessionTime)), and you can run the query manually
for debugging purposes.
--
Fajar