From: Michael Adam Date: Tue, 15 Jul 2008 10:55:57 +0000 (+0200) Subject: testparm: skip the per-share logic checks when --skip-logic-checks is specified. X-Git-Tag: samba-3.3.0pre1~550^2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe;p=thirdparty%2Fsamba.git testparm: skip the per-share logic checks when --skip-logic-checks is specified. Michael --- diff --git a/source/utils/testparm.c b/source/utils/testparm.c index af20d046068..dd4cef8e23b 100644 --- a/source/utils/testparm.c +++ b/source/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;