-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hello,
I'm using 2.4.23 packaged from Debian (2.4.23-7.2) and I'm trying to combine autogroup and memberof. autogroup (and dynlist) seems to be working, but it seems that memberof fails. :-(
In terms of slapd.conf I load the modules memberof, dynlist and autogroup, the relevant configuration:
overlay memberof memberof-refint TRUE
overlay dynlist dynlist-attrset groupOfNames labeledURI member
overlay autogroup autogroup-attrset groupOfURLs memberURL member
I created the following test group:
dn: cn=TEST,ou=Groups,dc=hpp,dc=org,dc=br cn: TEST memberURL: ldap:///ou=People,dc=hpp,dc=org,dc=br?member?sub?(gidnumber=1000) gidNumber: 12345 objectClass: groupOfURLs objectClass: top objectClass: posixGroup
It correctly lists all the users with gidnumber 1000, I'm planning to change the filter to have a group of users from different groups.
If I try to search per membership: ldapsearch -LLL -x memberof=cn=TESTE,ou=Groups,dc=hpp,dc=org,dc=b
Nothing returns. :-(
In other groups where I have a member field added statically, the memberof query works as expected. Am I missing something?
Thanks in advance! Kind regards, - -- Felipe Augusto van de Wiel felipe.wiel@hpp.org.br Tecnologia da Informação (TI) - Complexo Pequeno Príncipe http://www.pequenoprincipe.org.br/ T: +55 41 3310 1747