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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.