diff options
author | Jeremy Allison <jra@samba.org> | 2008-11-03 23:54:05 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-11-03 23:54:05 -0800 |
commit | d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5 (patch) | |
tree | cf6415ab97749ba9eb3db586b1a6d288e3eda120 | |
parent | 6a37302b55dbf0bbb88247214b444a87e23e687a (diff) | |
download | samba-d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5.tar.gz samba-d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5.tar.bz2 samba-d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5.zip |
Be more verbose about a directory ACL error.
Jeremy.
-rw-r--r-- | source4/torture/raw/acls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c index a07da8a36b..2a67bd98c5 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -1181,6 +1181,11 @@ static bool test_owner_bits(struct torture_context *tctx, CHECK_ACCESS_FLAGS(io.ntcreatex.out.file.fnum, bit | SEC_FILE_READ_ATTRIBUTE); smbcli_close(cli->tree, io.ntcreatex.out.file.fnum); } else { + if (NT_STATUS_IS_OK(status)) { + printf("open succeeded with access mask 0x%08x of " + "expected 0x%08x - should fail\n", + bit, expected_bits); + } CHECK_STATUS(status, NT_STATUS_ACCESS_DENIED); } } |