summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-15 12:55:57 +0200
committerMichael Adam <obnox@samba.org>2008-07-15 12:56:35 +0200
commit0f040b58a2d4ecb9220e443337a7747835ce2521 (patch)
tree9ae40db3a061dbe99cef817352cac969b44ae0a9 /source3
parent7cc155bdc11bed7564b1ee5564b358ff6a337459 (diff)
downloadsamba-0f040b58a2d4ecb9220e443337a7747835ce2521.tar.gz
samba-0f040b58a2d4ecb9220e443337a7747835ce2521.tar.bz2
samba-0f040b58a2d4ecb9220e443337a7747835ce2521.zip
testparm: skip the per-share logic checks when --skip-logic-checks is specified.
Michael (This used to be commit 6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe)
Diffstat (limited to 'source3')
-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 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;