permit access on date/hour intervals and policy.conf problem
Alan DeKok
aland at deployingradius.com
Tue May 19 20:11:48 CEST 2015
On May 19, 2015, at 1:42 PM, Franz Angeli <franz.angeli at gmail.com> wrote:
> in this way i have:
>
> sql
> policy {
>
> check_validity {
That's... weird. The policies SHOULD go into raddb/policy.conf. Then, just use the policy name:
...
sql
check_validity
...
> but it seems doesnt' work
>
> ++[sql] returns ok
> ++- entering policy check_validity {...}
> expand: %l -> 1432057169
> +++[control] returns noop
> +++? if (Start_Time > control:System-Date)
Try using control:Start_Time. See the WIki for how the rlm_sql module works.
Alan DeKok.
More information about the Freeradius-Users
mailing list