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>
Tue, 12 Apr 2016 17:25:26 +0000 (19:25 +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 0e05af84312821ba13311b250b6730b2020dd80b..37632af241b3039e47dfe106b5cb24a14ebd273d 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) {