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

Re: Unable to run ldapsearch



On Wednesday 19 March 2008 15:40:13 Kevin Kim wrote:
> I did same option as ldapadd, but I am not getting any output.
>
> /opt/bin/ldapsearch -Z -x -W -D "ou=People,dc=myorg,dc=com"
> "(objectclass=*)"
> Enter LDAP Password:

Generally, debugging at the client side is not useful if you know exactly what 
the client was trying, the error:

> ldap_bind: Invalid credentials (49)

is sufficient.

So, to me it looks like ou=People,dc=myorg,dc=com does not have the password 
you think it does, or the access controls to userPassword are too strict, or 
the password hash you are using is not supported by your build.

At this point it's probably best asking how you compiled slapd (what configure 
options, what linker flags you used).

Regards,
Buchan