[PATCH] vfs: ignore shared VHDX create context by default

Richard Sharpe realrichardsharpe at gmail.com
Thu Feb 25 17:39:31 UTC 2016


On Wed, Feb 24, 2016 at 9:32 PM, Uri Simchoni <uri at samba.org> wrote:
> Hi,
>
> Attached is a fix for https://bugzilla.samba.org/show_bug.cgi?id=11753.
>
> This patch causes smbd to ignore SVHDX_OPEN_DEVICE_CONTEXT or
> SVHDX_OPEN_DEVICE_CONTEXT_V2 create contexts by default.
>
> The default can be overriden by a VFS module if this module adds support for
> RSVD protocol (not sure all the pieces are in there).
>
> This fixes Windows backup against Samba 4.3.x series.
>
> [MS-SMB2] rev 48.0 states (3.3.5.9.14) that the open should fail if this
> create context is specified and the server does not support RSVD (a.k.a.
> SCSI tunneling) protocol. However, according to discussions with
> dochelp at microsoft.com, the context should be ignored in this case.
>
> Review/push appreciated.

Looks good to me.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



More information about the samba-technical mailing list