eric.glass at gmail.com
Tue Aug 3 13:14:03 GMT 2004
I think I see the issue; I should have picked up on this earlier. The
domain name in the netServerEnum call needs to be a NetBIOS style
name. From your trace, you appear to be using a DNS style (e.g.
"my.domain.com"). While this could be used to make the connection to
the domain controller (as jCIFS can resolve names via DNS) the actual
NetServerEnum RAP call only takes NetBIOS names (e.g. "MYDOMAIN").
On Tue, 03 Aug 2004 11:31:58 +0200, Torsten Curdt <tcurdt at managesoft.com> wrote:
> > 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);
> Hm... I tried but it did not help :-(
> Passing in empty (user="" password="") credentials gives me
> an "unverifiable signature" exception. Passing in the real
> domain administrator credentials or even any bogus user
> password combination(!) gives me the RapException with error
> 59 again.
> Any further ideas?
> Anyone using JCIFS with Windows Server 2003?
More information about the jcifs