summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2001-08-29 02:49:14 +0000
committerChristopher R. Hertel <crh@samba.org>2001-08-29 02:49:14 +0000
commit10d1c6a35fed84e84d03d8dda3ecfd6c2eabca8f (patch)
treec107022dc546d0ce840e08bb4a3b3ff8024ad081
parentb03a2011bb5a038cf9f3fd20351516420c6fc88a (diff)
downloadsamba-10d1c6a35fed84e84d03d8dda3ecfd6c2eabca8f.tar.gz
samba-10d1c6a35fed84e84d03d8dda3ecfd6c2eabca8f.tar.bz2
samba-10d1c6a35fed84e84d03d8dda3ecfd6c2eabca8f.zip
lp_wins_server() is now lp_wins_server_list().
This should make it clear that the meaning of the parameter value has changed. It no longer represents *the* WINS server, but a list of WINS servers. I have made other changes in the code such that the lp_wins_server() function is no longer necessary. Whenever smb.conf is reloaded the list managed by lib/wins_srv.c is refreshed. The wins_srv_count() function returns the number of entries in the list so, if the list is empty, it will return 0 (which can be interpreted as "false" in an if() statement). Chris -)----- (This used to be commit 968c947e8bb35cf2441f3ebbb234429f5c1733c6)
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index c69e236408..2a991466a1 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1457,7 +1457,7 @@ FN_GLOBAL_STRING(lp_logon_drive, &Globals.szLogonDrive)
FN_GLOBAL_STRING(lp_logon_home, &Globals.szLogonHome)
FN_GLOBAL_STRING(lp_remote_announce, &Globals.szRemoteAnnounce)
FN_GLOBAL_STRING(lp_remote_browse_sync, &Globals.szRemoteBrowseSync)
-FN_GLOBAL_STRING(lp_wins_server, &Globals.szWINSserver)
+FN_GLOBAL_STRING(lp_wins_server_list, &Globals.szWINSserver)
FN_GLOBAL_LIST(lp_interfaces, &Globals.szInterfaces)
FN_GLOBAL_STRING(lp_socket_address, &Globals.szSocketAddress)
FN_GLOBAL_STRING(lp_nis_home_map_name, &Globals.szNISHomeMapName)