smbclient -M sends NetBIOS session service header to port 445

Steve Langasek vorlon at netexpress.net
Tue Jan 7 04:36:01 GMT 2003


On Mon, Jan 06, 2003 at 10:24:44PM -0600, Christopher R. Hertel wrote:
> On Mon, Jan 06, 2003 at 02:23:13PM -0600, Steve Langasek wrote:
> : 
> > > The -p option should override the defaults in any case, though.  There are 
> > > folks who use port-redirection (for SSH links to the server, etc.).  
> > > They'd want -p to be authoritative, rather than just explicit.  :)
> > 
> > Done.  See attached.

> Well, see, the thing about coders is...

> I fiddled your patch.  I'm applying the one below.  Same idea, except that 
> I put it with the '-M' code in the switch().  If the '-p' option is 
> entered later on the command line, it will override the value of <port>.

:D  

Looks good to me.

-- 
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030107/1c52faaa/attachment.bin


More information about the samba-technical mailing list