[PATCH] smbd: Fix snapshot query on shares with DFS enabled

David Disseldorp ddiss at suse.de
Thu Aug 18 12:09:55 UTC 2016


On Wed, 17 Aug 2016 17:00:48 -0700, Jeremy Allison wrote:

> David - do you have a working Windows box exposing shadow
> copies ?
>
> I'm trying to get master smbclient using the allinfo command
> to list the snapshots available on a Windows server over
> SMB1 using the client cli_shadow_copy_data() function
> called from the allinfo command.
> 
> For the life of me I can't get Windows to reply that
> there are any shadow copies available, even though
> I know there are (and when I query over SMB2 it's
> correctly reporting them).

I see the same with master and earlier smbclient releases. Was thinking
it was due to a malformed request, after the Wireshark dissector shows
the NTtrans Setup section misaligned by one byte (it interprets the
first as padding). However, looking at MS-SMB 2.2.7.2.1 the request
appears to be okay. Probably worth checking against Windows SMB1 client
behaviour...

Cheers, David



More information about the samba-technical mailing list