Unlang Question freeradius 3.0.9
Anja Ruckdaeschel
Anja.Ruckdaeschel at rz.uni-regensburg.de
Wed Aug 26 16:47:10 CEST 2015
Hi there,
we used code like this in unlang policies with freeradius 2.x
if (Ldap-Group == "%{control:My-Group-Name}" )
{
do something
}
With freeradius 3.0.9 it is expanded correctly but the comparison returns false and the ldap group check is not involved.
EXPAND %{control:My-Group-Name}
--> cn=mygroup,ou=myou,o=myo,c=de
if (Ldap-Group == "%{control:My-Group-Name}" ) -> FALSE
if (Ldap-Group == "cn=mygroup,ou=myou,o=myo,c=de" ) starts the check and evaluates to true.
Is there a new/another syntax for the expansion in a comparison?
Thanks, Anja
More information about the Freeradius-Users
mailing list