Re: Problem: ldap_bind: Invalid credentials (49)

Philip Guenther <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
On Tue, 5 Jan 2010, Chatree Srichart wrote:
> I try to add ldif file but I found error:
> 
> ldap_bind: Invalid credentials (49)
...
> rootpw          {SSHA}b7Jy+
> 04HxRvtDWbsZwsYuQrU7YTzFrWl

The 'rootpw' line was split in your email; it's not really split in your 
slapd.conf, is it?  How did you generate the value in your slapd.conf?

...
> I following command:
> ===============
> 
> $ ldapadd -x -h localhost -D cn=admin,dc=example,dc=com -W -f admin.ldif
> Enter LDAP Password: xxxxx
> ldap_bind: Invalid credentials (49)
> 
> Can any one help me?

(The -h option is deprecated; use "-H ldap://localhost" instead.)

You're sure the password you typed matches what you gave to the program 
you used to generate the value in the slapd.conf?


Philip Guenther
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.