CVE-2015-5370: s3:rpc_client: make use of pipe_auth_data->auth_context_id
commit7ab9a8c3b224052c7422ebd02fe83171ed999688
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jul 2015 22:01:37 +0000 (8 00:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 30 Mar 2016 02:21:41 +0000 (30 04:21 +0200)
treefb856813ac223dd8aefdc0df9cd0074891a28085
parent7f2d791d76d9623462c6720047435e84ba755856
CVE-2015-5370: s3:rpc_client: make use of pipe_auth_data->auth_context_id

This is better than using hardcoded values.
We need to use auth_context_id = 1 for authenticated
connections, as old Samba server (before this patchset)
will use a hardcoded value of 1.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11344

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/rpc_client/cli_pipe.c