OUD11g - Getting LDAP: Error Code 65 - Violates The Directory Server Schema Configuration (Doc ID 1902516.1)

Last updated on DECEMBER 12, 2016

Applies to:

Oracle Unified Directory - Version 11.1.2.0.0 to 11.1.2.2.3 [Release 11g]
Information in this document applies to any platform.
Trying to create a similar entry for a user by clicking the "Create Like" button, however, it was rejected with below error;

[LDAP: error code 65 - Entry cn=0006test,cn=employee,dc=example,dc=com,dc=hk violates the Directory Server schema configuration because it includes attribute Position which is not allowed by any of the objectclasses defined in that entry]

This is happening on not only the "Position" attribute but also other custom attribute as well.

#### <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <61fb5f1f786fe635:-531446f6:145fa8846dc:-8000-00000000000004a9> <1400070155965> at oracle.idm.directoryservices.odsm.server.ServerAccess.addEntry(ServerAccess.java:429) at oracle.idm.directoryservices.odsm.server.ServerAccess.addEntry(ServerAccess.java:452)
at oracle.idm.directoryservices.odsm.provider.oid.OIDDBProvider.addUserEntry(OIDDBProvider.java:1030)


Symptoms

[LDAP: error code 65 - Entry uid=abc123,dc=ods violates the Directory Server schema configuration because it includes attribute Position which is not allowed by any of the objectclasses defined in that entry]

It seems it's a bug in ODSM when you click on "create like" it seems the objectclass XXXObject is not copied and the Position attribute cannot add because is not associate to objectclass.

Refer to the extract of weblogic-oudomain log.

####<> <>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms