mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
docs(dex): Fix group search
The userAttr needs to be the full DN, otherwise the search does not work: ``` ❯ ldapsearch -x -H ldap://localhost:3890 -D "cn=admin,ou=people,dc=example,dc=com" -b "ou=groups,dc=example,dc=com" -W "member=bob" Enter LDAP Password: # extended LDIF # # LDAPv3 # base <ou=groups,dc=example,dc=com> with scope subtree # filter: member=bob # requesting: ALL # # search result search: 2 result: 53 Server is unwilling to perform text: Unsupported group filter: while parsing a user ID: Missing DN value # numResponses: 1 ```
This commit is contained in:
parent
7f76e2095d
commit
07523219d1
@ -27,6 +27,6 @@ connectors:
|
|||||||
baseDN: ou=groups,dc=example,dc=com
|
baseDN: ou=groups,dc=example,dc=com
|
||||||
filter: "(objectClass=groupOfUniqueNames)"
|
filter: "(objectClass=groupOfUniqueNames)"
|
||||||
userMatchers:
|
userMatchers:
|
||||||
- userAttr: uid
|
- userAttr: DN
|
||||||
groupAttr: member
|
groupAttr: member
|
||||||
nameAttr: displayName
|
nameAttr: cn
|
||||||
|
Loading…
Reference in New Issue
Block a user