Default Max-Daily-Session setting and per user setting

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Jan 3 00:38:29 CET 2015


> On 2 Jan 2015, at 18:06, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Jan 2, 2015, at 5:23 PM, Matej Žerovnik <matej at zunaj.si> wrote:
>> 
>> But I still have some troubles. Here is a cut of debug log:
>> ...
>> (7) dailycounter : Setting reply:Session-Timeout value to 6196
>> (7)   [dailycounter] = ok
>> 
>> Since this is the 1st login for this user today, counter value is set to 0 and max-daily-session is correctly set to 3600 seconds. Why does the counter sets Session-timeout to 6196?
> 
>  The user logged in just before the reset time.  Instead of kicking them off, and immediately allowing them on again… it just lets them on for two time periods.
> 
>  i.e. if the user has an hour of login per day, and logs in at 11:45, he should be allowed in until midnight, and for one hour afterwards.

Added an extra debug message for this case, just to prove that's what's happening if you feel like building from v3.0.x.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2



More information about the Freeradius-Users mailing list