mirror of
https://github.com/lldap/lldap.git
synced 2026-06-09 21:10:25 +00:00
Fixed a problem regarding User DN in SimpleAuth method
This commit is contained in:
@@ -9,7 +9,7 @@ Name your authentication source however you'd like.
|
||||
It is up to you to select your security protocol, but the only two compatible options are "LDAPS" and "Unencrypted".
|
||||
As your host, put in the IP or FQDN (if you have DNS).
|
||||
As your port, it is suggested to look into your config file. It will generally be 389 (unencrypted), 3890 (unencrypted, in default docker compose), 636 (LDAPS), 6360 (LDAPS, in default docker compose).
|
||||
Your User DN **has** to be equal to `uid=%s,ou=people,dc=example,dc=com`.
|
||||
Your User DN **has** to be equal to `uid=%s,ou=people,dc=example,dc=com`, except if you changed your Base DN. In that case, modify the two last parts to match it.
|
||||
It is recommended to have your user filter to be `(&(objectClass=person)(uid=%s))`.
|
||||
Your username attribute should be `uid`.
|
||||
Your Given Name attribute should be `givenName`.
|
||||
|
||||
Reference in New Issue
Block a user