[jcifs] enumerating domains with Wins server
Michael B Allen
mba2000 at ioplex.com
Fri Mar 19 02:36:46 GMT 2004
Christopher R. Hertel said:
>> The problem with this, in my view, is that the resulting picture of the
>> network neighborhood depends on the [LMB] that answers first, and its list
>> of domains may not be authoritative.
> If you s/PDC/LMB then you're absolutely right.
You can see that SmbFile.getAddress is where the MASTER_BROWSER_NAME is
queried. You could easily override that to specify a different address in
which case you could get the browse list for a particular LMB or DMB. But
it will never be "authoritative" like DNS. The browse service is
In the future we might permit specifying an address with the URL using a
query string parameter such as perhaps:
The SMB URL draft link is broken. Is the one on the Davenport site current?
More information about the jcifs