using env in proxy.conf as the realm name
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
On Mar 22, 2024, at 7:20 AM, Andrei Katsuk <steep8@gmail.com> wrote:
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 ?
It supports them in places where they're documented to work. They don't work for module names. Alan DeKok.
participants (2)
-
Alan DeKok -
Andrei Katsuk