mirror of
https://github.com/rroemhild/docker-test-openldap.git
synced 2026-04-25 07:05:50 +03:00
[GH-ISSUE #4] Only anonymous authentication enabled ? #1
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#1
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 @k1n0b0n on GitHub (Aug 22, 2018).
Original GitHub issue: https://github.com/rroemhild/docker-test-openldap/issues/4
Hi, I'm trying to use you docker image to setup a quick ldap authentication !
I did successfully run a container and can access it's data when i login anonymously through phpLDAPadmin, though i cannot access it with my app because it requires a username and a password for the root DN.
Is there a way you could help me with that please ?
Thanks a lot for this repository and for you attention !
@rroemhild commented on GitHub (Aug 22, 2018):
Hi, I can't reproduce your problem. Can you post any logs from the container? I've just tried the login with ldap-tools:
@k1n0b0n commented on GitHub (Aug 24, 2018):
Hello, I will try to provide you with an example of what I'm trying to do and logs too.
Thanks for you quick answer !
@montetitan commented on GitHub (Jun 9, 2020):
docker run --env LDAP_ORGANISATION="people" --env LDAP_DOMAIN="planetexpress.com" --env LDAP_ADMIN_PASSWORD="admin" --privileged -p 389:389 -p 636:636 --name my-openldap-container --detach rroemhild/test-openldap
how do i make
ldapwhoami -v -x -h localhost -D "ou=people,dc=planetexpress,dc=com" -w hermes work? or any other user for that matter?
@rroemhild commented on GitHub (Jun 9, 2020):
-wis the password for the user entry DN set with-D.You have to use the DN from a user entry to login, i.e. for the user hermes:
for amy:
@montetitan commented on GitHub (Jun 11, 2020):
my issue is jxplorer gets the data via anonymous,

but if i give hermes/hermes or fry/fry via (user+password) it doesnt work,
any way to get it working for user+password?
attached screenshot as well,
anonymous gets me everything but im trying to login via the members and it fails
@rroemhild commented on GitHub (Jun 11, 2020):
hermes ist not the User DN. hermes is the value of the attribute uid. If you want to authenticate with user+password you need to perform an ldap search (uid=hermes) to get the DN for the entry that matches the search and then authenticate with DN+password.