Problem: ldap_bind: Invalid credentials (49)

Chatree Srichart <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Hi all..
I try to add ldif file but I found error:

ldap_bind: Invalid credentials (49)

I use Ubuntu 9.04

/etc/ldap/slapd.conf
==============
# Make sure you edit or add these directives after the first 'database'
directive.

suffix          "dc=example,dc=com"
directory       "/var/lib/ldap"
rootdn          "cn=admin,dc=example,dc=com"
rootpw          {SSHA}b7Jy+
04HxRvtDWbsZwsYuQrU7YTzFrWl

admin.ldif
==============
dn: dc=ceenet,dc=example,dc=com
objectclass: dcObject
objectclass: organization
dc: ceenet
o: CEENET Workshop 2001

dn:cn=Manager,dc=ceenet,dc=example,dc=com
objectclass: organizationalRole
cn: Manager


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?
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.