[jcifs] SmbFile getURL OpenStream not working SmbAuthException account currently disabled.

Ashokkumar ashokkumar.bala at tcs.com
Mon Sep 13 01:44:40 MDT 2010


Michael B Allen <ioplex <at> gmail.com> writes:

> 
> Hi Ashokkumar,
> 
> Ahh. I didn't read your message carefully. I understand your problem now.
> 
> The problem is that the java.net.URL class instance returned by getURL
> will not propagate the supplied credential. If you want to use the
> java.net.URL class, you will have to use default credential properties
> jcifs.smb.client.{domain,username,password}.
> 
> Mike
> 


Hello Mike,

I tried to set these properties using smbFile.addRequestProperty() method. 
But I am getting the same error still. Could you please guide me what method I 
should use to set these properties.

Thanks and Regards,
Ashokkumar B.



More information about the jCIFS mailing list