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

Re: problem with ldif; please help

matthew sporleder writes:
> dn: dc=linux,dc=box
> ObjectClass: dcObject
> dc: linux
> structuralObjectClass:dcObject

eh, dcObject is not a structural object class.  This shouldn't work.
Each object needs one structural object class in its 'objectClass'
attribute, such as 'domain', 'organization' or 'organizationalUnit'.
(Stuffing dcObject into structuralObjectClass does not help.)

Thus, the simplest fix for that problem is to replace dcObject with
domain everywhere.  If you want a 'dc' member in an object with
objectClass 'organization' or 'organizationalUnit', you can use
'objectClass: dcObject' _in addition_ to that class.