Open AlbertShamsiyan opened 6 years ago
After some digging. docker run --env LDAP_ADMIN_PASSWORD=JonSn0w --detach osixia/openldap:1.2.0 will work. Adding LDAP_ORGANISATION or LDAP_DOMAIN will cause the issue (regardless to special characters)
@AlbertShamsiyan change -D
parameter value according to what is set in LDAP_DOMAIN
.
@adaqus It works!
Hi
Executing:
docker exec my-openldap-container ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin
followed by:docker run --name my-openldap-container --detach osixia/openldap:1.2.0
will resultYET, executing:
docker exec happy_curie ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w JonSn0w
Ordocker exec happy_curie ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w "JonSn0w"
Followed bydocker run --env LDAP_ORGANISATION="My Company" --env LDAP_DOMAIN="my-company.com" --env LDAP_ADMIN_PASSWORD="JonSn0w" --detach osixia/openldap:1.2.0
Will result:Any idea what I'm missing ?