mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
nfs4acls: update default NFS4 ACL version to 4.1
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
12f4263b28
commit
60c8090631
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user