Modifying An OID Entry's Custom Attribute Fails With: ldap_modify: constraint violation / Modifying Any Attribute Of The Same Entry In OIDDAS Fails With: Cannot modify user : [LDAP: error code 20 - Attribute mycustomattrdn is single valued.] (Doc ID 1494208.1)

Last updated on SEPTEMBER 13, 2016

Applies to:

Oracle Internet Directory - Version 10.1.4 and later
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) 10g or 11g integrated with 10g Oracle Single Sign-On (SSO) and OID Delegated Administration Services (OIDDAS).

Attempting to modify an entry to replace a value for a custom attribute fails with:

ldap_modify: constraint violation

Modifying any attribute for the same entry in 10g OIDDAS returns the following error against the custom attribute:

Cannot modify user : [LDAP: error code 20 - Attribute mycustomattrdn is single valued.]

As a workaround, able to modify some attributes, such as userpassword, for the same user using 11g Oracle Directory Services Manager (ODSM), or 10g Oracle Directory Manager (ODM / oidadmin) as a workaround.

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