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

Object class violation

I don't know if this has been up before, in that case i'm sorry.
I'm trying to add a ldif-file with the command ldapadd and get this error mesage.
ldap_add: Object class violation
	additional info: attribute not allowed

This is how the ldif looks like
dn: cn=Mag Jonsson, ou=addressbook, o=routing
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Mag Jonsson
cn: Mange Jonsson
sn: Jonsson
mail: mjo48@hotmail.com

i know it's the mail attribute that gives me the problem but i don't see why.
I have included in slapd.conf:
include		/usr/local/etc/openldap/schema/core.schema
include		/usr/local/etc/openldap/schema/cosine.schema
include		/usr/local/etc/openldap/schema/inetorgperson.schema

Regards Magnus

Här börjar Internet!
Skaffa gratis e-mail och gratis Internet på http://www.spray.se