summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-09-30 19:26:44 +0000
committerGerald Carter <jerry@samba.org>2002-09-30 19:26:44 +0000
commite5323386143ad9950581b88cc0779ce36dceb6bd (patch)
treeb4005660699abcee1e9e5a45825e24345e1953ce /source3
parentf6bdffbf8dfc28329e87fcc383008c685110db96 (diff)
downloadsamba-e5323386143ad9950581b88cc0779ce36dceb6bd.tar.gz
samba-e5323386143ad9950581b88cc0779ce36dceb6bd.tar.bz2
samba-e5323386143ad9950581b88cc0779ce36dceb6bd.zip
logic error in checking wins servers--merged from HEAD
(This used to be commit a1c4a16267653375fbbc73de9234ddadbe92a396)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/testparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index d48cecba47..c81d6e72e4 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -52,8 +52,8 @@ static int do_global_checks(void)
ret = 1;
}
- if (lp_wins_support() && wins_srv_count()) {
- printf("ERROR: both 'wins support = true' and 'wins server = <server>' \
+ if (lp_wins_support() && lp_wins_server_list()) {
+ printf("ERROR: both 'wins support = true' and 'wins server = <server list>' \
cannot be set in the smb.conf file. nmbd will abort with this setting.\n");
ret = 1;
}