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

ldapsearch with password always returns invalid credentials

When I did a ldapsearch always gives me "Invalid credentials Error". Really fed up about this as I'm not getting any help..

When I did  a ldapsearch with

ldapsearch -x -h crmsldap.agilent -p 389 -s base -b 'ou=people,dc=crmsldap,dc=company' "(&(objectClass=*))"
# extended LDIF
# LDAPv3
# base <ou=people,dc=crmsldap,dc=company> with scope base
# filter: (&(objectClass=*))
# requesting: ALL

# people, crmsldap.agilent
dn: ou=people,dc=crmsldap,dc=company
objectClass: top
objectClass: organizationalUnit
ou: people

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Second Command

ldapsearch -x -h crmsldap.agilent -p 389 -s base -b 'ou=people,dc=crmsldap,dc=company "(&(objectClass=*))" -w admin +
ldap_bind: Invalid credentials (49)

Can you please help me where is the problem...Attached is the slapd.conf, my users ldif file...


Attachment: caaf_users.ldif
Description: Binary data

Attachment: slapd.conf
Description: Binary data