Shadow copy and Windows 7

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Apr 26 03:19:25 MDT 2010

On Mon, Apr 26, 2010 at 12:04:39PM +0300, Uri Simchoni wrote:
> I've noticed that viewing previous versions using the
> shadow_copy2 vfs module doesn't work when the client is
> Windows 7. Digging a bit further, it seems that while
> processing the FSCTL_GET_SHADOW_COPY_DATA ioctl, samba
> requires a buffer of 4 bytes past the label array, but it
> doesn't write anything into these bytes. Vista used to
> "supply" these added 4 bytes but Windows 7 doesn't.
> Is there a specific reason for requiring these 4 bytes? I
> couldn't find any documentation for this ioctl in msdn.

That was just sloppy programming in smbd that is fixed. I'd
have to look in exactly which versions it is fixed, but
3.5.2 definitely should work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <>

More information about the samba-technical mailing list