I may be wrong but it seems that you provide a password, but no associated DN... you request should look like:
ldapsearch -x -h crmsldap.agilent -p 389 -s base -b 'ou=people,dc=crmsldap,dc=company -D "cn=admin,dc=crmsldap,dc=company " "(&(objectClass=*))" -w admin +
On Wed, Aug 5, 2009 at 12:12 PM, Subbarao Karanam <gudikal_karanam@yahoo.com
wrote:
hello, 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...
Thanks Subbarao