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
Eh, you're probably missing bind dn (username) to log on
-D "cn=adminUser,ou=people,...,dc=company" -w secretpassword
regards, P.
On Wed, 5 Aug 2009, Subbarao Karanam 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
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.
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
openldap-software@openldap.org