summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-11-29 11:01:59 +0100
committerJeremy Allison <jra@samba.org>2019-03-18 19:21:25 +0000
commitc6ab2e6b735901c8aca33928b4b17f3c784aede0 (patch)
tree2fe44d1ff38836bef621840fbed896f0b822eae9 /source3/modules/wscript_build
parentebf9826158c2109a6d5702ad26aa41afdf982386 (diff)
downloadsamba-c6ab2e6b735901c8aca33928b4b17f3c784aede0.tar.gz
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 <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build1
1 files changed, 1 insertions, 0 deletions
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',