diff options
author | Ralph Boehme <slow@samba.org> | 2017-11-02 12:45:48 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-11-08 00:20:08 +0100 |
commit | 60c8090631d46124f9c8ae750e4a5053b43ac988 (patch) | |
tree | d690490ccacc6842356d0132b5a3d40e1958d1ba | |
parent | 12f4263b285ca85601206905d22f06d9650e6f5d (diff) | |
download | samba-60c8090631d46124f9c8ae750e4a5053b43ac988.tar.gz |
nfs4acls: update default NFS4 ACL version to 4.1
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | librpc/idl/nfs4acl.idl | 2 | ||||
-rw-r--r-- | source3/modules/vfs_nfs4acl_xattr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/librpc/idl/nfs4acl.idl b/librpc/idl/nfs4acl.idl index f836436dc6e..10a60ed1caf 100644 --- a/librpc/idl/nfs4acl.idl +++ b/librpc/idl/nfs4acl.idl @@ -21,7 +21,7 @@ interface nfs4acl_interface const uint8 ACL4_XATTR_VERSION_40 = 0x00; const uint8 ACL4_XATTR_VERSION_41 = 0x01; - const uint8 ACL4_XATTR_VERSION_DEFAULT = ACL4_XATTR_VERSION_40; + const uint8 ACL4_XATTR_VERSION_DEFAULT = ACL4_XATTR_VERSION_41; const uint8 ACL4_AUTO_INHERIT = 0x01; const uint8 ACL4_PROTECTED = 0x02; diff --git a/source3/modules/vfs_nfs4acl_xattr.c b/source3/modules/vfs_nfs4acl_xattr.c index e0266d23657..31b85aea13f 100644 --- a/source3/modules/vfs_nfs4acl_xattr.c +++ b/source3/modules/vfs_nfs4acl_xattr.c @@ -350,7 +350,7 @@ static int nfs4acl_connect(struct vfs_handle_struct *handle, nfs_version = (unsigned)lp_parm_int(SNUM(handle->conn), "nfs4acl_xattr", "version", - 40); + 41); switch (nfs_version) { case 40: config->nfs_version = ACL4_XATTR_VERSION_40; |