vfs_nfs4acl_xattr: add XDR backend
authorRalph Boehme <slow@samba.org>
Wed, 18 Oct 2017 18:48:37 +0000 (20:48 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 7 Nov 2017 23:20:08 +0000 (00:20 +0100)
commita1671558af014bd9303f62120e7fc3a9978be6fe
tree9c57fd88d6928252b4a758cf8777a68656041fa2
parent8b1b1cd8cc561378058b915e03996ff567355d81
vfs_nfs4acl_xattr: add XDR backend

Add a NFS4 ACL backend that stores the ACL blob in an XDR encoded xattr,
by default in "security.nfs4acl_xdr".

This backend is enabled by setting "nfs4acl_xattr:encoding = xdr" in a
share definition.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/nfs41acl.x [new file with mode: 0644]
source3/modules/nfs4acl_xattr_xdr.c [new file with mode: 0644]
source3/modules/nfs4acl_xattr_xdr.h [new file with mode: 0644]
source3/modules/vfs_nfs4acl_xattr.c
source3/modules/wscript_build
source3/wscript