My Oracle Support Banner

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

Last updated on MARCH 03, 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=ckent,ou=Special Users,dc=example,dc=com
givenName: Clark
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
uid: ckent
displayName: ClarkKent
cn: Clark Kent
sn: Kent

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

$ ./ldapmodify -p 1389 -D "cn=directory manager" -w <PASSWORD>
dn: uid=ckent,ou=Special Users,dc=example,dc=com
changetype: modify
delete: displayName
-
add: displayName
displayName: clark_kent_test

Processing MODIFY request for uid=ckent,ou=Special Users,dc=example,dc=com
MODIFY operation successful for DN uid=ckent,ou=Special Users,dc=example,dc=com

^C$

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

$ ./ldapsearch -p 1389 -b "dc=example,dc=com" uid=ckent
dn: uid=ckent,ou=Special Users,dc=example,dc=com
givenName: Clark
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
uid: ckent
displayName: clark_kent_test
cn: Clark Kent
sn: Kent
$

 

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

$ ./ldapsearch -p 2389 -b "dc=example,dc=com" uid=ckent
dn: uid=ckent,ou=Special Users,dc=example,dc=com
givenName: Clark
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
uid: ckent
displayName: ClarkKent
cn: Clark Kent
sn: Kent
$

 

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
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.