[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Mail Attribute
"Mark A. Fowler" wrote:
>
> Hello,
>
> Have set up openldap 2.0.18 on Redhat 7.2. Have successfully added
> entrys using ldapadd except for I am unable to add the mail attribute. I
> added a record with a telephonenumber attribute but cannot add the mail
> attribute. Here is a copy of the telephonenumber record imported from my
> ldif file:
>
> dn: cn=User,dc=mydomain,dc=com
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> sn: LAstName
> cn: Common Name
> telephonenumber: 111-111-1111
>
> This record imported with no problem.
>
> When I try to import the following record I get an error stating
> "attribute mail not allowed":
>
> dn: cn=User,dc=mydomain,dc=com
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> sn: LastName
> cn: Common Name
> mail: username@domain.com
>
> Any help would be greatly appreciated.
>
> Sincerely,
>
> Mark A. Fowler
Mail is an optional attribute of the InetOrgPerson objectclass. See
http://www-eleves.int-evry.fr/~deckmyn/docs/LDAP-ObjectClasses.html
Dave
--
Dave Lewney
Principal Systems Programmer, Computing Service
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273
271956