diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-30 02:22:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:43 -0500 |
commit | a477387cd0011265d4f2bbdfbeabd4b9ac3a56b4 (patch) | |
tree | 1d17d7f8cdf9fc61cff79a2804534ee01d7fefde /source4/torture | |
parent | 07e1553f604fdf7a7547539fde77bdf5bf6b8dc9 (diff) | |
download | samba-a477387cd0011265d4f2bbdfbeabd4b9ac3a56b4.tar.gz samba-a477387cd0011265d4f2bbdfbeabd4b9ac3a56b4.tar.bz2 samba-a477387cd0011265d4f2bbdfbeabd4b9ac3a56b4.zip |
r4401: stricter test for correct ACL inheritance in RAW-ACLS
(This used to be commit 1bb769196377772326151210309ff12362eb0f2f)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/raw/acls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c index 82e04ffcc7..993851c357 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -954,7 +954,7 @@ static BOOL test_inheritance(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) } if (q.query_secdesc.out.sd->dacl == NULL || - q.query_secdesc.out.sd->dacl->num_aces < 1 || + 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, sd_orig->owner_sid)) { @@ -999,7 +999,7 @@ static BOOL test_inheritance(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) } if (q.query_secdesc.out.sd->dacl == NULL || - q.query_secdesc.out.sd->dacl->num_aces < 1 || + 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, sd_orig->owner_sid)) { |