s3:rpc_client: Add rpc_pipe_open_local_np()
commit188586dddde933ef9dfd8e732593982a1a65e540
authorVolker Lendecke <vl@samba.org>
Wed, 7 Apr 2021 07:19:27 +0000 (7 07:19 +0000)
committerVolker Lendecke <vl@samba.org>
Fri, 10 Dec 2021 14:02:30 +0000 (10 14:02 +0000)
tree1dd77eaab84e68cc87f5c39d66577fa1ee8a95c3
parentd3e1ece1a451f9f91a2c2a4fc3169ac08c4758ba
s3:rpc_client: Add rpc_pipe_open_local_np()

Helper routine to connect to bind to a locally started rpcd_* process's
rpc interface.

Based upon local_np_connect() to start samba-dcerpcd on demand if it's
not there, designed to replace our internal RPC interfaces where the
RPC server runs in the same process. This will be called from winbindd_cm.c
and source3/rpc_server/rpc_ncacn_np.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h