[cifs-protocol] [REG:115022012423947] [REG: 115022012423947] what are the arguments when "MS-ADTS 3.1.1.1.14 Scheduled and Event-Driven Replication" calls IDL_DRSGetNCChanges?

Obaid Farooqi obaidf at microsoft.com
Thu Mar 26 11:47:16 MDT 2015


Hi Andrew:
On my WS2012R2 RODC, when the server DC sends IDL_DRSReplicaSync to the client DC, the client DC uses the following msgIn argument for the call to IDL_DRSGetNCChanges:

struct _DRS_MSG_GETCHGREQ_V10
   +0x000 uuidDsaObjDest   : _GUID {98ca6f5f-e3c7-4a71-b6d7-477d7d93d2cf}
   +0x010 uuidInvocIdSrc   : _GUID {eda5e94e-3dec-4e07-90e1-92930410d39d}
   +0x020 pNC              : 0x0000007b`47fb4cb0 _DSNAME
   +0x028 usnvecFrom       : _USN_VECTOR
   +0x040 pUpToDateVecDest : 0x0000007b`47026700 _UPTODATE_VECTOR
   +0x048 ulFlags          : 0x80400060
   +0x04c cMaxObjects      : 0x3e8
   +0x050 cMaxBytes        : 0xa00000
   +0x054 ulExtendedOp     : 0
   +0x058 liFsmoInfo       : _ULARGE_INTEGER 0x0
   +0x060 pPartialAttrSet  : 0x0000007b`4ad46730 _PARTIAL_ATTR_VECTOR_V1_EXT
   +0x068 pPartialAttrSetEx : (null) 
   +0x070 PrefixTableDest  : _SCHEMA_PREFIX_TABLE
   +0x080 ulMoreFlags      : 0

Please let know if you need any more info about these arguments.

Regards,
Obaid Farooqi
Escalation Engineer | Microsoft

Exceeding your expectations is my highest priority.  If you would like to provide feedback on your case you may contact my manager at nkang at Microsoft dot com

-----Original Message-----
From: "Obaid Farooqi" <obaidf at microsoft.com> 
Sent: Tuesday, March 3, 2015 4:15 PM
To: "Andrew Bartlett" <abartlet at samba.org>
Cc: "cifs-protocol at lists.samba.org" <cifs-protocol at lists.samba.org>; "MSSolve Case Email" <casemail at microsoft.com>
Subject: [REG:115022012423947] [REG: 115022012423947] what are the arguments when "MS-ADTS 3.1.1.1.14 Scheduled and Event-Driven Replication" calls IDL_DRSGetNCChanges?

Hi Andrew: 
I'll help you with this issue and will be in touch as soon as I have an answer. 

Regards,
Obaid Farooqi
Escalation Engineer | Microsoft 

Exceeding your expectations is my highest priority.  If you would like to provide feedback on your case you may contact my manager at nkang at Microsoft dot com

-----Original Message-----
From: "Edgar Olougouna" <edgaro at microsoft.com>
Sent: Monday, March 2, 2015 12:11 PM
To: "Andrew Bartlett" <abartlet at samba.org>; "Obaid Farooqi"
<obaidf at microsoft.com>
Cc: "cifs-protocol at lists.samba.org" <cifs-protocol at lists.samba.org>; "MSSolve Case Email" <casemail at microsoft.com>
Subject: [REG:115022012423947] [REG: 115022012423947] what are the arguments when "MS-ADTS 3.1.1.1.14 Scheduled and Event-Driven Replication" calls IDL_DRSGetNCChanges?

Andrew,
This case was transferred to my colleague Obaid as well. He'll will take care of this and follow-up. 

Thanks,
Edgar 

-----Original Message-----
From: Edgar Olougouna
Sent: Friday, February 20, 2015 4:21 PM
To: Andrew Bartlett
Cc: cifs-protocol at lists.samba.org; MSSolve Case Email
Subject: RE: [REG: 115022012423947] what are the arguments when "MS-ADTS 3.1.1.1.14 Scheduled and Event-Driven Replication" calls IDL_DRSGetNCChanges?

Andrew,
I will research this for you as well. The email subject has been updated to facilitate tracking. 

Thanks,
Edgar 

-----Original Message-----
From: Matt Weber
Sent: Thursday, February 19, 2015 10:55 PM
To: Andrew Bartlett
Cc: cifs-protocol at lists.samba.org; MSSolve Case Email
Subject: [REG: 115022012423947] connecting MS-DRSR 4.1.23.2 IDL_DRSReplicaSync and ReplicateNCRequestMsg 

[Case number in subject]
[Casemail to cc]
[Dochelp to bcc] 

Hello Andrew, 

I have created a separate case, 115022012423947, for this additional question. One of our team members will follow up with you soon.

Best regards,
Matt Weber | Microsoft Open Specifications Team 

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at samba.org]
Sent: Thursday, February 19, 2015 11:05 PM
To: Interoperability Documentation Help
Cc: cifs-protocol at lists.samba.org
Subject: Re: connecting MS-DRSR 4.1.23.2 IDL_DRSReplicaSync and ReplicateNCRequestMsg 

On Fri, 2015-02-20 at 16:18 +1300, Andrew Bartlett wrote: 
> MS-DRSR 4.1.23 IDL_DRSReplicaSync has some great pseudo-code in
> 4.1.23.2 Server Behavior of the IDL_DRSReplicaSync Method.  However, 
> it finishes with this text statement:
> 
> Perform a replication cycle as a client of IDL_DRSGetNCChanges. 
> 4.1.10.4.1) to form the first request and send it. If not
DRS_MAIL_REP 
> in r.options, then wait for the response, process it, send the next 
> request (section 4.1.10.6), etc., until the replication cycle is 
> complete.
> 
> This is great, but I need to know what parameters are passed in to
> 4.1.10.4.1 ReplicateNCRequestMsg
> 
> In particular, I'm trying to chase down an issue in our RODC case, 
> where the SPECIAL_SECRETS_PROCESSING flag isn't being sent by our
RODC 
> to GetNCChanges.  I know how I *could* force it, but I don't know if 
> it should always be forced, for example.  For example, should the 
> server sending DsReplicaSync tell the RODC to request it, or should 
> the RODC add it (and remove WRIT_REP) on it's own?
> 

Also, what are the arguments when 
"MS-ADTS 3.1.1.1.14 
Scheduled and Event-Driven Replication" calls IDL_DRSGetNCChanges? 

Thanks, 

-- 
Andrew Bartlett 
http://samba.org/~abartlet/ 
Authentication Developer, Samba Team  http://samba.org 
Samba Developer, Catalyst IT 
http://catalyst.net.nz/services/samba 









More information about the cifs-protocol mailing list