--On Thursday, July 14, 2022 9:51 PM +0200 Luca Stancapiano luca.stancapiano@vige.it wrote:
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?
This has already been answered for you multiple times now.
The OpenLDAP server can only act on schema that have been configured. If the inetorgperson schema is not present in the server configuration, you clearly cannot use it to create objects. So the first step is to confirm whether or not your configuration is loading the inetorgperson schema.
If it isn't, then you need to add it to the server configuration.
If it is, then there's an issue with the objectClass value as I already stated. For example, there could be a trailing space, i.e.:
"objectClass: inetOrgPerson "
instead of:
"objectClass: inetOrgPerson"
Regards, Quanah