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

error -invalid credentials



i have tried re-installing ldap , but whenever i try to add an entry
ldapadd -f /tmp/newentry  -D "cn=sachin,dc=musicurry,dc=IN" -w secret
i get the same error :  
ldap_bind: Invalid credentials 
my slapd.conf looks like this:
database ldbm
     suffix "dc=musicurry, dc=IN"
     rootdn "cn=sachin, dc=musicurry, dc=IN"
     rootpw  secret
     directory  /usr/local/var/openldap-ldbm/
     index cn
and the /tmp/newentry looks like this:
dn:o=musicurry, c=IN
objectclass:organization
description:my organization

dn:cn=parvez,o=musicurry,c=IN
objectclass:person
sn:lanewala
 
please help.