Thx Dieter, that seemed to be the problem... objectclass inetLocalMailRecipient wasn't needed at all :/
2008/7/17 Dieter Kluenter dieter@dkluenter.de:
"John Kellen" jkellen@vub.ac.be writes:
hi,
chaning the order of the *.schema inside slapd.conf didn't help... can someone tell me what is wrong about this ldif format/slapd.conf....
:/
LDIF: dn: cn=fbar,ou=People,dc=vub,dc=ac,dc=be
objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: inetLocalMailRecipient objectClass: shadowAccount
uid: fbar sn: Bar givenName: Foo cn: fbar userPassword: {crypt}56juWXAises5F loginShell: /bin/sh uidNumber: 14201 gidNumber: 20744 homeDirectory: /u/fbar gecos: Foo Bar mail: fbar@vub.ac.be displayName: Foo Bar
Is this (with empty lines) your original ldif file?
[...]
> I have the following configured in slapd.conf > # Schema and objectClass definitions > include /etc/ldap/schema/core.schema > include /etc/ldap/schema/cosine.schema > include /etc/ldap/schema/nis.schema > include /etc/ldap/schema/inetorgperson.schema > include /etc/ldap/schema/openldap.schemaµ
You have included objectclass inetLocalMailRecipient, which is described in misc.schema, but you have neither added any attribute of this objectclass nor have you included misc.schema
-Dieter
-- Dieter Klünter | Systemberatung http://www.dkluenter.de GPG Key ID:8EF7B6C6