CVS update: samba/source/nsswitch

Christopher Hertel crh at au2.samba.org
Thu Oct 12 02:54:18 EST 2000


Date:	Thursday October 12, 2000 @ 1:54
Author:	crh

Update of /data/cvs/samba/source/nsswitch
In directory samba:/tmp/cvs-serv951

Modified Files:
	wins.c 
Log Message:
Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()
when looking up the WINS server address.

Please *don't* use lp_wins_server() any more!

The wins_srv_ip() function has the following features:

- If the WINS server was entered as a DNS name then the translation to an
  IP address will already have taken place.  We used to do this every time
  a call to the WINS server was made.  Ick.

- The return value of wins_srv_ip() is a struct in_addr.  Ready to go.

- When WINS failover is fully implemented, you'll be able to enter a colon-
  separated list of WINS servers via the WINS SERVER parameter.  Using
  lp_wins_server() directly will fail if this syntax is used.

Chris -)-----
 

Samba Team -- http://samba.org/         -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   Open Source utilities
Amiga Team -- http://www.amiga.com/     -)-----   crh at ubiqx.mn.org




More information about the samba-cvs mailing list