eric.glass at gmail.com
Mon Aug 2 16:57:06 GMT 2004
The connection is being made anonymously; this is likely the cause of
the error. Try doing:
NtlmPasswordAuthentication auth =
new NtlmPasswordAuthentication("DOMAIN", "user", "password");
final ServerManagement management = new ServerManagement(m_domain, auth);
Alternatively, you can set the "jcifs.smb.client.domain",
"jcifs.smb.client.username", and "jcifs.smb.client.password"
properties to specify the default credentials for connections.
On Mon, 02 Aug 2004 18:08:46 +0200, Torsten Curdt <tcurdt at managesoft.com> wrote:
> > Error 59 is "An unexpected network error occurred":
> > http://msdn.microsoft.com/library/en-us/debug/base/system_error_codes__0-499_.asp
> > Not a terribly useful error, but I guess they weren't expecting it ;)
> Hm... strange! ...a network error?! :-/
> > I'm not sure what would cause this; if you have a packet capture (see
> > http://jcifs.samba.org/capture.html), I can take a look at it; just
> > send it to me directly.
> Cool! Will do!
> Thanks a lot!
More information about the jcifs