summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-08 23:06:21 -0800
committerJeremy Allison <jra@samba.org>2008-11-08 23:06:21 -0800
commitd64caaf593201ca02ab9eac86e98c5adab3faf72 (patch)
tree7fb23f936b7b6cd15d1aa4e077f011bafaff0a58
parent813bf8b4f463199b7c2d3cddab7056b8a68a0b70 (diff)
downloadsamba-d64caaf593201ca02ab9eac86e98c5adab3faf72.tar.gz
samba-d64caaf593201ca02ab9eac86e98c5adab3faf72.tar.bz2
samba-d64caaf593201ca02ab9eac86e98c5adab3faf72.zip
Remove debug code added in error.
Jeremy.
-rw-r--r--source4/torture/raw/acls.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c
index f6c690bb56..48dec6e561 100644
--- a/source4/torture/raw/acls.c
+++ b/source4/torture/raw/acls.c
@@ -1504,19 +1504,8 @@ static bool test_inheritance(struct torture_context *tctx,
!dom_sid_equal(&q.query_secdesc.out.sd->dacl->aces[0].trustee,
creator_owner) ||
q.query_secdesc.out.sd->dacl->aces[0].flags != test_flags[i].dir_flags) {
- printf("FAIL. t1 = %d, t2 = %d, t3 = %d, t4 = %d, t5 = %d\n",
- q.query_secdesc.out.sd->dacl == NULL,
- q.query_secdesc.out.sd->dacl->num_aces != 1,
- q.query_secdesc.out.sd->dacl->aces[0].access_mask != SEC_FILE_WRITE_DATA,
- !dom_sid_equal(&q.query_secdesc.out.sd->dacl->aces[0].trustee,
- creator_owner),
- q.query_secdesc.out.sd->dacl->aces[0].flags != test_flags[i].dir_flags);
-
- printf("(0) Bad sd in child dir at %d (parent 0x%x) flags = 0x%x dir_flags=0x%x\n",
- i,
- test_flags[i].parent_flags,
- q.query_secdesc.out.sd->dacl->aces[0].flags,
- test_flags[i].dir_flags);
+ printf("(0) Bad sd in child dir at %d (parent 0x%x)\n",
+ i, test_flags[i].parent_flags);
NDR_PRINT_DEBUG(security_descriptor, q.query_secdesc.out.sd);
ret = false;
continue;