[Date Prev][Date Next] [Chronological] [Thread] [Top]

error add file



hi ther i try follow step in
:http://www.openldap.org/doc/admin21/quickstart.html ,
Now, you may run ldapadd(1) to insert these entries into your directory.
ldapadd -x -D "cn=Manager,dc=<MY-DOMAIN>,dc=<COM>" -W -f example.ldif
and i  get error like this :
[root@pim bin]# ./ldapadd -x -D "cn=Manager,dc=pg,dc=com" -W -f
/usr/local/openldap/exsample.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
[root@pim bin]#
here my slapd.conf
database        bdb
suffix          "dc=pg,dc=com"
rootdn          "cn=Manager,dc=pg,dc=com"
rootpw          secret