Group query failure
-
I’ve got my users in a wordpress group, but I’m having some trouble between the query that’s supposed to be executed and what the LDAP server actually sees.
The query that ought to happen is:
(&(uid=USERNAME)(|(memberOf=cn=wordpress,ou=Groups,dc=example,dc=edu)(memberOf=cn=itadmin,ou=Groups,dc=example,dc=edu)))While the LDAP server actually sees:
<snip> filter="(&(uid=USERNAME)(|(?memberOf=cn=wordpress,ou=Groups,dc=example,dc=edu)(?memberOf=cn=itadmin,ou=Groups,dc=example,dc=edu)))"note the presence of the question marks.
I’ve tried the following experiments:
- Changed
$strFilterQuery .= '(memberOf='to$strFilterQuery .= '(zmemberOf=' - The ‘z’ shows up where expected
- Changed
$strFilterQuery .= '(memberOf='to$strFilterQuery .= '((memberOf='(wrapped in a set of parens. Other side is the fixed accordingly) - Groups are ignored, any LDAP user can log in
Any suggestions? Thanks!
- Changed
The topic ‘Group query failure’ is closed to new replies.