[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Wed Sep 28 18:59:05 MDT 2011


The branch, master has been updated
       via  ea00f0e s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signed
      from  485ad76 test commit to see it push works for me.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ea00f0e452f64868fdc78cf0dc8e9ce3af19fe32
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Sep 28 08:28:08 2011 +0200

    s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signed
    
    metze
    
    Autobuild-User: Stefan Metzmacher <metze at samba.org>
    Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/smb2_server.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 35da2af..abb60e4 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);
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list