rpcclient3: Factor out cli_rpc_pipe_open_bind_schannel()
commitde2279df55dea426f73c485917676976f7a6e28c
authorVolker Lendecke <vl@samba.org>
Sun, 17 Sep 2017 21:28:44 +0000 (17 14:28 -0700)
committerVolker Lendecke <vl@samba.org>
Mon, 25 Sep 2017 07:43:13 +0000 (25 09:43 +0200)
tree7153b859c594f2c5ff4ad050500a42b7db189a58
parent9f4fc9f8a6e6a953c004eb649e2190b4a4670eaf
rpcclient3: Factor out cli_rpc_pipe_open_bind_schannel()

This will be used for the "fast path" to netlogon when we already have
credentials.

This slightly widens the area of code covered by the netlogon_creds
lock: cli_rpc_pipe_open is now also covered by the lock.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h