View Single Post
  #15 (permalink)  
Old 06-29-2007, 01:32 PM
folioguru folioguru is offline
Partner (VAR/HSP)
 
Posts: 38
Default Invalid creditionals (49)

When I run
Quote:
ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f sbnet02.ldif
Enter LDAP Password:
I enter my password, and don't have a problem. However, when I enter this:
Quote:
[root@db workarea]# ldapsearch -H "ldap://example.com" -D 'dc=example,dc=com' -x -W
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
I entered the password in /etc/openldap/slapd.conf using the crypt format:
Quote:
rootpw {crypt}ijFYNcSNctBYg
In slapd.conf, certificate, security and access control entries are all commented out (so, I presume, defaults are used). Don't understand why password works locally, but not when using ldap:// uri.

Any suggestions?
Reply With Quote