Trying to understand epmapper registration
idra at samba.org
Fri Mar 2 15:54:12 MST 2012
On Sat, 2012-03-03 at 09:21 +1100, Andrew Bartlett wrote:
> This then calls rpc_spoolss_init() regardless of if spoolss is to be
> in a forked child or not. Shouldn't the registration happen only in
> child running the process? If not, how could we support unknown
> endpoints (dnsserver/drsupai/backupkey for example)?
> Given the support for automatically removing registrations when
> processes shut down, I imagined it would need to be registred from the
> same process.
Yes we need to move registration to the code that initializes these
services, so that it is called from the right process that happens to
initialize these services.
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical