tcurdt at managesoft.com
Tue Aug 3 14:01:01 GMT 2004
Eric Glass wrote:
> 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").
Hm... but that's what I did use in the first place.
Just using "MYDOMAIN" gives me an UnknownHostException as well
as using "MYDOMAIN-MGSFT-TEST" (not sure if there is such
a fully qualified name in the NetBIOS world at all. But I've
seen such syntax before)
Only using "MYDOMAIN.MGSFT.TEST" seems to connect to the machine.
What wrong here?
More information about the jcifs