CVE-2015-5370: s3:rpc_server: make use of pipe_auth_data->auth_context_id
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jul 2015 22:01:37 +0000 (00:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 30 Mar 2016 02:10:16 +0000 (04:10 +0200)
commit2bc617293a5d8652e484af69660b3646f3d48690
treebc87c55c27d518795b31a2a9db548c51ab9afd87
parentae68d3f325c3880144b80385779c9445897646e6
CVE-2015-5370: s3:rpc_server: make use of pipe_auth_data->auth_context_id

This is better than using hardcoded values.
We need to use the value the client used in the BIND request.

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_server/rpc_ncacn_np.c
source3/rpc_server/srv_pipe.c