<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<pre class="bz_comment_text" id="comment_text_6"><a
 class="moz-txt-link-freetext"
 href="https://bugzilla.redhat.com/show_bug.cgi?id=612771">https://bugzilla.redhat.com/show_bug.cgi?id=612771</a>

<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/attachment.cgi?id=431976&amp;action=diff">https://bugzilla.redhat.com/attachment.cgi?id=431976&amp;action=diff</a>

<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/attachment.cgi?id=431976&amp;action=edit">https://bugzilla.redhat.com/attachment.cgi?id=431976&amp;action=edit</a>

Thanks to Rich for the good idea<span class="quote"> to enhance the procedure.
&gt; What if we do what replication conflicts do and rename the entry to
&gt; nsuniqueid=&lt;uuid&gt;+oldDN?  or use some other unique name?</span>

Based upon the suggestion by Rich, in case duplicated DNs are found, the second
DN is renamed to nsuniqueid=&lt;uuid&gt;+oldDN (import_foreman in import-threads.c).

In addition, there was a bug to handle multi-valued RDNs in
slapi_dn_normalize_ext.  In case multi-valued RDN appears with DN value (e.g.,
nsuniqueid=&lt;uuid&gt;+cn=uid\=&lt;uid&gt;\,o\=&lt;org&gt;,dc=&lt;dc&gt;),
it was not normalized properly.  Introduced additional rdn_av_stack
(subinitial_rdn_av_stack) for the nested DN value.    </pre>
</body>
</html>