Trying to understand epmapper registration

simo idra at
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
> run
> in a forked child or not.  Shouldn't the registration happen only in
> the
> 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.


Simo Sorce
Samba Team GPL Compliance Officer <simo at>
Principal Software Engineer at Red Hat, Inc. <simo at>

More information about the samba-technical mailing list