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

Re: how to customise database fields



On Tue, 10 Oct 2000, Kurt D. Zeilenga wrote:

> At 03:17 PM 10/10/00 +0800, gary wrote:
> >dn: cn=Ali, dc=tstest, dc=aspiren, dc=com
> >cn: Ali Bin Ahmand
> >cn: Ali
> >sn: Ahamd
> >mail: ali@yahoo.com
> >telephoneNumber: 5896245
> >objectClass: person
> >
> >adding new entry "cn=Ali dc=tstest, dc=aspiren, dc=com"
> >ldap_add: Object class violation
> >        additional info: attribute not allowed
> 
> objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
>     MUST ( sn $ cn )
>     MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
> 
> Note that 'person' does not allow the attribute type 'mail'.
> Either remove 'mail' or make the objectclass 'inetOrgPerson'
> (or other class allowing 'mail').  

Don't forget to add the required schema files before you try to add the
objectclass 'inetOrgPerson'

You don't have support for it now.

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)