Regex Ldap Group

Alan DeKok aland at deployingradius.com
Tue Feb 19 10:48:03 CET 2008


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.



More information about the Freeradius-Users mailing list