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

Re: problem with ldif; please help



On 5/14/07, JOYDEEP <j.bakshi@unlimitedmail.org> wrote:
Dear list,

I like to have a multidomain structure in openLDAP. below is my ldif but
slapadd reports error because of the domain mis-configuration.
could any one kindly help me to fix the problem ?

-----------------------------------------------------------------------------
dn: dc=linux,dc=box
ObjectClass: dcObject
dc: linux
structuralObjectClass:dcObject

dn: o=kolkata.in,dc=linux,dc=box
objectClass: domain
o: kolkata.in
structuralObjectClass: domain

dn: ou=adrbook-kol,o=kolkata.in,dc=linux,dc=box
ou: adrbook-kol
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit

dn: ou=Users,o=kolkata.in,dc=linux,dc=box
ou: Users
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit

dn: ou=Groups,o=kolkata.in,dc=linux,dc=box
ou: Groups
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit


dn: o=delhi.in,dc=linux,dc=box objectClass: domain o: delhi.in structuralObjectClass: domain

dn: ou=adrbook-del,o=delhi.in,dc=linux,dc=box
ou: adrbook-kol
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit

dn: ou=Users,o=delhi.in,dc=linux,dc=box
ou: Users
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit

dn: ou=Groups,o=delhi.in,dc=linux,dc=box
ou: Groups
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit


You shouldn't need to specify the structuralObjectClass, as it should
be implied by the objectClass.  What errors do you get from ldapadd?