[jcifs] How to specify multiple domains

Sachin Shekar Shetty sachintheonly at yahoo.com
Mon Mar 30 04:00:35 GMT 2009


Hi,

I know that we can have failover by specifying a comma separated list for WINS server, however how can we achieve the same using domain controllers, specifying multiple domain controllers does not seem to work.

I tried just setting the domain name and let it do the JNDI lookup, that works for most of the cases, but sometimes it fails because the JNDI lookup resolves to non-available domain controller.

Thanks
Sachin



More information about the jcifs mailing list