咨询osixia/phpLDAPAdmin Docker镜像的登录DN与密码
Login Credentials for phpLDAPAdmin with Your osixia OpenLDAP Setup
Hey there! Let's walk through exactly what you need to log into phpLDAPAdmin based on the commands you used to spin up your containers:
Password
The admin password is exactly what you set when launching the OpenLDAP container:
- Password:
mypw
This comes directly from the-e LDAP_ADMIN_PASSWORD=mypwflag in yourdocker runcommand for the osixia/openldap image.
Login DN (Distinguished Name)
The admin DN is built using the domain you specified in your OpenLDAP setup:
- Login DN:
cn=admin,dc=localhost
Here's the breakdown:- Your
LDAP_DOMAIN=localhosttranslates to the LDAP domain componentdc=localhost - The osixia/openldap image creates a default administrator account with the common name
cn=admin, so we combine that with the domain components to form the full, valid DN.
- Your
If you ever update your LDAP domain (say, to example.com later), the login DN would adjust to cn=admin,dc=example,dc=com to match the new domain structure.
内容的提问来源于stack exchange,提问作者user3629892
相关产品推荐
相关产品推荐

