s3-smbd: Move rpc services init to smbd parent.
authorAndreas Schneider <asn@samba.org>
Tue, 10 Aug 2010 10:29:27 +0000 (12:29 +0200)
committerSimo Sorce <idra@samba.org>
Fri, 13 Aug 2010 16:20:10 +0000 (12:20 -0400)
commitaff002e829b8169997f7f446959e2f1d5baf3a60
treeab5983a8cdc8067d80cc313f7df7946b114ec274
parent62a2a9e27f8983717f13dbe3d92b21ed4b9bf22e
s3-smbd: Move rpc services init to smbd parent.

The move to the parent makes it possible to use an internal rpc pipe
really early and as we migrated serveral parts of samba to rpc function
this is required. This should speed up the fork of a smbd a bit cause
the rpc services are already running.

We still have several problems here which aren't solved. We don't have a
dependency tree here. For example we have to make sure that the registry
is initialized before we can use the winreg pipe. The spoolss server
requires winreg, so we have to start winreg before we can start the
spoolss server. I'm sure there are more dependencies.

Signed-off-by: Simo Sorce <idra@samba.org>
source3/smbd/process.c
source3/smbd/server.c