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

Adding multiple entries defined in ldif to ldap..?

Hi there,

I am trying to add multiple contexts to the LDAP-Server. My file test.ldif
is defined like:

dn: dc=example,dc=com
objectclass: top
objectclass: dcObject
objectclass: organization
o: example
dc: example

dn: ou=addressbook,dc=example,dc=com
objectclass: top
objectclass: organizationalUnit
ou: addressbook

The command I am using is:

ldapadd -W -f ./users/vapuser.ldif -x -D

Where " cn=Manager,dc=example, dc=com" is the defined rootdn...

The console output is:

Enter LDAP Password:
adding new entry " dc=example,dc=com"

Why is the second entry in the ldif file not added?