[jcifs] Listing servers of a domain

Michael B Allen ioplex at gmail.com
Fri Jul 16 13:54:40 MDT 2010


On Fri, Jul 16, 2010 at 9:33 AM, Florian <f.scholz at arics.de> wrote:
> Hello!
>
> 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!

Hi Florian,

NetBIOS is no longer reliable. To list the servers of a domain you
should use DNS SRV lookups. This is something that JCIFS does not
currently do (although it probably will in the future when we finally
give in to using JNDI).

Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list