NotBefore, NotAfter or Date attributes fot temporary accounts

Daniele Albrizio albrizio at univ.trieste.it
Thu Oct 29 17:48:48 CET 2009


Alan DeKok wrote:
> Daniele Albrizio wrote:
>> In an old post Alan DeKok said he would patch freeradius to support
>> temporary accounts using attributes like
>>
>>   Date > "January  1 2010 13:00"
>>   Date > "January 12 2010 13:00"
> 
>   Use "Current-Time".

Good. Do you know where can I find the syntax for the values of the
"Current-Time" attribute?

Is the date format is the same as for Login-Time ? UUCP intervals?
In that case I cannot specify (for example) the sole december month, right?

In fact if I specify in sql a check as

Current-Tyme >= October 12 2009 13:00

the user gets rejected because the condition doesn't seem to match:

++[sql] returns ok
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
No authenticate method (Auth-Type) configuration found for the request:
Rejecting the user
-- 



More information about the Freeradius-Users mailing list