summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-08-30 16:43:33 +0200
committerChristian Ambach <ambi@samba.org>2012-08-30 18:57:24 +0200
commit02aacb17d18f1bb47575b473a9468ff05403e67c (patch)
tree3e284174f729f9aa9b65dd0fb0a847c855034969 /source3
parent461209255d08a19c6e8b038c05251a0e9567298f (diff)
downloadsamba-02aacb17d18f1bb47575b473a9468ff05403e67c.tar.gz
samba-02aacb17d18f1bb47575b473a9468ff05403e67c.tar.bz2
samba-02aacb17d18f1bb47575b473a9468ff05403e67c.zip
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
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 1ee7fff8b5..ca9b867d79 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -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);
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) */
subreq = cli_trans_send(