[jcifs] Very minor oddity testing SmbComTreeConnectAndX.java

Caldarale, Charles R Chuck.Caldarale at UNISYS.com
Sat Jul 27 03:47:42 EST 2002

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

 - Chuck

More information about the jcifs mailing list