Trying to understand epmapper registration

Andrew Bartlett abartlet at samba.org
Thu Mar 1 23:36:33 MST 2012


Andreas,

I've been trying to understand the endpoint mapper registration,
starting with the errors we currently get in the plugin_s4_dc
environment.
/data/samba-2/bin/smbd: Failed to register endpoint 'dssetup'!
/data/samba-2/bin/smbd: ../source3/rpc_client/cli_pipe.c:461: Bind NACK
received from host obed!
/data/samba-2/bin/smbd: Failed to register endpoint 'wkssvc'!
/data/samba-2/bin/smbd: ../source3/rpc_client/cli_pipe.c:461: Bind NACK
received from host obed!
/data/samba-2/bin/smbd: Failed to register endpoint 'svcctl'!
/data/samba-2/bin/smbd: ../source3/rpc_client/cli_pipe.c:461: Bind NACK
received from host obed!
/data/samba-2/bin/smbd: Failed to register endpoint 'ntsvcs'!
/data/samba-2/bin/smbd: ../source3/rpc_client/cli_pipe.c:461: Bind NACK
received from host obed!
/data/samba-2/bin/smbd: Failed to register endpoint 'eventlog'!
/data/samba-2/bin/smbd: ../source3/rpc_client/cli_pipe.c:461: Bind NACK
received from host obed!
/data/samba-2/bin/smbd: Failed to register endpoint 'initshutdown'!

I've knocked up two patches, attached, which simplify the setup and
registration of the embedded rpc servers, but I would appreciate your
comment and direction.  I'm confused as to why this process is not
totally driven by the endpoint declarations in the IDL, as it appears to
be strongly influenced by it. 

The fundamental bug here is that the registration didn't consider that
services might be marked 'external', as they are in the plugin_s4_dc
environment.  The second patch addresses that. 

Anyway, let me know what you think, as I'm hoping to sort out the
endpoint registration as my next major task in progressing s3fs as our
file server solution. 

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-rpc_server-consolidate-rpc-server-init-routines.patch
Type: text/x-patch
Size: 20069 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/ea0bd90b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s3-rpc_server-Do-not-register-external-rpc-servers.patch
Type: text/x-patch
Size: 1180 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/ea0bd90b/attachment-0001.bin>


More information about the samba-technical mailing list