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

Re: ldif2ldbm



At 10:06 AM 8/5/99 -0400, Alex Turner wrote:
>However.. ldapadd.  I enter the following:
>[root@blahblah openldap]# ldapadd
>dn: cn=Test Me, o=fish, c=US
>cn: Test Me
>sn: Me
>email: testme@testme.com
>objectclass: person
>
>and I get...
>
>adding new entry cn=Test Me, o=fish, c=US
>ldap_add: Object class violation

Try without the "email: testme@testme.com".  The person objectclass
is defined as:

objectclass person
    requires
        objectClass,
        sn,
        cn
    allows
        description,
        seeAlso,
        telephoneNumber,
        userPassword

If you want to put e-mail addresses in the directory, you should
consider one of the object classes that allows the "mail"
attribute type.