]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
testparm: skip the per-share logic checks when --skip-logic-checks is specified.
authorMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 10:55:57 +0000 (12:55 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 10:56:35 +0000 (12:56 +0200)
Michael

source/utils/testparm.c

index af20d0460680d6215a64da323d1d13e7ae90b1ba..dd4cef8e23b1e2beafe4302025575c643905e308 100644 (file)
@@ -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;