summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/test_local.sh2
-rw-r--r--source4/torture/local/sddl.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/script/tests/test_local.sh b/source4/script/tests/test_local.sh
index 324cad1118..eda7b44ca5 100755
--- a/source4/script/tests/test_local.sh
+++ b/source4/script/tests/test_local.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-local_tests="LOCAL-NTLMSSP LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET LOCAL-PAC LOCAL-STRLIST"
+local_tests="LOCAL-NTLMSSP LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET LOCAL-PAC LOCAL-STRLIST LOCAL-SDDL"
if [ $# -lt 0 ]; then
cat <<EOF
diff --git a/source4/torture/local/sddl.c b/source4/torture/local/sddl.c
index fa7d15f606..d6c0130798 100644
--- a/source4/torture/local/sddl.c
+++ b/source4/torture/local/sddl.c
@@ -35,7 +35,9 @@ static BOOL test_sddl(TALLOC_CTX *mem_ctx, const char *sddl)
printf("Failed to decode '%s'\n", sddl);
return False;
}
- NDR_PRINT_DEBUG(security_descriptor, sd);
+ if (DEBUGLVL(2)) {
+ NDR_PRINT_DEBUG(security_descriptor, sd);
+ }
talloc_free(sd);
return True;
}