RHDS - Failing to add LDAP entries with more than one Structural ObjectClass.

Solution Verified - Updated -

Issue

Customer was trying to add the following LDAP entry:

# cat /var/tmp/user.ldif
dn: uid=test,dc=example,dc=com
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: inetOrgPerson
uid: test
givenName: test
sn: test
cn: test
mail: test@example.com
#

But the ADD operation fails with LDAP error 65 ( LDAP_OBJECT_CLASS_VIOLATION ).

Environment

Red Hat Directory Server 9
Red Hat Directory Server 10
Red Hat Enterprise Linux 6.x
Red Hat Enterprise Linux 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content