From 0f040b58a2d4ecb9220e443337a7747835ce2521 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 15 Jul 2008 12:55:57 +0200 Subject: testparm: skip the per-share logic checks when --skip-logic-checks is specified. Michael (This used to be commit 6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe) --- source3/utils/testparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index af20d04606..dd4cef8e23 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -293,7 +293,7 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ } for (s=0;s<1000;s++) { - if (VALID_SNUM(s)) { + if (VALID_SNUM(s) && (skip_logic_checks == 0)) { const char **deny_list = lp_hostsdeny(s); const char **allow_list = lp_hostsallow(s); int i; -- cgit