summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2015-12-16 09:55:37 +0100
committerStefan Metzmacher <metze@samba.org>2016-04-12 19:25:26 +0200
commitb720575f16d8a2006d10eb8a94c7134a30d5309d (patch)
treec36f252f4daaa0db61beb71859719e11592bb2cd /source4/smb_server
parenta046ffd6cd9ab81af33d4ccf2e683acf5bb6c5eb (diff)
downloadsamba-b720575f16d8a2006d10eb8a94c7134a30d5309d.tar.gz
CVE-2016-2115: s3:libsmb: add signing constant SMB_SIGNING_IPC_DEFAULT
SMB_SIGNING_IPC_DEFAULT must be used from s3 client code when opening RPC connections. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11756 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb2/negprot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb2/negprot.c b/source4/smb_server/smb2/negprot.c
index e654392ccbf..addd278eb4c 100644
--- a/source4/smb_server/smb2/negprot.c
+++ b/source4/smb_server/smb2/negprot.c
@@ -147,6 +147,7 @@ static NTSTATUS smb2srv_negprot_backend(struct smb2srv_request *req, struct smb2
switch (signing_setting) {
case SMB_SIGNING_DEFAULT:
+ case SMB_SIGNING_IPC_DEFAULT:
smb_panic(__location__);
break;
case SMB_SIGNING_OFF: