<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Hello Tim, we will update MS-ERREF to have the following details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">0x000021BF<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">ERROR_DS_DRA_RECYCLED_TARGET                       The replication operation failed because the target object referred by a link value
 is recycled.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">This resolves your question #2 below.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Also just for information, ERROR_DS_DRA_RECYCLED_TARGET is seen documented at System Error Codes (8200-8999).
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"><a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms681390(v=vs.85).aspx" target="_blank"><span style="color:windowtext">https://msdn.microsoft.com/en-us/library/windows/desktop/ms681390(v=vs.85).aspx</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Sreekanth Nadendla<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">Microsoft Windows Open Specifications<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> Sreekanth Nadendla
<br>
<b>Sent:</b> Thursday, June 8, 2017 5:30 PM<br>
<b>To:</b> "Sreekanth Nadendla" <<a href="mailto:srenaden@microsoft.com">srenaden@microsoft.com</a>><br>
<b>Cc:</b> "<a href="mailto:cifs-protocol@lists.samba.org">cifs-protocol@lists.samba.org</a>" <<a href="mailto:cifs-protocol@lists.samba.org">cifs-protocol@lists.samba.org</a>>; "MSSolve Case Email" <<a href="mailto:casemail@microsoft.com">casemail@microsoft.com</a>><br>
<b>Subject:</b> [REG:117060115827644] Re: 117060115827644 Question about DRS client behaviour with linked attributes<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi Sreekanth,<o:p></o:p></p>
<p>Thanks for the link. I'd already seen that article (or one very similar), but it does provide a lot of useful information about replication.<o:p></o:p></p>
<p>The Docs issues I mentioned in the conference call are as follows:<o:p></o:p></p>
<p>1). A fortnight ago, I raised a minor issue with MS-DRSR 4.1.10.6.14 ProcessLinkValue(). i.e.
<a href="https://msdn.microsoft.com/en-us/library/dd207759.aspx">https://msdn.microsoft.com/en-us/library/dd207759.aspx</a><o:p></o:p></p>
<p>In the following block of code that checks the link target, it looks like it's missing a null check for targetObject.
<o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:"Courier New"">targetObject = GetDSNameFromAttrVal(replValinf.attrTyp, replValInf.pAval)<br>
if ((IsRecycleBinEnabled() and targetObject!isRecycled) or<br>
    (not IsRecycleBinEnabled() and targetObject!isDeleted)) then<br>
    if (DRS_GET_TGT in ulMoreFlags) then<br>
        /* nothing to do */<br>
        return 0<br>
    else<br>
        return ERROR_DS_DRA_RECYCLED_TARGET<br>
endif</span><o:p></o:p></p>
<p>Presumably it should also return ERROR_DS_DRA_RECYCLED_TARGET if targetObject is null, as this is what triggers the use of the DRS_GET_TGT flag.<o:p></o:p></p>
<p>2). Related to this, the error code used here isn't documented, i.e. it isn't listed on
<a href="https://msdn.microsoft.com/en-us/library/cc231199.aspx">https://msdn.microsoft.com/en-us/library/cc231199.aspx</a><o:p></o:p></p>
<p>I think it should be something like:<o:p></o:p></p>
<p>ERROR_DS_DRA_RECYCLED_TARGET            0x000021BF<o:p></o:p></p>
<p>Thanks for your help.<o:p></o:p></p>
<p>Tim<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>