[jcifs] Samba home shares - possible bug

Christopher R. Hertel crh at ubiqx.mn.org
Sun Oct 19 03:11:38 EST 2003

eglass1 at comcast.net wrote:
> > new SmbFile("smb://server/").listFiles() returns "share1, share2"
> > new SmbFile("smb://mike:x@server/").listFiles returns "share1, share2, mike"
> > new SmbFile("smb://jim:x@server/").listFiles returns "share1, share2, mike,
> > jim"
> >
> My educated guess would be that this is due to the fact that we multiplex
> multiple sessions over the same transport (although Mike or Chris would
> be able to elucidate further).

Well, it's either in the caching or, as you suggest, in the fact that we
multiplex sessions.  There can be several SessionSetups per connection, so
multiple logons and possibly multiple "homes" shares visible.  I have no
idea if that's the source of the problem or not.  Caching was a good thing
to check.

I agree that this is not the desired behavior.


Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
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