CVE-2015-5370: s3:rpc_client: make use of pipe_auth_data->auth_context_id
commita3fc86d3912078c445a933d167b4aff63bdeff37
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:39:49 +0000 (30 04:39 +0200)
treedd936de1492bb6e9535e171b1c12110d08431cf5
parent6d509e3e7517c1de73818695ef79b42aa7d0e6bb
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