Hi , also adding sn and cn I have the same problem using ldapadd. The problem 
is that iNetOrgPerson is not recognized. If I use other object class it is ok. 
But I need iNetOrgPerson because I have to use the email. So why the 
iNetOrgPerson is not recognized by my openldap? What I miss?

> Il 14/07/2022 18:16 Shawn McKinney <[email protected]> ha scritto:
> 
>  
> > On Jul 14, 2022, at 4:14 AM, Luca Stancapiano <[email protected]> 
> > wrote:
> > 
> > Hi all, I'm triing to create a user with openldap 2.4
> > 
> > dn: uid=rrrrrr,ou=users,dc=my-domain,dc=com
> > objectClass: iNetOrgPerson
> > uid: iiiiii
> > 
> > but it doesn't seem recognize the objectClass producing this error:
> > 
> > adding new entry "uid=rrrrrr,ou=users,dc=my-domain,dc=com"
> > ldap_add: Invalid syntax (21)
> >     additional info: objectClass: value #0 invalid per syntax
> > 
> > Using other object classes is ok. What's the problem?
> 
> Looks like you’re missing cn and sn attributes which are required by its 
> parent obejectclass, person.
> 
> —
> Shawn

Reply via email to