<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I’m still working with the PG to determine if ignoring is acceptable as the RSVD create context is likely being added at a layer above SMB (I.e., the app layer).</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal" style="border:none; padding:0in"><b>From: </b><a href="mailto:uri@samba.org">Uri Simchoni</a><br>
<b>Sent: </b>Wednesday, February 24, 2016 8:47 PM<br>
<b>To: </b><a href="mailto:bburgin@microsoft.com">Bryan Burgin</a><br>
<b>Cc: </b><a href="mailto:cifs-protocol@lists.samba.org">cifs-protocol@lists.samba.org</a>;
<a href="mailto:casemail@microsoft.com">MSSolve Case Email</a><br>
<b>Subject: </b>Re: [REG:116022413751567 ] Response to SVHDX_OPEN_DEVICE_CONTEXT[_V2] when shared VHDX is not supported</p>
</div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Thanks bryan, that clears things up.<br>
Uri.<br>
On 02/24/2016 11:31 PM, Bryan Burgin wrote:<br>
> [Adding case number to subject]<br>
><br>
> Hi Uri,<br>
><br>
> We created SR 116022413751567 to track this issue.<br>
><br>
> Yes, there seems to be a disconnect in [MS-SMB2] 3.3.5.9.14 "Handling the SVHDX_OPEN_DEVICE_CONTEXT Create Context" where we say that you should return STATUS_INVALID_DEVICE_REQUEST if you recognize that the device context is SVHDX_OPEN_DEVICE_CONTEXT ("0x9CCBCF9E04C1E643980E158DA1F6EC83")
 but don't support RSVD on one hand but you should ignore the context if you don't recognize what the context is on the other.<br>
><br>
> I'll research this for you.<br>
><br>
> Logically, we know that the Windows backup feature will add this context to a Create and that backup will fail unless the create succeeds.  Thus, if you properly recognize the context name but don't support RSVD you shouldn't be at a disadvantage compared
 to not knowing what the context is at all.  I'll help clarify the disconnect in the specification.<br>
><br>
> Bryan<br>
><br>
> -----Original Message-----<br>
> From: Uri Simchoni [<a href="mailto:uri@samba.org">mailto:uri@samba.org</a>]<br>
> Sent: Wednesday, February 24, 2016 12:41 PM<br>
> To: Bryan Burgin <bburgin@microsoft.com>; Interoperability Documentation Help <dochelp@microsoft.com><br>
> Cc: cifs-protocol@lists.samba.org<br>
> Subject: Response to SVHDX_OPEN_DEVICE_CONTEXT[_V2] when shared VHDX is not supported<br>
><br>
> Hi Bryan,<br>
><br>
> This is a clarification request following recently-closed REG:116022313745563.<br>
><br>
> I would appreciate a clarification with regards to Shared VHDX and [MS-SMB2].<br>
><br>
> In the correspondence of that case, it was indicated that upon receiving a SVHDX_OPEN_DEVICE_CONTEXT or SVHDX_OPEN_DEVICE_CONTEXT_V2 create context, an SMB3.0.2 or SMB3.1.1 server which does not support SVHDX on that share should ignore the context (If I
 understand correctly - that's the way to signal to the client that SVHDX is not supported).<br>
><br>
> However, my reading of [MS-SMB2], including the errata, suggests otherwise:<br>
><br>
> 1. The errata says "The server MUST fail create contexts having a NameLength less than 4 with a STATUS_INVALID_PARAMETER error." - OK, the server doesn't fail the context and moves on with processing the Open.<br>
><br>
> 2. 3.3.5.9.14 says "If IsSharedVHDSupported is FALSE, the server MUST fail the request with STATUS_INVALID_DEVICE_REQUEST"<br>
> Whereas IsSharedVHDSupported is a global state variable signaling support for share VHDX - that is, it's FALSE in our case.<br>
><br>
> It is true that 3.3.5.9.14 is about SVHDX_OPEN_DEVICE_CONTEXT and in the aforementioned case the context was SVHDX_OPEN_DEVICE_CONTEXT_V2, but read this section as relating to SVHDX_OPEN_DEVICE_CONTEXT_V2 as well, because there's no other reference to SVHDX_OPEN_DEVICE_CONTEXT_V2
 handling (and since it's a tunneling operation, the SMB server doesn't care much if it's _V2 or not).<br>
><br>
> Please advise.<br>
><br>
> Thanks,<br>
> Uri.<br>
><br>
<br>
</div>
</span></font>
</body>
</html>