s3:rpc_server: Unify RPC client disconnect and termination functions
authorSamuel Cabrero <scabrero@suse.de>
Mon, 18 Feb 2019 19:28:05 +0000 (20:28 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 22 Jul 2019 16:49:15 +0000 (16:49 +0000)
commitcdaf06abadc92796d6c84f0e95172519071f1fa5
tree548be877e62ded6a90a815b392573423295cd723
parent5865cf4dd98bfe9c780d4ed4b8fe630a4a9949d0
s3:rpc_server: Unify RPC client disconnect and termination functions

These functions are used by endpoint mapper to delete the endpoints
when a NCALRPC connection from an external daemon is lost and by
preforked childs to accept the next client as soon as the current
connection terminates. We can use the same function for both purposes.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/printing/spoolssd.c
source3/rpc_server/epmapper/srv_epmapper.c
source3/rpc_server/epmapper/srv_epmapper.h
source3/rpc_server/epmd.c
source3/rpc_server/lsasd.c
source3/rpc_server/mdssd.c
source3/rpc_server/rpc_ncacn_np.c
source3/rpc_server/rpc_server.c
source3/rpc_server/rpc_server.h