git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
468b3fc
)
r4583: print which bit failed in the owner bits check
author
Andrew Tridgell
<tridge@samba.org>
Fri, 7 Jan 2005 02:13:07 +0000
(
02:13
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:08:29 +0000
(13:08 -0500)
(This used to be commit
f893ad9c45d6d06fa1b6f1f949a7834e7bf99ba7
)
source4/torture/raw/acls.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/acls.c
b/source4/torture/raw/acls.c
index dd87ceac22b250b11e2045953544e02855065ac8..3e3fb17c5252d0657c857d1a6a26192a796500b8 100644
(file)
--- a/
source4/torture/raw/acls.c
+++ b/
source4/torture/raw/acls.c
@@
-847,6
+847,10
@@
static BOOL test_owner_bits(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
io.ntcreatex.in.access_mask = bit;
status = smb_raw_open(cli->tree, mem_ctx, &io);
if (expected_bits & bit) {
+ if (!NT_STATUS_IS_OK(status)) {
+ printf("failed with access mask 0x%08x of expected 0x%08x\n",
+ bit, expected_bits);
+ }
CHECK_STATUS(status, NT_STATUS_OK);
CHECK_ACCESS_FLAGS(io.ntcreatex.out.fnum, bit | SEC_FILE_READ_ATTRIBUTE);
smbcli_close(cli->tree, io.ntcreatex.out.fnum);