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

RE: invalid credentials



Vadiraj,

Two questions:
Did you add the rootpw in your configuration file ?
Why do you add the entry "cn=manager,c=in" ?

You should add first the root entry, i.e. the one with the suffix "c=in",
but it seems strange to me that you will install a directory for the whole
domain "in", it would be normal to create a domain "o=myEnterprise, c=in"
or "dc=myEnterprise, dc=in"

In order to understand better what's going on launch the slapd daemon with
-d 10 , look at the output and launch in another window the command:

ldapmodify -D "cn=manager,c=in" -W

Be however sure to use the commands you installed. Sometimes the OS is
shipped with ldap, therefore it happens that you use a different ldap tool
you are thinking to use.

Hope this helps
Best
Reinhard


-----Original Message-----
From: Vadiraj C S [mailto:vadiraj@mail.cyberneme.com] 
Sent: mercoledì 7 gennaio 2004 13.51
To: openldap-software@OpenLDAP.org
Subject: invalid credentials



Hello Everyone!!

  I just installed openldap on my system running RH7.1 when I try to add an
entry to the LDAP server I get invalid credentials error. what could be the
error.

I did the these things before I did ldapadd

included core.schema and inetorgperson.scheam to slapd.conf

suffix	"c=in"
rootdn "cn=manager,c=in"

I did ldapadd now with ldif file containing 
dn: cn=manager, c=in
cn: manager
objectclass: person

$ldapadd -f <ldif file> -D "cn=manager,c=in" -w <passwd> -x

this throws ldap_bin invalid credentials..

 where do you think I;ve done a mistake, please Help me in this,

Thanks in Advance 




-- 
	Regards
	Vadiraj C S