diff options
author | Christopher R. Hertel <crh@samba.org> | 2001-08-29 02:49:14 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 2001-08-29 02:49:14 +0000 |
commit | 968c947e8bb35cf2441f3ebbb234429f5c1733c6 (patch) | |
tree | 08bc1d79b4e5e1845aabd502f11c7b3abc6986d3 /source/param | |
parent | 9ec6a8735682c7dfe9f8573f063da7625d425d8a (diff) | |
download | samba-968c947e8bb35cf2441f3ebbb234429f5c1733c6.tar.gz samba-968c947e8bb35cf2441f3ebbb234429f5c1733c6.tar.xz samba-968c947e8bb35cf2441f3ebbb234429f5c1733c6.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 -)-----
Diffstat (limited to 'source/param')
-rw-r--r-- | source/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index c69e2364080..2a991466a1a 100644 --- a/source/param/loadparm.c +++ b/source/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) |