[jcifs] Some shares are not reported by jCIFS

Matthew Tippett matthew at casero.com
Tue Dec 31 06:37:13 EST 2002


What we have seen is that if you set a sharename to be greater than 12 
(or though it may be 13) characters, the name just won't appear in the 
listing.  Shorten the name, and magically it appears.

Regards,

Matthew


Michael B. Allen wrote:
> On Mon, 30 Dec 2002 14:02:25 -0500
> "Matthew Tippett" <matthew at casero.com> wrote:
> 
>>We have seen problems with shares longer than 12 characters (8+3+'.' - 
>>Hmmm), check that.  It looks like XP has extended the name of shares 
>>without necessarily making it broadly known.
> 
> The NetShareEnum RAP function only supports 13 8 bit characters. Longer
> Unicode names may be retrieved with the analogous DCE/RPC function
> however we do not support that at this time. XP may be using DCE/RPC
> functions exclusively although I'm not sure what you're referring to
> Matt. For Solaris, I suppose the server is ASU or Samba in which case
> I do not know why some shares would not be returned. It could be the
> same reason as above or something else. We would need a packet capture
> to know definitively.
> 





More information about the jcifs mailing list