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

Re: ldap_add: Object class violation



Hello!

The mistake might be that you are trying to an attribute of the type "mail" to an entry that has the objectclass "organizationalRole".

Look at http://ldap.hklc.com/objectclass.html?objectclass=organizationalRole to see what the standard objectclass "organizationalRole" allows you to add.

You cna of course modify the schema definition accordingly or turn of schemackecking in the slapd.conf.

Marian


lin s wrote:

hi all,

I try to add a entry using ldapadd ,but  it give  the
following
error.

ldap_add: Object class violation
       additional info: attribute not allowed

Where am i going wrong?
could help pls.