diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-09 19:31:15 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-09 19:51:03 +0200 |
commit | 4ae8bf09e66094f794cab9e04226d9b26575006b (patch) | |
tree | 73b7a309c0c36603e84a1a965b3b0de062890e0d | |
parent | 3d220f9fce20b5b847c189446766e9bd25726e6c (diff) | |
download | samba-4ae8bf09e66094f794cab9e04226d9b26575006b.tar.gz samba-4ae8bf09e66094f794cab9e04226d9b26575006b.tar.bz2 samba-4ae8bf09e66094f794cab9e04226d9b26575006b.zip |
s3:smbd: only pass the chained file handle for related compounded SMB2 requests
metze
-rw-r--r-- | source3/smbd/smb2_server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 84a82ff241..f14504249f 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -406,6 +406,10 @@ static NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req) return smbd_smb2_request_error(req, req->next_status); } + if ((flags & SMB2_HDR_FLAG_CHAINED) == 0) { + req->compat_chain_fsp = NULL; + } + switch (opcode) { case SMB2_OP_NEGPROT: return smbd_smb2_request_process_negprot(req); |