s3: smbclient: In order to get shadow copy data over SMB1 we must call cli_shadow_cop...
authorJeremy Allison <jra@samba.org>
Thu, 18 Aug 2016 21:36:50 +0000 (14:36 -0700)
committerUri Simchoni <uri@samba.org>
Fri, 19 Aug 2016 21:59:35 +0000 (23:59 +0200)
commit57a54af66f414708d5c02f346f08bc4bfd55349d
tree504852f79b3cedbaeb1c570b7c9bdb18c4571cfb
parent336da637541fba13586af6fc2cb9d143d656e87e
s3: smbclient: In order to get shadow copy data over SMB1 we must call cli_shadow_copy_data() twice.

Once with 'get_names = false' to get the size, then again with 'get_names = true'
to get the data or a Windows server fails to return valid info. Samba doesn't have this bug.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12165

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Fri Aug 19 23:59:35 CEST 2016 on sn-devel-144
source3/client/client.c