My Oracle Support Banner

How to Merge Contacts Stored under Multiple / Conflicting 'nsUniqueID' Parameters set on Specific Account Entries ? (Doc ID 2278063.1)

Last updated on DECEMBER 13, 2023

Applies to:

Oracle Communications Contacts Server - Version 8.0.0.0.0 and later
Information in this document applies to any platform.

Goal

In a situation where a Contacts Server account is disabled and re-enabled, it is expected to have new 'nsUniqueID' parameter / values defined,  resulting in loss of access to pre-existing contacts.

Here is a sample list comprising old and the new entry for the same account:

mysql> select * from Owner where mail='uid1@example.com';
+--------+-------------------------------------+----------------------+-------------+
| id     | puid                                | mail                 | domain      |
+--------+-------------------------------------+----------------------+-------------+
| 456056 | cd903401-da6511e5-803592c3-66d956b2 | uid1@example.com | example.com |
| 613690 | 1b9c6981-2cf311e7-803592c3-66d956b2 | uid1@example.com | example.com |
+--------+-------------------------------------+----------------------+-------------+

Note: This is a known problem with using 'nsUniqueId' attribute, where if the user or resource LDAP entry is deleted and re-created in LDAP, the new entry will have a different 'nsUniqueId' parameter value.  Hence the need to change the identifier to 'davuniqueid' by modifying the 'davcore.uriinfo.permanentuniqueid' config parameter. Use the 'populate-davuniqueid' script to copy the values of nsUniqueId to davUniqueId, thus preserving references in the database. As documented here, changing this option after any user data is created in the database leads to data loss.  In other words, if the davuniqueid is simply populated with new values, then there would no longer be a mapping to the old values in the database.


in this case where the same user has two different nsuniqueid values, the user will be able to retrieve only those contacts corresponding to the current nsuniqueid value.

Is there a way to merge these multiple (old and new) uniqueid values so that the user / account can continue to have access to all contacts even after switching from nsUniqueID to DavUniqueID ?


 

Solution

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
Goal
Solution


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