mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Be more verbose about a directory ACL error.
Jeremy.
This commit is contained in:
parent
6a37302b55
commit
d98e48c7cb
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user