]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2016-2115: s3:lib/netapi: use SMB_SIGNING_IPC_DEFAULT
authorRalph Boehme <slow@samba.org>
Wed, 16 Dec 2015 09:01:59 +0000 (10:01 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 30 Mar 2016 02:08:01 +0000 (04:08 +0200)
Use SMB_SIGNING_IPC_DEFAULT for 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>
source3/lib/netapi/cm.c

index 801e61f4a4542ca68308fa437b2650c61f70337f..e9f2863952ff53ad3af251ad056ed58b8ee61df9 100644 (file)
@@ -88,7 +88,7 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
        if (!auth_info) {
                return WERR_NOMEM;
        }
-       auth_info->signing_state = SMB_SIGNING_DEFAULT;
+       auth_info->signing_state = SMB_SIGNING_IPC_DEFAULT;
        set_cmdline_auth_info_use_kerberos(auth_info, ctx->use_kerberos);
        set_cmdline_auth_info_username(auth_info, ctx->username);
        if (ctx->password) {