Score:0

Admin user not show under base dc after setup openldap on debian

ar flag

After install the openldap (slapd) from Debian package repository (using the version 2.4.57+dfsg-3~bpo10+1), I could not found the admin user (cn=admin,dc=company,dc=com) in the phpldapadmin dashboard. I also tried using Apache Directory Studio to access the LDAP directory, still couldn't find the admin user.

screenshot of empty entry under my dc

However, using ldapwhoami (ldapwhoami -vvv -h ldap.company.com -D cn=admin,dc=company,dc=com -x -w password) can return a succesful result, using the admin user can also be able to log in into the phpldapadmin dashboard (which may indicates that the admin user is successfully created?).

So how could I configure the openldap or phpldapadmin to find the admin user in order to edit its attributes?

A similar issue can be found here: https://github.com/osixia/docker-openldap/issues/555

SparkC avatar
ar flag
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,<suffix> 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) https://lists.openldap.org/hyperkitty/list/[email protected]/thread/T5RU5RUW4KU4MM33TA6BXP77446SG7Q4/ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821331
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.