summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index b41e1f27fd..f5bd057ca6 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -75,8 +75,13 @@ struct vfs_ops default_vfs_ops = {
vfswrap_fset_nt_acl,
vfswrap_set_nt_acl,
+#if defined(HAVE_NO_ACLS)
+ NULL,
+ NULL
+#else
vfswrap_chmod_acl,
vfswrap_fchmod_acl
+#endif
};
/****************************************************************************