]> git.ipfire.org Git - thirdparty/samba.git/commit
test_nfs4_acls: Add test for mapping from NFS4 to DACL CREATOR entries
authorChristof Schmitt <cs@samba.org>
Tue, 2 Jul 2019 18:57:45 +0000 (11:57 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 Aug 2019 10:23:26 +0000 (10:23 +0000)
commit79f9a5013a6eda4991221400ccbc8911b7787fba
tree146ff52de9a02b41f4fb450842be67519c2cae10
parente8f8c4c8257025ea639e31b04d1deaebb34e029e
test_nfs4_acls: Add test for mapping from NFS4 to DACL CREATOR entries

Add testcase for mapping from NFSv4 ACL entries for "special owner" and
"special group" to DACL entries in the security descriptor. Each NFSv4
entry here with INHERIT_ONLY maps directly to a CREATOR OWNER or CREATOR
GROUP entry in the DACL. Entries without INHERIT_ONLY map to the CREATOR
entry and an additional explicit entry granting permission on the
current object.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 3c9cda0f6d80258ef0c2a80d6e24dfb650fea1b1)
source3/modules/test_nfs4_acls.c