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

RE: error -invalid credentials



Sachin,
    Please read something abt. LDAP first

Objectclass organization requires 'o'  (MUST)
Objectclass organization requires 'cn' & 'sn' (MUST)

I am sure u must have also wrongly configured slapd.conf....... Also send ur
database definition


dn:o=musicurry, c=IN
objectclass:organization
o:my organization

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

Regards
Ravi


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Sachin Garg
Sent: Thursday, September 21, 2000 2:30 PM
To: openldap-software@OpenLDAP.org
Subject: 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.