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

Problem with "mail" attribute



Hi

I'm new to ldap and i having problems while adding an attribute. I can't add
the "mail" attribute to a person. (others classic attrib ok)

It returns an error that says (in output):
"ldap_add: Object class violation additional info: attribute not allowed "


(in syslog ):
"
Oct  3 21:17:41 desarrollo slapd[30048]: oc_check_allowed type "mail"
Oct  3 21:17:41 desarrollo slapd[30048]: Entry
(uid=cbote,ou=Users,dc=testldap,dc=com), att
r "mail" not allowed
Oct  3 21:17:41 desarrollo slapd[30048]: entry failed schema check:
attribute not allowed
Oct  3 21:17:41 desarrollo slapd[30048]: send_ldap_result: conn=5 op=1 p=3
Oct  3 21:17:41 desarrollo slapd[30048]: send_ldap_result: 65::attribute not
allowed
Oct  3 21:17:41 desarrollo slapd[30048]: send_ldap_response: msgid=2 tag=105
err=65
"

I've been reading the configuration manual, the schemas and seeing that the
mail attribute
is in the correct place (core.schema), but it looks like the slapd can't
find it.

My include lines are

include         /opt/openldap/etc/openldap/schema/core.schema
include         /opt/openldap/etc/openldap/schema/cosine.schema
include         /opt/openldap/etc/openldap/schema/nis.schema

The version of ldap -> openldap-2.0.4.tar


I tryed changes, add schema files, remove different files and have always
the same problem.

Any help will be appreciated.

Tranks you in advance

Carlos