docker-openldap icon indicating copy to clipboard operation
docker-openldap copied to clipboard

default credential

Open tomflenner opened this issue 3 years ago • 1 comments

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

tomflenner avatar Apr 06 '21 20:04 tomflenner

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)

koelle25 avatar Apr 08 '21 19:04 koelle25