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 control:System-Date for attribute Start_Time +++? if (control:Stop_Time < control:System-Date) Failed parsing "control:System-Date": Unknown value control:System-Date for attribute Stop_Time ++- policy check_validity returns noop but is strange expand: %l -> 1432061274 +++[control] returns noop for System-Date := "%l" ? 2015-05-19 20:43 GMT+02:00 Alan DeKok <aland@deployingradius.com>:
On May 19, 2015, at 2:35 PM, Franz Angeli <franz.angeli@gmail.com> wrote:
now i'm using:
ATTRIBUTE System-Date 3002 date ATTRIBUTE Start_Time 3000 date ATTRIBUTE Stop_Time 3001 date
You have to change the contents of the SQL database to contain dates, too.
Or, just leave the dictionary entries as "integer".
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html