[jcifs] Long Sharenames

Lander Erzeel lander.erzeel at eurotronics.com
Fri Jul 23 09:12:38 GMT 2004


I just started using JCIFS (version 0.9.6), and have a small question. When
I list the shares on a server, JCIFS does not list the shares whose names
are more than 12 characters. Is this a known problem, or am I doing
something wrong?

String[] files = new SmbFile( "smb://MYSERVER/" ).list();

I can see all shares on all servers of my network, except those whose names
are 13 characters or more.

Though I cannot list those shares, I can still access them without problem:

String[] files = new SmbFile(
"smb://MYSERVER/myverlylongshare/" ).list(); -> works

The shares or on Windows 2000 servers, my java version is 1.4.2_02.




More information about the jcifs mailing list