Has smbclient behavior changed from 2.2.8a to 3.0.0?

Christopher R. Hertel crh at ubiqx.mn.org
Tue Nov 4 04:11:09 GMT 2003


On Tue, Nov 04, 2003 at 12:46:52AM +0100, Simo Sorce wrote:
> On Tue, 2003-11-04 at 00:27, Christopher R. Hertel wrote:
> > Um...
> > 
> > Note that you're talking to port 445!
> > 
> > Port 445 doesn't do NetBIOS.  No NetBIOS names, no NBT.
> > 
> > Not sure why your system is talking to port 445, but it's the wrong port 
> > for the kind of query you are trying to do.
> > 
> > Could be a bug in the way smbclient tries to connect to a remote host.
> 
> Yes, afaik smbclient now tries 445 first by default.

I'll have to file a bug report.

> Probably we should find out a way to tell smbclient to not use 445 when
> -L switch is issued and instead go directly to port 139.

Yep.

It appears that we can still get the list of shares via 445 (that is,
NetShareEnum still works), but getting the list of workgroups and servers 
certainly won't.

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the samba-technical mailing list