My Oracle Support Banner

OUD 11g - Update of Single-Valued Attribute via Delete and Subsequent Add Does Not Replicate to Other Instances (Doc ID 2195617.1)

Last updated on OCTOBER 06, 2019

Applies to:

Oracle Unified Directory - Version 11.1.2.3.0 to 11.1.2.3.160419 [Release 11g]
Information in this document applies to any platform.

Symptoms

In a simple replication deployment with two OUD instances replicating to each other, start off with a user entry that looks like the following on both instances...

dn: uid=<UID>,ou=Special Users,<SUFFIX_DN>
givenName: <GIVENNAME>
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
uid: <UID>
displayName: <DISPLAY_NAME1>
cn: <CN>
sn: <SN>

The following ldapmodify is then performed to update the displayName attribute (via delete and subsequent add)...

$ ./ldapmodify -p <PORT> -D "cn=<DS_ADMIN>" -w <PASSWORD>
dn: uid=<UID>,ou=Special Users,<SUFFIX_DN>
changetype: modify
delete: displayName
-
add: displayName
displayName: <DISPLAY_NAME2>

Processing MODIFY request for uid=<UID>,ou=Special Users,<SUFFIX_DN>
MODIFY operation successful for DN uid=<UID>,ou=Special Users,<SUFFIX_DN>

^C$

Notice that the update is successfully made against the OUD instance to which the ldapmodify command was pointing to...

$ ./ldapsearch -p <PORT> -b "<SUFFIX_DN>" uid=<UID>
dn: uid=<UID>,ou=Special Users,<SUFFIX_DN>
givenName: <GIVENNAME>
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
uid: <UID>
displayName: <DISPLAY_NAME2>
cn: <CN>
sn: <SN>
$

 

However, notice that the update is not replicated to the other OUD instance and the original value for displayName remains...

$ ./ldapsearch -p <PORT2> -b "<SUFFIX_DN>" uid=<UID>
dn: uid=<UID>,ou=Special Users,<SUFFIX_DN>
givenName: <GIVENNAME>
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
uid: <UID>
displayName: <DISPLAY_NAME1>
cn: <CN>
sn: <SN>
$

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.