My Oracle Support Banner

How to Align / Realign / Change / Reset the DIP Server AD Synchronization Profile's Last Applied Change Number (LACN / orclodipConDirLastAppliedChgNum) When Changing the AD DC Server Host or IP Address (Doc ID 735248.1)

Last updated on MAY 16, 2019

Applies to:

Oracle Internet Directory - Version 10.1.4 to [Release 10gR3 to 12c]
Information in this document applies to any platform.


DIP synchronisation has been configured between OID  and Active Directory, and now the AD Domain Controller needs to be changed. For example, from server DC-01 to server DC-02 , a second server in a multi-master configuration, where:

The highestCommittedUSN on the second server (DC-02) is much lower than on the original server (DC-01), due to the number of changes (usn) being different at the AD DC server level in the same Windows domain per the USN change approach theory in AD.

Because of this difference, the OID synchronisation profile will not store any changes until the lower highestCommittedUSN catches up with the orclodipConDirLastAppliedChgNum in the profile.

Nevertheless, in the same Windows domain, objects (users, groups, etc.) are replicated between all AD DC servers.

This document describe how to re-align the highestCommittedUSN values in the profile in order to continue DIP synchronisation.

To obtain highestCommittedUSN the following ldapsearch can be used:

ldapsearch -h <ADhost> -p 389 -D Administrator@<> -w "<password>" -b "" -s base "objectclass=*" highestCommittedUSN

For example:

[oracle@pc-gps-im ~]$ ldapsearch -h -p 389 -D -w "*******" -b "" -s base "objectclass=*" highestCommittedUSN





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

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