OUD11g: MOD on Attribute with Subtype Fails with Result=67 (Not Allowed on RDN) (Doc ID 2038279.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle Unified Directory - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

When an entry has an attribute with a subtype (e.g., ou;lang-ja) and its leftmost RDN is the same attribute without the subtype (e.g., ou),
modifying the attribute with a subtype fails with RESULT=67 (Not Allowed on RDN).

 

[Test Case]

Product: Oracle Unified Directory 11.1.2.2.0
OS: Linux 64-bit

STEPS
-----

1. Create the following entry.

dn:ou=0001,ou=deptinfo,dc=example,dc=com
objectclass:organizationalunit
ou:0001
ou;lang-ja:testvalue


1. Modify the "ou;lang-ja" attribute. It fails with Result Code 67.

# ./ldapmodify -p 4389 -D "cn=directory manager" -w secret12
dn: ou=0001,ou=deptinfo,dc=example,dc=com
changetype:modify
replace:ou;lang-ja
ou;lang-ja:changevalue

Processing MODIFY request for ou=0001,ou=deptinfo,dc=example,dc=com
MODIFY operation failed
Result Code: 67 (Not Allowed on RDN)
Additional Information: Entry ou=0001,ou=deptinfo,dc=example,dc=com cannot
be modified because the change to attribute ou would have removed a value
used in the RDN
#

On ODSEE, this issue did not occur.

 

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