summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_acl_xattr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-30 16:50:34 -0800
committerJeremy Allison <jra@samba.org>2009-11-30 16:50:34 -0800
commitbdc8c9d37ca478f74127628ab03bb68cd72bff63 (patch)
tree30794d4dfcfe4c1d01ebb1380b8a657fe7509f6b /source3/modules/vfs_acl_xattr.c
parentea20678c55fee9f4586630cdb5fe7f35457d309a (diff)
downloadsamba-bdc8c9d37ca478f74127628ab03bb68cd72bff63.tar.gz
samba-bdc8c9d37ca478f74127628ab03bb68cd72bff63.tar.bz2
samba-bdc8c9d37ca478f74127628ab03bb68cd72bff63.zip
Fix bug 6938 : No hook exists to check creation rights when using acl_xattr module
Fix ACL modules to test for permissions on open/mkdir/opendir. Ensure that underlying ACLs are returned for directories/files with no Windows xattr or tdb acls stored. Jeremy.
Diffstat (limited to 'source3/modules/vfs_acl_xattr.c')
-rw-r--r--source3/modules/vfs_acl_xattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index 5e51a68875..c1812b9278 100644
--- a/source3/modules/vfs_acl_xattr.c
+++ b/source3/modules/vfs_acl_xattr.c
@@ -232,6 +232,7 @@ static int connect_acl_xattr(struct vfs_handle_struct *handle,
static struct vfs_fn_pointers vfs_acl_xattr_fns = {
.connect_fn = connect_acl_xattr,
+ .opendir = opendir_acl_common,
.mkdir = mkdir_acl_common,
.open = open_acl_common,
.fget_nt_acl = fget_nt_acl_common,