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

OpenLDAP - cant bind to dn


I have setup OpenLDAP and initialised it with the attached ldif.
I used the command -

slapadd -l init_ldap.ldif

I then started up OpenLDAP, now if I try and do the following search using ldapsearch and give it the password "oocltd" (which is what I specified as userPassword in init_ldap.ldif) I get an error message about invalid credentials but I dont understand why as I think the dn and password are correct as specified in init_ldap.ldif -

# ldapsearch -v -x -D cn=admin,dc=otterycomputers,dc=com -W
ldap_initialize( <DEFAULT> )
Enter LDAP Password: /oocltd/
ldap_bind: Invalid credentials

What am I doing wrong here?

Cheers Adam Retter