heiglandreas / authLdap

LDAP-Authentication for WordPress
http://andreas.heigl.org/cat/dev/wp/authldap/
MIT License
69 stars 37 forks source link

Group list always empty #150

Closed thekoma closed 1 year ago

thekoma commented 6 years ago

Debug on: [25-Feb-2018 22:41:27 UTC] [AuthLDAP] Group Filter: "(&(objectClass=posixGroup)(memberUid=%s))" [25-Feb-2018 22:41:27 UTC] [AuthLDAP] LDAP groups: []

But the same command executed via commandline returns other data: ldapsearch -H ldap://auth01.mydomain.it:389 -x -D "uid=reader,cn=users,cn=accounts,dc=ipa,dc=mydomain,dc=it" -W -b "dc=ipa,dc=mydomain,dc=it" -s sub -a always "(&(objectClass=posixGroup)(memberUid=koma))" "cn"

[SNIP]

# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4
thekoma commented 1 year ago

Forgot about this bug. Has been duplicated?