diff options
author | Christian Ambach <ambi@samba.org> | 2012-08-30 16:43:33 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-08-30 18:57:24 +0200 |
commit | 02aacb17d18f1bb47575b473a9468ff05403e67c (patch) | |
tree | 3e284174f729f9aa9b65dd0fb0a847c855034969 /source3 | |
parent | 461209255d08a19c6e8b038c05251a0e9567298f (diff) | |
download | samba-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.c | 2 |
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( |