summaryrefslogtreecommitdiff
path: root/source4/torture/local/sddl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local/sddl.c')
-rw-r--r--source4/torture/local/sddl.c4
1 files changed, 3 insertions, 1 deletions
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;
}