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

Error "invalid credentials" :I've tried much but it remains


when I type : 
$ ldapadd -D "cn=Manager,dc=omr,dc=fr" -f modif.ldif
I enter my password (secret), and I always get the
following error :
$ ldap_bind: invalid credentials

I've tried to change the order of the parameters but
the error remain. 
And if I type : $ ldapadd -f modif.ldif 
I've got this error : 
$ adding new entry dc=omr,dc=fr
$ ldap_add: no such object

I don't understand because my DN is well declared and
I tried all the afternoom the solutions I've found on
the Internet. So I really need someone's help.

Thank you in advance.


# Slapd.conf

   include /usr/local/etc/openldap/schema/core.schema

   pidfile /var/run/slapd.pid
   argsfile /var/run/slapd.args

   sizelimit 500
   timelimit 3600

   dbcachesize 100000

   database ldbm

   suffix "dc=omr,dc=fr"
   rootdn "cn=Manager,dc=omr,dc=fr"
   rootpw secret

   directory /usr/local/var/openldap-ldbm/

  schemacheck off 

  access to * 
	by self write 
	by anonymous auth 
	by "dn=cn=Manager,dc=omr,dc=fr" write 
   	by * read 

# modif.LDIF :

dn: dc=omr,dc=fr
objectClass: dcObject
objectClass: organization
dc: omr
o: omr
description : omr corporation

dn: cn=Manager,dc=omr,dc=fr
objectClass: organizationalRole
userPassword: secret
cn: Manager
sn: Manager
description: Directory Manager

Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.fr