[jcifs] Listing servers of a domain
del at alum.mit.edu
Fri Jul 16 08:04:01 MDT 2010
> The documentation says that it's possible to list the servers of a
> workgroup via
> the (NetBIOS-)workgroup-name.
> Is that although possible for a domain?
> Do I have to use the NetBIOS-domainname in the url
> for that?
> I did a test and the DNS-domainname doesn't work!
Ayup; the only difference between a domain and workgroup is authentication.
One thing you need to do is to strip off the "hostname" portion. E.g., if
your domain is:
Then what you present is "foo" and not "foo.wonder.bar.com".
More information about the jCIFS