diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-04 04:23:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:11 -0500 |
commit | d07f01b203231b04a7c65d5970fadadc8f5f7be1 (patch) | |
tree | 8bac1f52c67681a908358caede13160d88c2e616 /source4/torture | |
parent | 89cbdf8ed0025c4bb06925f8a3bebb3565450def (diff) | |
download | samba-d07f01b203231b04a7c65d5970fadadc8f5f7be1.tar.gz samba-d07f01b203231b04a7c65d5970fadadc8f5f7be1.tar.bz2 samba-d07f01b203231b04a7c65d5970fadadc8f5f7be1.zip |
r9046: fixed display of privileges in RAW-ACLS test
(This used to be commit 0ab907af6a4c3d1adbafccdb1bd4150c491bcba4)
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 0302789c8d..2a43503968 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -543,7 +543,7 @@ static BOOL test_generic_bits(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) if (!NT_STATUS_IS_OK(status)) { printf("smblsa_sid_check_privilege - %s\n", nt_errstr(status)); } - printf("SEC_PRIV_TAKE_OWNERSHIP - %s\n", has_restore_privilege?"Yes":"No"); + printf("SEC_PRIV_TAKE_OWNERSHIP - %s\n", has_take_ownership_privilege?"Yes":"No"); for (i=0;i<ARRAY_SIZE(file_mappings);i++) { uint32_t expected_mask = @@ -823,7 +823,7 @@ static BOOL test_owner_bits(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) if (!NT_STATUS_IS_OK(status)) { printf("smblsa_sid_check_privilege - %s\n", nt_errstr(status)); } - printf("SEC_PRIV_TAKE_OWNERSHIP - %s\n", has_restore_privilege?"Yes":"No"); + printf("SEC_PRIV_TAKE_OWNERSHIP - %s\n", has_take_ownership_privilege?"Yes":"No"); sd = security_descriptor_create(mem_ctx, NULL, NULL, |