From: Ralph Boehme Date: Wed, 16 Dec 2015 09:03:52 +0000 (+0100) Subject: CVE-2016-2115: s3:libnet: use SMB_SIGNING_IPC_DEFAULT X-Git-Tag: samba-4.2.10~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c9e0da7939976da87c60ac9959bb1c15d4e5fe;p=thirdparty%2Fsamba.git CVE-2016-2115: s3:libnet: use SMB_SIGNING_IPC_DEFAULT Use SMB_SIGNING_IPC_DEFAULT for RPC connections. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11756 Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 187e524606c..d7c7679d26e 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -846,7 +846,7 @@ static NTSTATUS libnet_join_connect_dc_ipc(const char *dc, domain, pass, flags, - SMB_SIGNING_DEFAULT); + SMB_SIGNING_IPC_DEFAULT); } /**************************************************************** @@ -1407,7 +1407,7 @@ NTSTATUS libnet_join_ok(struct messaging_context *msg_ctx, netbios_domain_name, machine_password, flags, - SMB_SIGNING_DEFAULT); + SMB_SIGNING_IPC_DEFAULT); E_md4hash(machine_password, current_nt_hash.hash); SAFE_FREE(machine_password); @@ -1421,7 +1421,7 @@ NTSTATUS libnet_join_ok(struct messaging_context *msg_ctx, NULL, "", 0, - SMB_SIGNING_DEFAULT); + SMB_SIGNING_IPC_DEFAULT); } if (!NT_STATUS_IS_OK(status)) {