summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 0634b25839..966b61e58e 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -72,7 +72,7 @@ static int do_global_checks(void)
ret = 1;
}
- if (lp_wins_support() && lp_wins_server_list()) {
+ if (lp_we_are_a_wins_server() && lp_wins_server_list()) {
fprintf(stderr, "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;