Open lupa95 opened 3 years ago
I’m seeing the same thing in that the admin user does not appear to be configured out of the box under cn=admin,dc=example,dc=com. Issue #579 also shows the same.
Is this intended or a bug in the 1.5 image?
I’m seeing the same thing in that the admin user does not appear to be configured out of the box under cn=admin,dc=example,dc=com. Issue #579 also shows the same.
Is this intended or a bug in the 1.5 image?
Encountered similar problems and asked this question on the mail list of LDAP, according to their answer, such issue may occurred by the config change on the slapd package in Debian.
openldap (2.4.51+dfsg-1) unstable; urgency=medium [...]
- Remove the redundant cn=admin,
entry from the default DIT for new installs. For new installs going forward, the root credentials will be stored in olcRootDN/olcRootPW only. (Closes: #821331) This change was done to address the issue where the admin's password was stored in two places (olcRootPW and the entry's userPassword), which occasionally caused confusion if only one of the two was changed. Ryan Tandy (Quote from the openldap maillist)
Is there any solution to this problem now? When I use version 1.4.0, the problem disappears
Issue: Since version 1.5.0 executing
ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin
against a fresh openldap container should show#numEntries: 2
according to the Quick Start section in the README. But the admin user is missing, so it only shows one entry (the domain entry).Setting
LDAP_DOMAIN
andLDAP_ORGANISATION
via env vars does not change this behavior.How to reproduce:
Run ldapsearch against fresh containers with version 1.4.0 and 1.5.0 to see the different output.
Is this intended?