if statement in config file

Edgars edzix19 at inbox.lv
Thu Jun 2 13:49:45 CEST 2005


Testing passwd files i've found out the following - the final decision 
whether to accept or not the user depends on the Username and password 
file. If i have another file where i'm cheching Realm and NAS-IP-Address 
attributes, then the RADIUS is discarding it although the name of this 
rlm_passwd is placed before the one checking the password. How should i 
proceed in this situation. Maybe there is some IF statement allowed in 
the radiusd.conf? So I could write:
------------
1stpasswd
if result_of (1stpasswd) = 1 then
    2ndpasswd


Edgars
   



More information about the Freeradius-Users mailing list