[jcifs] authentication

Torsten Curdt tcurdt at vafer.org
Thu Jul 13 10:16:06 GMT 2006


> Just do:
>
> SmbFile f = new SmbFile("smb://server/ipc$", new NtlmPasswordAuthentication(null, "user", "pass"));

...but I also will have to check f.canRead() to see whether I can get
acces, right?

cheers
--
Torsten


More information about the jcifs mailing list