26 Aug
2015
26 Aug
'15
10:47 a.m.
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