diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-28 08:28:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-29 02:58:41 +0200 |
commit | ea00f0e452f64868fdc78cf0dc8e9ce3af19fe32 (patch) | |
tree | 76a4e3ad190a27d0dee0799a2b8a6b6e95cc9200 /source3 | |
parent | 485ad76a49c1fa33742a4d8bc510f6dcaf11c2cb (diff) | |
download | samba-ea00f0e452f64868fdc78cf0dc8e9ce3af19fe32.tar.gz samba-ea00f0e452f64868fdc78cf0dc8e9ce3af19fe32.tar.bz2 samba-ea00f0e452f64868fdc78cf0dc8e9ce3af19fe32.zip |
s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signed
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 35da2af977..abb60e4110 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -1385,6 +1385,8 @@ NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req) if (!NT_STATUS_IS_OK(status)) { return smbd_smb2_request_error(req, status); } + } else if (opcode == SMB2_OP_CANCEL) { + /* Cancel requests are allowed to skip the signing */ } else if (req->session && req->session->do_signing) { return smbd_smb2_request_error(req, NT_STATUS_ACCESS_DENIED); } |