The issue has been
fixed.
We need a blank line
between each object definition !
Cheers,
Philippe
From: higgins-dev-bounces@xxxxxxxxxxx
[mailto:higgins-dev-bounces@xxxxxxxxxxx] On Behalf Of Smadja Philippe
Sent: mercredi 5 janvier 2011 17:40
To: higgins-dev@xxxxxxxxxxx
Subject: [higgins-dev] pb initializing the higgins ldap database.
Dear developer,
I have a problem to initialize ldap
on Linux with openldap 2.0.27 and libgdbm.so.3
The database is empty - it is the
first access.
Running
ldapadd
-a –f org.ldif -x -D "cn=root" -w higgins
I got the error:
adding new entry "dc=org"
ldap_add:
Constraint violation
additional info: dc: multiple value provided
ldif_record()
= 19
Any idea ?? Do I have to run
something else before ORG.LDIF ?
Thanks for your help.
Philippe Smadja.
SLAPD.CONF
include
/usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/cosine.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
include
/usr/local/etc/openldap/schema/openldap.schema
include
/usr/local/etc/openldap/schema/higginsperson.schema
include
/usr/local/etc/openldap/schema/eperson.schema
pidfile
/usr/local/etc/openldap/run/slapd.pid
argsfile
/usr/local/etc/openldap/run/slapd.args
database
ldbm
suffix
""
rootdn
"cn=root"
rootpw
higgins
index objectClass
eq
ORG.LDIF
#
dn: dc=org
objectClass: domain
objectClass: top
dc: org
#
dn: dc=eclipse,DC=ORG
objectClass: domain
objectClass: top
dc: eclipse
#
dn:
dc=higgins,dc=eclipse,DC=ORG
objectClass: domain
objectClass: top
dc: higgins
#
dn: ou=identities,dc=higgins,dc=eclipse,DC=ORG
objectClass:
organizationalUnit
objectClass: top
ou: identities