]> 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)
committerChristof Schmitt <cs@samba.org>
Tue, 23 Jul 2019 18:27:25 +0000 (18:27 +0000)
commit3c9cda0f6d80258ef0c2a80d6e24dfb650fea1b1
tree8c38a3b39f18ff0e256f9488edffeaec756ed806
parentbfcc19b705f83bdd5cf665fd4daf43e7eae997a9
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>
source3/modules/test_nfs4_acls.c