[jcifs] Listing servers of a domain
Del Merritt
del at alum.mit.edu
Fri Jul 16 08:04:01 MDT 2010
Florian wrote:
> 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
> (smb://<NetBIOS-domainname>/)
> 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:
foo.wonder.bar.com
Then what you present is "foo" and not "foo.wonder.bar.com".
-Del
More information about the jCIFS
mailing list