Ethereal-dev: Re: [Ethereal-dev] packet-smb big patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Todd Sabin <tas@xxxxxxxxxxx>
Date: 18 Nov 2001 16:44:24 -0500
Richard Sharpe <sharpe@xxxxxxxxxx> writes:

> Guy Harris wrote:
> 
> > On Tue, Nov 13, 2001 at 07:05:21AM +1100, Ronnie Sahlberg wrote:
> >
> 
> >>struct smb_unmatched {
> >>    address src;
> >>    address dst;
> >>
> > Is it necessarily the case that a client will have only one
> > connection
> 
> > to a server?  I would not assume that to be the case.
> 
> 
> Indeed it is not the case. A Samba server can advertise multiple
> NetBIOS names, as can some NT servers. A client creates a separate
> connection if the NetBIOS name is different.
> 

Not only that, but you can also connect by specifying the IP, ala
\\a.b.c.d\share, which will make another TCP connection.  And then
there are the non-MS clients which may do other things, as well.  I
have some SMB client code which makes multiple connections to a given
server, even with the same netbios name.  Each connection has to
specify a different vc_no in the SMB session setup, or NT will reset
one of the TCP connections, but it does work.


Todd