ephemeral ports and port re-use for socket_wrapper emulated TCP bind()

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Fri Aug 21 00:37:52 UTC 2026


On 20/08/2026 17:35, Stefan Metzmacher wrote:
> What is your high level goal?

I want "rpc server port:drsuapi = 12345" to work (or "rpc server dynamic 
port range:drsuapi").

In the test environments, we only use this mechanism to say the
*opposite* of what we really mean. We go:

    rpc server port:netlogon = 1026

as a workaround so that netlogon does not clobber the other rpc port.
But in the real world netlogon is the one that needs different ports 
over the 4 or so workers.

I guess I don't really need to fix this, but it would be nice for it not 
to be backwards.

Douglas




More information about the samba-technical mailing list