[jcifs] Very minor oddity testing SmbComTreeConnectAndX.java

Michael B. Allen miallen at eskimo.com
Sat Jul 27 05:03:09 EST 2002

On Fri, 26 Jul 2002 12:47:42 -0500
"Caldarale, Charles R" <Chuck.Caldarale at UNISYS.com> 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.

Yes, this sounds quite reasonable. I must admit I don't really know.

>  - Chuck

A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and more importantly to tasks that have not
yet been conceived. 

More information about the jcifs mailing list