[jcifs] SmbFile getURL OpenStream not working SmbAuthException account currently disabled.
Michael B Allen
ioplex at gmail.com
Tue Sep 28 10:21:44 MDT 2010
Hi Ashokkumar,
I don't think addRequestProperty does anything. You want to set the
jcifs.smb.client.{domain,username,password} properties as described on
this page:
http://jcifs.samba.org/src/docs/api/overview-summary.html#scp
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
On Tue, Sep 28, 2010 at 3:39 AM, Ashokkumar B <ashokkumar.bala at tcs.com> wrote:
> Ashokkumar <ashokkumar.bala <at> tcs.com> writes:
>
>
> 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
>
> should use to set these properties.
>
> Thanks and Regards,
> Ashokkumar B.
>>
>>
>
>
> Dear Mike,
>
> Could you please let me know how to set the default credential properties?
>
> Thanks and Regards,
> Ashokkumar B.
>
>
More information about the jCIFS
mailing list