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

invalid credentials

Hello.I'm trying to deploy a LDAP server but when i try to add a new entry occurs an error (ldap_bind: invalid credentials)

The file sldap.conf is:

include /usr/local/openldap/core.schema

include /usr/local/openldap/inetorgperson.schema


pidfile /usr/local/var/slapd.pid

argsfile /usr/local/var/slapd.args


database ldbm

suffix   "o=Licensing System"


rootdn "cn=admin,o=Licensing System"

rootpw secret

directory /Corba/S-Licencias/openldap-ldbm


The ldif file is:

dn: o=Licensing System

o: Licensing Sytem

objectclass: organization

objectclass: top


dn: ou=Producers, o=Licensing System

ou: Producers

objectclass: organizationationalUnit

objectclass: top


Finally i use the ldapadd command to add these entries:

ldapadd -x -D "cn=admin,o=Licensing System" -w secret -f prueba.ldif


ldap_bind: Invalid credentials


What's wrong? I have been reading the FAQ and older message of this list and i haven't found any solution.