CVS update: samba/source/nsswitch
tridge at samba.org
tridge at samba.org
Wed Jun 26 22:17:11 EST 2002
Date: Wed Jun 26 05:17:11 2002
Author: tridge
Update of /home/cvs/samba/source/nsswitch
In directory va:/tmp/cvs-serv9645/nsswitch
Modified Files:
winbindd_wins.c wins.c
Log Message:
This commit finally gives us multiple wins server groups. We now
accept an extended syntax for 'wins server' like this:
wins server = group1:192.168.2.10 group2:192.168.3.99 group1:192.168.0.1
The tags before the IPs don't mean anything, they are just a way of
grouping IPs together. If you use the old syntax (ie. no ':') then
an implicit group name of '*' is used. In general I'd recommend people
use interface names for the group names, but it doesn't matter much.
When we register in nmbd we try to register all our IPs with each group
of WINS servers. We keep trying until all of them are registered with
every group, falling back to the failover WINS servers for each group
as we go.
When we do a WINS lookup we try each of the WINS servers for each group.
If a WINS server for a group gives a negative answer then we give up
on that group and move to the next group. If it times out then
we move to the next failover wins server in the group.
In either case, if a WINS server doesn't respond then we mark it dead
for 10 minutes, to prevent lengthy waits for dead servers.
Revisions:
winbindd_wins.c 1.6 => 1.7
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_wins.c?r1=1.6&r2=1.7
wins.c 1.19 => 1.20
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wins.c?r1=1.19&r2=1.20
More information about the samba-cvs
mailing list