> 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