mirror of
https://github.com/rroemhild/docker-test-openldap.git
synced 2026-04-25 07:05:50 +03:00
[GH-ISSUE #1] Cannot login users (people) with documented password #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-test-openldap#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @piwi91 on GitHub (Oct 26, 2016).
Original GitHub issue: https://github.com/rroemhild/docker-test-openldap/issues/1
For testing purposes, I use this docker container to test LDAP authorization but the documented password is invalid and will result in a error 49 "invalid credentials".
Reproduce:
docker exec <containername> ldapsearch -b "dc=planetexpress,dc=com" -D "uid=professor,dc=planetexpress,dc=com" -h ldap -w professorWill result in:
ldap_bind: Invalid credentials (49)@piwi91 commented on GitHub (Oct 26, 2016):
I figured out that the BIND DN is more important than I thought: http://stackoverflow.com/questions/18177486/login-to-ldap-with-uid-instead-of-cn-in-dn-input?answertab=votes#tab-top
After changing the DN to
cn=Philip J. Fry,ou=people,dc=planetexpress,dc=comit worked as expected.