r9046: fixed display of privileges in RAW-ACLS test
authorAndrew Tridgell <tridge@samba.org>
Thu, 4 Aug 2005 04:23:08 +0000 (04:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:31:11 +0000 (13:31 -0500)
(This used to be commit 0ab907af6a4c3d1adbafccdb1bd4150c491bcba4)

source4/torture/raw/acls.c

index 0302789c8d2dfa1b7bf6c7e1d4302ebb304ad2f0..2a43503968243b71b04ae65bd45db08cd7709893 100644 (file)
@@ -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,