Re: [RADIATOR] possible bug when AcctTotalSinceQuery == Max-Daily-Session

2013-10-29 Thread Heikki Vatiainen
On 10/28/2013 07:01 PM, Francesc Romà i Frigolé wrote: > if( ${$_[0]}->get_attr(‘Session-Time’) < 120) { > ${$_[0]}->set_attr(‘Session-Time’, -1) > } > > Is the syntax for a setter set_attr() ? or is it add_attr() ? I haven't > found any example of the former in the manual Hello

Re: [RADIATOR] possible bug when AcctTotalSinceQuery == Max-Daily-Session

2013-10-28 Thread Francesc Romà i Frigolé
Hi Heikki, Thank you for your suggestion. A PostAuth Hook sounds like a good solution, and also an opportunity to clear to reject users with just a few seconds left. It happens as you describe, the Max-Daily-Session is not strictly exceeded, it's just exactly reached. 1. if( ${$_[0]}->ge

Re: [RADIATOR] possible bug when AcctTotalSinceQuery == Max-Daily-Session

2013-10-16 Thread Heikki Vatiainen
On 10/15/2013 05:47 PM, Francesc Romà i Frigolé wrote: > When the total session time used for the day as given by the > AcctTotalSinceQuery is exactly the same as Max-Daily-Session in the > authentication request Radiator allows the user to log in. > > Only if the session time exceed the max dai

[RADIATOR] possible bug when AcctTotalSinceQuery == Max-Daily-Session

2013-10-15 Thread Francesc Romà i Frigolé
Hello, When the total session time used for the day as given by the AcctTotalSinceQuery is exactly the same as Max-Daily-Session in the authentication request Radiator allows the user to log in. Only if the session time exceed the max daily session, even by just one second, will Radiator complain