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

Re: ldapsearch with password always returns invalid credentials

Subbarao Karanam wrote:
> When I did a ldapsearch always gives me "Invalid credentials Error".
> Really fed up about this as I'm not getting any help..
> ldapsearch -x -h crmsldap.agilent -p 389 -s base -b
> 'ou=people,dc=crmsldap,dc=company "(&(objectClass=*))" -w admin +
> ldap_bind: Invalid credentials (49)

You have to specify the bind-DN to which the password belongs with
command-line option -D. OpenLDAP's slapd can't guess...

Ciao, Michael.