Wrong Group-filter
-
Dear all,
I’ve been messing around and a lot to achieve correct group mapping, and I think I’ve unsuccessfully tried every possible combianation…
I’m trying to log with a user testwpediteur which belongs to wpediteur group. I’ve mapped Editor with wpeditor in configuration.
Here is what says error.log :
- testwpediteur logging in
- about to do LDAP auuthentication
- connect to LDAP server
- LDAP authentication successfull
- Array\n( … [editor] => wpediteur\n …)\n
- Group filter : “(&(objectClass=groupOfNames)(member=uid=%s,ou=people,dc=annuaire.prepasbio,dc=org))”
- LDAP Groups : []
- Role from LDAP Group : ,
- Role from group mapping: ,
- No group found in …
So far, the connection part is OK, but, clearly, my Group filter is not the good one, and I’m looking for the magic formula.
When I search ldap from my server, here is what I code:
ldapsearch -LLL -D "uid=XXX,ou=people,dc=annuaire.prepasbio,dc=org" -W -b "dc=annuaire.prepasbio,dc=org" "(&(objectClass=groupOfNames)(member=uid=testwpediteur,ou=people,dc=annuaire.prepasbio,dc=org))" cn
and what I get:
dn: cn=membresupa,ou=groups,dc=annuaire.prepasbio,dc=org cn: membresupa dn: cn=wpediteur,ou=groups,dc=annuaire.prepasbio,dc=org cn: wpediteur
Last bytes in the configuration screen:
- I’ve checked “LDAP Groups override role of existing users?”
- Group-Attribute: cn
- Groue filter : (&(objectClass=groupOfNames)(member=uid=%s,ou=people,dc=annuaire.prepasbio,dc=org))
- Editeur : wpediteur
I hope there’s enough matter for anyone to guess the magic formula : many thnaks for people’s help !
Best regards,
JMarc
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Wrong Group-filter’ is closed to new replies.