[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Authenticating against slapd installed from package

Marc Tardif <marc@interunion.ca> writes:

> I have installed OpenLDAP 2.2.26 from package on Ubuntu 6.06 LTS. The
> postinst script prompts for a password to create an admin user. However,
> when I try to run the ldapsearch command as the admin with that password, I
> get the following error message:
>   $ ldapsearch -x -w password -D "cn=admin,dc=nodomain" '(objectclass=*)'
>   ldap_bind: Invalid credentials (49)
> It seems that the binddn is listed on the database. Here is the relevant
> output from the slapcat command:

I do hope that binddn is not rootdn, otherwise it would be a rather
bad idea.

> So, any ideas what I might be doing wrong?

The password is stored as crypt hash, is slapd linked with libcrypt?


Dieter Klünter | Systemberatung