permit access on date/hour intervals and policy.conf problem
Alan DeKok
aland at deployingradius.com
Tue May 19 20:51:45 CEST 2015
On May 19, 2015, at 2:50 PM, Franz Angeli <franz.angeli at gmail.com> wrote:
> with attribute set at integer i have:
>
> ++- entering policy check_validity {...}
> expand: %l -> 1432061274
> +++[control] returns noop
> +++? if (control:Start_Time > control:System-Date)
> Failed parsing "control:System-Date": Unknown value
In v2, you have to do:
if (control:Start_Time > "%{control:System-Date}") {
...
In v3, you can compare attributes directly.
Alan DeKok.
More information about the Freeradius-Users
mailing list