summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}