I have a replication with a 389 DS server and my AD domain. According to the documentation the field used to control the replication is &quot;NT user ID&quot; on 389 DS and it is populated from Active directory´s field &quot;<span style="font-family:Arial,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:17px;text-align:left;background-color:rgb(255,255,255)">sAMAccountName&quot;.</span><div>
<span style="font-family:Arial,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:17px;text-align:left;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:Arial,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:17px;text-align:left;background-color:rgb(255,255,255)">The fact is that &quot;</span><span style="background-color:rgb(255,255,255);font-family:Arial,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:17px;text-align:left">sAMAccountName&quot; is limited to 20 char</span><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif">acters. </font></span></div>
<div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif"><br></font></span></div><div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif"><br>
</font></span></div><div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif">My problem is that I always create my user´s in the active directory first, so when I create a user longer than 20 characters, 389 DS create it missing letters (off corse the problem is about windows limitation and I know that), I´m just trying to find out the esiest solution to my problem.</font></span></div>
<div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif"><br></font></span></div><div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif">For example, I have an user called &quot;therezinha.figueiredo&quot; and when I create it on my AD the &quot;</font></span><span style="background-color:rgb(255,255,255);font-family:Arial,Helvetica,FreeSans,sans-serif;font-size:13px;line-height:17px;text-align:left">sAMAccountName&quot; is &quot;</span><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left">therezinha.figueired&quot;, so the replication plugin create in the 389 Server an user Called &quot;</span><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left">therezinha.figueired&quot;</span></div>
<div><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left"><br></span></div><div><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left">I Also tried to modifify the user uid and keep the &quot;NT user ID&quot;. For example:</span></div>
<div><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left"><br></span></div><div><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left">After the replication plugin created the user called </span><span style="font-size:13px;background-color:rgb(255,255,255);font-family:arial,sans-serif;line-height:16px;text-align:left">&quot;</span><span style="font-size:13px;background-color:rgb(255,255,255);font-family:arial,sans-serif;line-height:16px;text-align:left">therezinha.figueired&quot; I modified it manually to &quot;</span><span style="font-size:13px;background-color:rgb(255,255,255);font-family:arial,sans-serif;line-height:16px;text-align:left">&quot;</span><span style="font-size:13px;background-color:rgb(255,255,255);font-family:arial,sans-serif;line-height:16px;text-align:left">therezinha.figueiredo&quot; and kept the &quot;NT user ID&quot;, but something strange hapenned with this user groups (in the 389 DS and also in the Active Directory).</span></div>
<div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif"><br></font></span></div><div><span style="background-color:rgb(255,255,255);font-size:13px;text-align:left;line-height:16px"><font face="arial, sans-serif"><br>
</font></span></div><div><span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left">Any clues? Can I use another field to populate users &quot;NT user ID&quot; and  </span><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)">change it on the replication plugin? </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)"><br></span></div><div style="text-align:left"><font face="arial, sans-serif"><span style="line-height:16px"><br>
</span></font></div><div><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)">Thanks </span></div><div><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)">Alberto Viana</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;line-height:16px;text-align:left;background-color:rgb(255,255,255)"><br></span></div>