19 Feb
2008
19 Feb
'08
4:48 a.m.
Rohaizam Abu Bakar wrote:
I tried to do regex match in Ldap-Group. From below users file, The "NAS-Identifier" regex works OK but for Ldap-Group match, it's not working as below DEBUG log.
It doesn't work like that. The match is "IF the user is in the named group". See src/modules/rlm_ldap/rlm_ldap.c, function ldap_groupcmp(). If you want it to do a regex match, you'll have to modify the code in rlm_ldap. Alan DeKok.