[jcifs] no name with type 0x00 with no scope for host

Christopher R.Hertel crh at ubiqx.org
Fri Feb 22 08:10:15 EST 2002


One recurring theme in the NetBIOS chapter of my book is the interplay
between theory and practice.  My weakness in writing the book is that I am
heavy on the theory side.  You and some of the folks on the Samba Team are
further over on the practice side.  This is really kewl.  It works for the
same reason that having two eyes works better than having one.

Chris -)-----

On Thu, Feb 21, 2002 at 03:43:29PM -0500, Michael B Allen wrote:
> On Thu, 21 Feb 2002 01:31:34 -0600
> "Christopher R. Hertel" <crh at ubiqx.org> wrote:
> 
> > I tried changing the last byte to <20> in the outgoing packet and... no
> > response.  That's what I'd expect.
> 
> Whoops. I think you're right. I just did a preliminary test with jCIFS
> and it always uses 0x00 even if you specify another hexCode. I must have
> ran into this a while ago and casted that to 0x00. What's worse is that
> the getAllByAddress methods do not check for this name and just return
> whatever addresses were returned in the node status. Not a big deal
> because it's a pretty obscure case but I guess it should be fixed.
> 
> Mike
> 

-- 
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




More information about the jcifs mailing list