[jcifs] Very minor oddity testing SmbComTreeConnectAndX.java

Christopher R. Hertel crh at ubiqx.mn.org
Sat Jul 27 04:40:24 EST 2002

On Fri, Jul 26, 2002 at 12:47:42PM -0500, Caldarale, Charles R wrote:
> > From: Allen, Michael B (RSCH) [mailto:Michael_B_Allen at ml.com]
> > Subject: RE: [jcifs] Very minor oddity testing SmbComTreeConnectAndX.java
> > 
> > PS.  As far as I can tell W/95 ignores that bit in a TreeConnect... which 
> >      makes sense.  Why would there be a disconnect bit in a tree connect 
> >      request?  Am I missing something or is this just silliness in the
> >      SMB?
> >
> > > It means after servicing the AndX message to disconnect.
> Hmmm. I was under the impression that this bit meant to disconnect an
> existing TID (the one in the request header), and then create a new
> connection with the requested service and share name. The spec, not
> unexpectedly, is ambiguous on this issue.

That would make sense too.  I think I'm going to need to devise a test of 
some sort and see what W/9x and W2K do.


Chris -)-----

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 jcifs mailing list