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?