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

unrecognized objectClass 'domain'


Please be patient with me. I'm a complete ldap newbie. I cannot figure
out why I have this problem:

sentinel:/etc/openldap/ldif # slapadd -v -l seaan.struct.ldif
added: "cn=root,dc=seaan,dc=net" (00000001)
slapadd: dn="o=seaan.net ag,dc=seaan,dc=net" (line=17): (65)
unrecognized objectClass 'domain'

seaan.struct.ldif looks like this:

dn: cn=root, dc=seaan, dc=net
cn: root
description: Directory Manager
description: Verzeichnis-Manager
objectClass: organizationalRole
objectclass: top
roleOccupant: cn=Philipp Snizek,ou=mailaccounts,dc=seaan,dc=net

dn: o=seaan.net ag,dc=seaan,dc=net
objectclass: top
objectclass: domain
objectclass: organization
o: seaan.net ag
l: Reinach
postalcode: 5734
streetaddress: Europastrasse 7

dn: ou=mailaccounts,o=seaan.net ag,dc=seaan,dc=net
objectclass: top
objectclass: organizationalunit
ou: mailaccounts

dn: cn=Philipp Snizek,ou=mailaccounts,o=seaan.net ag,dc=seaan,dc=net
objectclass: top
objectclass: person
objectclass: organizationalperson
objectclass: inetorgperson
cn: Philipp Snizek
sn: Snizek
ou: mailaccounts
userpassword: {SSHA}adfasdf0349tg83

Thank you