[jcifs] Problem with DFS files!!!

Krishna Chaitanya kpkchaitanya at gmail.com
Fri Feb 4 07:25:00 GMT 2005


I am facing a problem with files on Distributed File System.  I am
using SMBFile and SMBFIleInputStream Classes of jcifs.jar. I am able
to access the files on DFS in our environment. In a different
environment, the same program has failed to work properly.

I am using the below code 

SmbFile	f = new SmbFile(
"smb://intrapal;rsrikanth:nann123@intrapal.com/jnjtest/raman/Ldap/ldp.doc"
);

and then i am using the input stream of the file.

If do a similar attempt in our client's environment. I am getting an exception 

jcifs.smb.SmbException: The network name cannot be found.
       at jcifs.smb.SmbTransport.send(SmbTransport.java:704)


Can some one suggest what could have gone wrong. Does this have to do
with any wins server configuration or any thing. Or will it help if i
use jcifs-1.1.7.jar.........the latest jar file......

Thanks,
Chaitanya.


More information about the jcifs mailing list