source4 smdb rpc_server: Support prefork process model.
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 29 Aug 2018 03:07:32 +0000 (15:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 7 Nov 2018 16:55:09 +0000 (17:55 +0100)
commit58c4490e24c2a0429052e131ba8022c58ea02ecf
treeed39686f962557ce23cf4fb5cb9d3e200586f5d6
parentb003134e0d1cdc235e00a602edd2e745233f98b8
source4 smdb rpc_server: Support prefork process model.

Allow the rpc_server to run in the prefork process model. Due to the use
of shared handles and resources all of the rpc end points are serviced
in the first worker process. Those end points that can be run in
multiple processes (currently only Netlogon and management) are serviced in
the first and any subsequent workers.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/service_rpc.c