summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 09948b8635..9397ea2520 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -157,6 +157,11 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
}
}
+ if (lp_status(-1) && lp_max_smbd_processes()) {
+ printf("ERROR: the 'max smbd processes' parameter is set and the 'status' parameter is set to 'no'.\n");
+ ret = 1;
+ }
+
return ret;
}