1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:libsmb correctly set isFsctl for snapshot list

FSCTL_GET_SHADOW_COPY_DATA is a FSCTL, so set the isFsctl marker
otherwise smbclient allinfo will not report snapshots any more with the changes
made for Bug #8311

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Thu Aug 30 18:57:24 CEST 2012 on sn-devel-104
This commit is contained in:
Christian Ambach 2012-08-30 16:43:33 +02:00
parent 461209255d
commit 02aacb17d1

View File

@ -5490,7 +5490,7 @@ struct tevent_req *cli_shadow_copy_data_send(TALLOC_CTX *mem_ctx,
SIVAL(state->setup + 0, 0, FSCTL_GET_SHADOW_COPY_DATA); SIVAL(state->setup + 0, 0, FSCTL_GET_SHADOW_COPY_DATA);
SSVAL(state->setup + 2, 0, fnum); SSVAL(state->setup + 2, 0, fnum);
SCVAL(state->setup + 3, 0, 0); /* isFsctl */ SCVAL(state->setup + 3, 0, 1); /* isFsctl */
SCVAL(state->setup + 3, 1, 0); /* compfilter, isFlags (WSSP) */ SCVAL(state->setup + 3, 1, 0); /* compfilter, isFlags (WSSP) */
subreq = cli_trans_send( subreq = cli_trans_send(