3 Aug
2018
3 Aug
'18
9:25 a.m.
Hello, I have the situation that the post-auth section of FREERADIUS 2.1.12 should differ in a few lines on the test and prod system. In version 3 I can make use of environment variables: post-auth { ... ... elsif ( "$ENV{HOSTNAME}" == "stest-sr-h00") { # DEV-replies elsif ( "$ENV{HOSTNAME}" == "sprod-sr-h01" || "$ENV{HOSTNAME}" == "sprod-sr-h02") { # PROD-replies fi Is there any chance to smuggle environment variables like $HOSTNAME into freeradius 2.x ? Thanks, Simon