On 4/29/22 19:44, [email protected] wrote:
After install the openldap (slapd) from Debian package repository
(using the version 2.4.57+dfsg-3~bpo10+1, database created by the
dpkg configuration script provide by apt), the admin user
(cn=admin,dc=example,dc=com) in could not be found either >
However, using ldapwhoami (ldapwhoami -vvv -h ldap.example.com -D
cn=admin,dc=example,dc=com -x -w password) can return a successful
result.
The rootdn of a database does not have to exist (and IMO should not
exist and should not be used except for initializing the directory).
result of ldapwhoami:
------------
ldap_initialize( ldap://localhost )
dn:cn=admin,dc=example,dc=com
Result: Success (0)
Looks good to me.
Ciao, Michael.