Could someone tell me what the syntax error on the Proxy-To-Realm line is please? preacct { detail suffix if ((Proxy-To-Realm = DEFAULT) && (User-Name =~ /.*@.*.domain.tld$/)) update control { Proxy-To-Realm := NULL } } /usr/local/freeradius/sbin/radiusd -X: /usr/local/freeradius/etc/raddb/sites-enabled/eduroam[23]: Parse error in condition at: (Proxy-To-Realm = DEFAULT) && (User-Name =~ /.*@.*.domain.tld$/)) Errors reading /usr/local/freeradius/etc/raddb/radiusd.conf
Mike Diggins wrote:
Could someone tell me what the syntax error on the Proxy-To-Realm line is please?
$ man unlang
preacct { detail suffix if ((Proxy-To-Realm = DEFAULT) && (User-Name =~
'=' is not a comparison operator. You need an opening brace '{' on the line, too. Alan DeKok.
participants (2)
-
Alan DeKok -
Mike Diggins