Custom Application Receiving Intermittent Error from OID 11g 11.1.1.7: LDAP: error code 19 - Attribute Uniqueness Constraint Violation (Doc ID 2121227.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.7.0 to 11.1.1.7.3 [Release 11g]
Information in this document applies to any platform.

Symptoms

Oracle Intenet Directory (OID) 11g 11.1.1.7.

This was working before.

Using a java background custom code with DirContext for adding users to OID (e.g., ldapContext.createSubcontext(dn,userAttributes);).

Intermittently receiving the error message below in the custom application from OID:

LDAP: error code 19 - Attribute Uniqueness Constraint Violation

The failures are not consistent, for example if sending 100 requests, about ~5 to 10 can fail.

Using the same values as reported in one of the failures via ldapadd command line is successful.

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