invalid variable
Alan DeKok
aland at deployingradius.com
Tue Jun 4 20:10:35 CEST 2013
Stelian Ionescu wrote:
> This is from our configuration file:
>
> authorize_check_query="\
> SELECT id, inner_id, attribute, val, op \
> FROM radcheck(\
> COALESCE(NULLIF('%{Event-Timestamp}', ''), '%S')::timestamp with time zone,\
> '%{SQL-User-Name}',\
> '%{Realm}',\
> '%{Nas-Ip-Address}'::inet,\
> '%{Calling-Station-Id}'::macaddr,\
> parse_bssid(NULLIF('%{WiMAX-BS-Id}', '')),\
> COALESCE(NULLIF('%{WiMAX-PDFID}', ''), '0')::smallint);"
>
> additionally, the debug log shows that Event-Timestamp contains a valid value:
>
> rlm_perl: Added pair Event-Timestamp = Jun 4 2013 15:13:09 CEST
>
> So I guess that the error is in the xlat function.
It's hard for me to figure out just what is going on in that
expansion. Can you simplify it? Or point out *what* the error is?
Alan DeKok.
More information about the Freeradius-Devel
mailing list