I have the same problem here with slapd 2.2.26-5ubuntu2.2 on Ubuntu
6.06.1 LTS. I am prompted for a password (and confirmation of the
password) when installing the package, but this password does not work
for the created admin user (cn=admin,dc=nodomain)

Using "strings" on id2entry.db I found and cracked the password that it
stored for my admin user. Turns out it is a blank password. This is
repeatable, happens every time I install the slapd package.

A workaround to get a usable directory:

The problem is that you cannot authenticate with a blank password. I get

ldap_bind: Server is unwilling to perform (53)
        additional info: unauthenticated bind (DN with no password) disallowed

To get around this, I added

rootdn "cn=admin,dc=nodomain"
rootpw "changeme"

to /etc/slapd.conf and restarted slapd. Then I used ldappasswd to set a
new password for my admin user:

ldappasswd -x -D cn=admin,dc=nodomain -w changeme

Then I removed rootdn & rootpw from slapd.conf and restarted slapd
again, and was able to continue with my new password.


-t

-- 
admin password set by debconf during install is not valid
https://bugs.launchpad.net/bugs/66925
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to