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

Re: Problem with "mail" attribute



On Wed, 4 Oct 2000, Carlos Bote wrote:

> 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 "

You can only use mail as attribute if you defined the objectclass
inetOrgPerson. For which you need to add the inetorgperson.schema as well
to your configuration.

I find grep a great tool to find such issues in the schema files. Just
goto the schema directory and type:
	grep -n mail *.schema|grep -v :# > mail-in-schema

And then read the mail-in-schema file to find the references of your
attribute.

Hugo.

-- 
Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
hvdkooij@caiw.nl	http://home.kabelfoon.nl/~hvdkooij/
--------------------------------------------------------------
Quoting this tagline is illegal! (http://www.dtcc.edu/cs/rfc1855.html)