mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
3c9e410c34
string), the wins_srv module now hands back a struct in_addr when it's
called. It caches the IP address once it has been looked up. The IP
is cleared (and must be looked up again) if the 'wins server' parameter
is reread, or if the node is marked 'dead'. A dead node will not be
re-tried for 10 minutes (per a #define in wins_srv.c).
As it was, the code was reading the WINS server name or IP directly from
lp_wins_server. That's okay, except that if the value was expressed as
a name, then a DNS lookup would be done every time the client wanted to
talk to the server.
I still need to work out the implications of failover regarding the
'unicast subnet' list.
Chris -)-----
(This used to be commit
|
||
---|---|---|
.. | ||
.cvsignore | ||
asyncdns.c | ||
nmbd_become_dmb.c | ||
nmbd_become_lmb.c | ||
nmbd_browserdb.c | ||
nmbd_browsesync.c | ||
nmbd_elections.c | ||
nmbd_incomingdgrams.c | ||
nmbd_incomingrequests.c | ||
nmbd_lmhosts.c | ||
nmbd_logonnames.c | ||
nmbd_mynames.c | ||
nmbd_namelistdb.c | ||
nmbd_namequery.c | ||
nmbd_nameregister.c | ||
nmbd_namerelease.c | ||
nmbd_nodestatus.c | ||
nmbd_packets.c | ||
nmbd_processlogon.c | ||
nmbd_responserecordsdb.c | ||
nmbd_sendannounce.c | ||
nmbd_serverlistdb.c | ||
nmbd_subnetdb.c | ||
nmbd_synclists.c | ||
nmbd_winsproxy.c | ||
nmbd_winsserver.c | ||
nmbd_workgroupdb.c | ||
nmbd.c |