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

Re: person attributes

On Fri, 6 Jul 2001, Alexandra Navarro wrote:

> Hello,
> I have installed openldap, all is right, but, when i try to create a person
> objet, for example:
> dn: cn=Pepe Perez, o=larita.eon.net
> sn: Perez
> cn: Pepe Perez
> objectclass: person
> userpassword: dsadad
> uid: pperez
> mail: lala@lele.com
> if i put the attributes uid, or mail... the ldapadd allways says:
> ldap_add: Object class violation
>     additional info: attribute not allowed
> I tried to find the file where is defined the objet person, but i didn't
> able to find it.
> and there isn't slapd.at.conf and slapd.oc.conf in my
> /usr/local/etc/openldap

Objectclass person can't have attribute 'uid' nor 'mail'.
Try objectclass 'inetOrgPerson'. Schemas are defined in
*.schema files. I got few in /etc/ldap/schema directory.