[jcifs] Access denied when listing shares on a server with Guest account disabled

Michael B Allen mba2000 at ioplex.com
Fri May 20 20:08:01 GMT 2005

On Fri, 20 May 2005 12:28:20 +0100
Matt Todd <m.todd at vqual.com> wrote:

> Even though I am constructing a NtlmPasswordAuthentication object with a
> domain (null), username and password it appears to be logging in as
> guest when I call SmbFile.listFiles. It works if the server i'm browsing
> has a guest account, but if i disable the guest account I get an access
> denied message. Why does jcifs not use the login details provided?

What credentials exactly do you wish to use? Post a trivial code sample.


More information about the jcifs mailing list