DCOM port 1024

Andrew Bartlett abartlet at samba.org
Tue Feb 15 00:16:28 MST 2011


On Mon, 2011-02-14 at 22:14 +0100, Jelmer Vernooij wrote:
> On Mon, 2011-02-14 at 13:07 -0800, tms3 at tms3.com wrote:
> > This came up on the samba lists for Samba4 firewall issues. Is this 
> > DCOM port really necessary? What does the samba AD model use it for?
> > 
> > TIA for any info, always appreciated.
> Can you provide some more context?
> 
> The port assignment (like most interfaces over ncacn_ip_tcp) of the DCOM
> interfaces is dynamically allocated. As far as I know we also don't
> enable DCOM by default anymore.

They sort of are - I think (it was this way when it was first done at
least...) we start at 1024 and work up, trying to be more predictable
than random ports we might get from bind().  I do wonder if this is
really the best idea, but anyway...

Andrew Bartlett

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



More information about the samba-technical mailing list