NetBIOS-free SMB protocol on port 445 in Windows 2000/XP

Andrew Tridgell tridge at samba.org
Fri Aug 31 23:16:50 GMT 2001


> No.  Only in the old TNG branch (unless Andrew added server side code last
> week to HEAD).  Definitely not in release versions.

well, you can run just about any version of Samba on port 445 if you
use inetd. I use the following:

 netbios-ssn stream tcp nowait root /home/tridge/prefix/sbin/smbd smbd
 445 stream tcp nowait root /home/tridge/prefix/sbin/smbd smbd

We do need to add support for 445 when running as a daemon, but in the
meantime if you do need 445 support for some reason then the above
will work. It also works running in mixed inetd-server mode, where it
listens on 139 as a daemon and 445 via inetd.

The reason this works is that Samba has never really cared if the
client sends a NBT session request or not. That means the smbd code
works "out of the box" on 445 where the request is not sent.

Cheers, Tridge




More information about the samba-technical mailing list