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

Re: how to customise database fields



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').  

Kurt