summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-11-02 12:17:48 +0100
committerJeremy Allison <jra@samba.org>2017-11-08 00:20:08 +0100
commitdf99ac27106dededcf0a98a251e58c24b90bf6d1 (patch)
treeee75bc320a96ad1d7548c4c36fe397d53e31622c /librpc
parent20d3ae6a45f0ead6cefa5e47ca9b5552e4d470c0 (diff)
downloadsamba-df99ac27106dededcf0a98a251e58c24b90bf6d1.tar.gz
librpc/idl: rename NFS4 ACL xattr name
The "system" xattr namespace is reserved for the kernel. Any attempt to use xattrs in that namesspace will fail with EOPNOTSUPP, regardless of priveleges. In autobuild we're using the xattr_tdb VFS module, so it works there. Using the "security" namespace instead makes this module generally usable with Linux filesystem xattrs as storage backend. Additionally prefix the xattr name with "_ndr". This is in preperation of later commits that add a ACL blob marshalling format based on XDR. To avoid xattr name collision, both format will use distinct xattr names by default. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/nfs4acl.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/nfs4acl.idl b/librpc/idl/nfs4acl.idl
index 3d6894a604c..79e742c90e7 100644
--- a/librpc/idl/nfs4acl.idl
+++ b/librpc/idl/nfs4acl.idl
@@ -13,7 +13,7 @@ import "misc.idl", "security.idl";
]
interface nfs4acl_interface
{
- const char *NFS4ACL_NDR_XATTR_NAME = "system.nfs4acl";
+ const char *NFS4ACL_NDR_XATTR_NAME = "security.nfs4acl_ndr";
const char *NFS4ACL_XATTR_OWNER_WHO = "OWNER@";
const char *NFS4ACL_XATTR_GROUP_WHO = "GROUP@";