--On Thursday, July 14, 2022 12:16 PM -0500 Shawn McKinney smckinney@symas.com wrote:
On Jul 14, 2022, at 4:14 AM, Luca Stancapiano luca.stancapiano@vige.it 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.
It hadn't gotten that far, processing wise. As Michael noted, they appear to have not loaded in the inetorgperson schema.
I've also seen this when an objectClass value has a trailing character that's not visible to the naked eye (such as a space character).
--Quanah