[jcifs] name resolving
Michael B Allen
mba2000 at ioplex.com
Fri Sep 3 19:20:03 GMT 2004
On Fri, 3 Sep 2004 16:03:14 +0300
Alexander Buloichik <Alexander_Buloichik at epam.com> wrote:
> Hi, All !
> I see one interesting problem with my program which uses jcifs.
> Wins server returns two IP addresses for one name:
> alex at epmw082t1:/tmp$ nmblookup epmw025
> querying epmw025 on 10.6.15.255
> 10.6.2.70 epmw025<00>
> 188.8.131.52 epmw025<00>
> When I tried to connect to epmw025 host, then jcifs tried to connect to
> 184.108.40.206(second IP). All WIndows computers are tring to connecto to
> 10.6.2.70 address(first IP).
> Is it problem of jcifs ? What host should be connected in this case ?
> How can I setup jcifs for connect to first entry ?
Try setting jcifs.http.loadBalance=false and/or
Greedo shoots first? Not in my Star Wars.
More information about the jcifs