[cifs-protocol] 117060815865319 [MS-ERREF] Windows Error Codes; ERROR_DS_DRA_RECYCLED_TARGET

Sreekanth Nadendla srenaden at microsoft.com
Fri Jun 9 14:27:18 UTC 2017


Hello Tim, we will update MS-ERREF to have the following details.

0x000021BF
ERROR_DS_DRA_RECYCLED_TARGET                       The replication operation failed because the target object referred by a link value is recycled.

This resolves your question #2 below.

Also just for information, ERROR_DS_DRA_RECYCLED_TARGET is seen documented at System Error Codes (8200-8999).
https://msdn.microsoft.com/en-us/library/windows/desktop/ms681390(v=vs.85).aspx


Regards,
Sreekanth Nadendla
Microsoft Windows Open Specifications

From: Sreekanth Nadendla
Sent: Thursday, June 8, 2017 5:30 PM
To: "Sreekanth Nadendla" <srenaden at microsoft.com<mailto:srenaden at microsoft.com>>
Cc: "cifs-protocol at lists.samba.org<mailto:cifs-protocol at lists.samba.org>" <cifs-protocol at lists.samba.org<mailto:cifs-protocol at lists.samba.org>>; "MSSolve Case Email" <casemail at microsoft.com<mailto:casemail at microsoft.com>>
Subject: [REG:117060115827644] Re: 117060115827644 Question about DRS client behaviour with linked attributes


Hi Sreekanth,

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.

The Docs issues I mentioned in the conference call are as follows:

1). A fortnight ago, I raised a minor issue with MS-DRSR 4.1.10.6.14 ProcessLinkValue(). i.e. https://msdn.microsoft.com/en-us/library/dd207759.aspx

In the following block of code that checks the link target, it looks like it's missing a null check for targetObject.

targetObject = GetDSNameFromAttrVal(replValinf.attrTyp, replValInf.pAval)
if ((IsRecycleBinEnabled() and targetObject!isRecycled) or
    (not IsRecycleBinEnabled() and targetObject!isDeleted)) then
    if (DRS_GET_TGT in ulMoreFlags) then
        /* nothing to do */
        return 0
    else
        return ERROR_DS_DRA_RECYCLED_TARGET
endif

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.

2). Related to this, the error code used here isn't documented, i.e. it isn't listed on https://msdn.microsoft.com/en-us/library/cc231199.aspx

I think it should be something like:

ERROR_DS_DRA_RECYCLED_TARGET            0x000021BF

Thanks for your help.

Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20170609/9659b96a/attachment.html>


More information about the cifs-protocol mailing list