3 Aug
2018
3 Aug
'18
9:31 a.m.
On Aug 3, 2018, at 9:25 AM, Simon Meggle <Simon.Meggle@consol.de> wrote:
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 ?
We're not going to add features to v2, sorry. It's enough work trying to maintain v3 and develop v4 at the same time. Alan DeKok.