From c6ab2e6b735901c8aca33928b4b17f3c784aede0 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 29 Nov 2018 11:01:59 +0100 Subject: vfs_nfs4acl_xattr: support for NFS 4.0 and 4.1 ACLs from NFS4 mount This adds a new main switch "nfs" to "nfs4acl_xattr:encoding" which enables to use NFS4 ACLs from an NFS4 mount on a Linux box. Tested with a FreeBSD NFS4 server. Supports both NFS 4.0 and 4.1 ACLs. By default NFS4 servers send user and group identifiers in ACLs as strings in the format "[USER|GROUP]@DNSDOMAIN". Some NFS4 servers support sending identifiers as numeric strings. This module does support this as well, the config knob "nfs4acl_xattr:nfs4_id_numeric = yes|no" controls behaviour. When "nfs4acl_xattr:encoding" is set to "nfs", the new option "nfs4acl_xattr:validate_mode", which defauts to "yes" is set to "no" to avoid checking and munging the mode on files. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/modules/wscript_build | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/modules/wscript_build') diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build index 5007d58241a..3d19b01908c 100644 --- a/source3/modules/wscript_build +++ b/source3/modules/wscript_build @@ -278,6 +278,7 @@ bld.SAMBA3_MODULE('vfs_nfs4acl_xattr', vfs_nfs4acl_xattr.c nfs4acl_xattr_ndr.c nfs4acl_xattr_xdr.c + nfs4acl_xattr_nfs.c nfs4acl_xattr_util.c ''', deps='NFS4_ACLS sunacl NDR_NFS4ACL VFS_NFS4_XDR', -- cgit v1.2.1