Make windows connect to a port other than 139

Jens B. Jorgensen jjorgens at bdsinc.com
Tue Jun 2 18:31:50 GMT 1998


Stefaan A Eeckels wrote:

> Robert,
>
> >       I'm planning to run my own SMB server on some box,
> >       binding to a user level port (>1024). Problem is,
> >       WINDOWS (both Nt and 95) only connects to an SMB
> >       server on ports 137-139. So, the question is:
> >       is there a way to make WINDOWS connect to a specified port on the
> >       remote host when mapping a network drive? Something like:
> >       NET USE \\myserver:myport\myservice \USER:username etc..
> The simple answer is 'NO'. The MS clients can't use SMB on
> anything else but the standard ports.

It's even worse than that. Win95 boxes only respond to NMB packets on port
137 even when they're supposed to respond on the source port of the
request...

--
Jens B. Jorgensen
jjorgens at bdsinc.com




More information about the samba-ntdom mailing list