summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/idl/nfs4acl.idl2
-rw-r--r--source3/modules/vfs_nfs4acl_xattr.c2
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;