docker-openldap
docker-openldap copied to clipboard
default credential
hello, what is the default credential when LDAP_BASE_DN is empty ?
i tried my LDAP_DOMAIN value and i cant connect, maybe i dont understand something about Login DN part on the phpldapadmin ?
Thanks
Hi,
afaik the LDAP_DOMAIN value will be split on each .
(dot) and each part will become a dc=...
.
For example if you set your LDAP_DOMAIN to mycooldomain.com
the LDAP_BASE_DN will become dc=mycooldomain,dc=com
.
Then you can bind with the following DN for the admin user: cn=admin,dc=mycooldomain,dc=com
(and using the LDAP_ADMIN_PASSWORD)