(In reply to comment #7)
> (From update of attachment 431976 [details])
> An entry may already have an nsUniqueID attribute - in that case, we should use
> it. I was hoping we could use an attribute already in the entry for the
> renaming - I guess when you're not using replication, the nsUniqueID is not
> generated? If so, perhaps we could just use entryid instead of nsuniqueid?
Thanks, Rich! Fixed it. I confirmed nsUniqueId is always assigned regardless
of the replication use. Now, upgradednformat utility picks up UUID from the
entry and add nsuniqueid=<UUID> to the DN if duplicated DN is found. (The
upgrade fails if UUID is not found in the entry, which should not happen.)
Since it always uses the existing UUID, we don't have to reindex nsuniqueid.
Thus, I removed the following special treatment for nsuniqueid since it is not
needed any longer.