[jcifs] jCIFS and Share name length?

rjw rob at wygand.com
Fri Nov 16 10:16:10 EST 2001


With the URL encoding/decoding fix I made, spaces work just great.

But I'm poking around with share name length. What I'm seeing is that 
jCIFS doesn't even seem to get a response back containing the long share 
names... it looks like Windows NT is preventing us from seeing them...

I'm wondering if we need to set a header field differently to masquerade 
as something capable of seeing longer sharenames...


Allen, Michael B (RSCH) wrote:

>>-----Original Message-----
>>From:	rjw [SMTP:rob at wygand.com]
>>FYI, we're running NT 4.0 sp6 and it allows share names with spaces, -'s 
>>and longer than 16 chars. I think it was introduced in one of the 
>>service packs...
> 	Ok. Spaces shouldn't be a problem for jCIFS. It's just shares longer than 13 chars. I'm
> 	running sp3. I'll try to get sp6 one of these days.
> 	Mike

"They that can give up essential liberty to obtain a little
  temporary safety deserve neither liberty nor safety."

More information about the jcifs mailing list