First shot at actually *doing* WINS failover.
commit40ae638866e3d826ccd5d827672634959c31b039
authorChristopher R. Hertel <crh@samba.org>
Fri, 11 Aug 2000 22:29:44 +0000 (11 22:29 +0000)
committerChristopher R. Hertel <crh@samba.org>
Fri, 11 Aug 2000 22:29:44 +0000 (11 22:29 +0000)
tree18a3789a835d249d43a34e436d135ed166bdbcc8
parentcfbf78085d48671e5be382e7486953a85a893be1
First shot at actually *doing* WINS failover.
If libsmb/namequery.c:name_query() times out while doing a non-broadcast
query, I mark that WINS server 'dead'.  Note that I don't try the new
WINS server.  I think I can get that working too.

This is only for queries, not registrations.  The biggest problem is that
I may have to fiddle with the UNICAST SUBNET, but I need to check talk
that over with someone (Jeremy?) before I hack at it.

I can't actually test the above change, I'm 'fraid.  I'm getting:

4 errors detected in the compilation of "rpc_server/srv_spoolss_nt.c".

in head branch.

Chris -)-----
source/libsmb/namequery.c