summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-09-30 15:18:59 +0000
committerGerald Carter <jerry@samba.org>2002-09-30 15:18:59 +0000
commit07d3df8c2df174b328051d7cac988751750825df (patch)
tree96a52f78cedd874b1acd8b84414af82409621d70
parent4b5c0793de285b6978ca5b6161418d51812ac0ba (diff)
downloadsamba-07d3df8c2df174b328051d7cac988751750825df.tar.gz
samba-07d3df8c2df174b328051d7cac988751750825df.tar.bz2
samba-07d3df8c2df174b328051d7cac988751750825df.zip
fix logic error in testparm with wins servers
(This used to be commit b9942092cf3d0a9fbf94b51b576836a86059551b)
-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;
}