1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/nmbd
Christopher R. Hertel 3c9e410c34 Instead of handing back a string (which might be a DNS name or an IP
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 73aa188320)
2000-07-19 05:32:43 +00:00
..
.cvsignore get away with dummy and .dummy files 1998-09-29 04:52:17 +00:00
asyncdns.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
nmbd_become_dmb.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_become_lmb.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_browserdb.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
nmbd_browsesync.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_elections.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_incomingdgrams.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
nmbd_incomingrequests.c don't qsort a list less than 2 entries 2000-04-25 00:45:42 +00:00
nmbd_lmhosts.c The function add_name_to_subnet(), in file nmbd_namelistdb.c, returns a 1998-06-23 08:15:05 +00:00
nmbd_logonnames.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_mynames.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_namelistdb.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_namequery.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_nameregister.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_namerelease.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_nodestatus.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_packets.c Linux kernel oplocks now seem to work, but need a _lot_ of testing 2000-06-11 05:57:58 +00:00
nmbd_processlogon.c Fixed wild pointer diff found by insure. 2000-05-02 23:56:24 +00:00
nmbd_responserecordsdb.c this looks like a big commit, but it isn't really :) 2000-01-07 06:55:36 +00:00
nmbd_sendannounce.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
nmbd_serverlistdb.c first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
nmbd_subnetdb.c Instead of handing back a string (which might be a DNS name or an IP 2000-07-19 05:32:43 +00:00
nmbd_synclists.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
nmbd_winsproxy.c Modified auto alignment of ud[] struct on stack to be declared as an 2000-01-28 23:47:31 +00:00
nmbd_winsserver.c Added sys_fork() and sys_getpid() functions to stop the overhead 2000-05-02 02:23:41 +00:00
nmbd_workgroupdb.c fixed a parameter bug found by insure 2000-04-24 11:30:45 +00:00
nmbd.c more merging 2000-05-10 09:49:55 +00:00