[KLUG Members] Users stored in OpenLDAP accessing and
changingtheir data
Komal
agencies_ad1 at sancharnet.in
Wed Jul 27 16:34:30 EDT 2005
> > However, when I run this binding as some user in LDAP I get an
> > "Invalid credentials" error message.
> > jupiter:~# ldapsearch -x -D
> > "cn=sudhakar.chandra,ou=people,dc=foo,dc=com" -W -h localhost
> > "(objectclass=inetOrgPerson)" *Enter LDAP Password:
> > ldap_bind: Invalid credentials (49)
> > Any help appreciated.
>
> 49 pretty much means the bind dn is wrong or the password is incorrect.
> How did you set the password? Using ldappassword? Or manually? If
> manually did you include the cryptographic prefix?
Turns out that my binding dn was incorrect. My user's were stored with
a dn that looks like dn: uid=sudhakar.chandr,ou=people,dc=foo,dc=com.
Once I fixed that things worked well.
Regards
Komal
More information about the Members
mailing list