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

Re: Is the Mozilla LDIF export bogus?



Hallvard B Furuseth wrote:

Your collected LDIFs should at minimum be something like this:

# entry matching your suffix in slapd.conf
dn: dc=something,dc=com
objectClass: top
objectClass: organization
objectClass: dcObject
dc: something
o: Some Organization


Is it important to have two dc= entries?
Where did you get the "objectClass: dcObject"?


# user entry
dn: cn=A User,dc=something,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson


shouldn't this be "organization", as in the previous entry?

The suffix entry must exist, otherwise you can't add entries below it,


Just to be sure, the suffix statement would be:
suffix "dc=something,dc=com"
Right?