using env in proxy.conf as the realm name

Andrei Katsuk steep8 at gmail.com
Fri Mar 22 11:20:25 UTC 2024


Hello,
I tried to define realms in proxy.conf in following way:

realm $ENV{DOMAIN_NAME} {
}

realm $ENV{NETBIOS_NAME} {
}

but FreeRADIUS shows error during the start :
etc/raddb/proxy.conf[7]: Parse error after "DOMAIN_NAME": unexpected token "}"

Does FreeRADIUS support environmental variables ?

Thanks,
Andrei


More information about the Freeradius-Users mailing list