Christopher R. Hertel
crh at ubiqx.mn.org
Tue Aug 3 16:05:56 GMT 2004
On Tue, Aug 03, 2004 at 04:01:01PM +0200, Torsten Curdt wrote:
> 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?
On the surface, it looks to be a NetBIOS name resolution problem.
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs