summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-06-28 22:04:19 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-06-28 22:04:19 +1000
commit43bf8f4546c94d19c4bb203835e91c640b553116 (patch)
treea6707ff36ed0a8f6ab0e7d9d663d9f1d785c6666 /source4/ntvfs/posix/vfs_posix.c
parentb5808e5d65ef100a4a54e720ab4f4e1ffd80a057 (diff)
parent98014c5668e3269a059658e433d636213e2b06e6 (diff)
downloadsamba-43bf8f4546c94d19c4bb203835e91c640b553116.tar.gz
samba-43bf8f4546c94d19c4bb203835e91c640b553116.tar.bz2
samba-43bf8f4546c94d19c4bb203835e91c640b553116.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 6479f481dbf2f5c83edec0702ece73e83b6c810e)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index b5dd270346..ce0da7033d 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -176,6 +176,13 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
char *base_directory;
NTSTATUS status;
+ /*
+ * TODO: call this from ntvfs_posix_init()
+ * but currently we don't have a lp_ctx there
+ */
+ status = pvfs_acl_init(ntvfs->ctx->lp_ctx);
+ NT_STATUS_NOT_OK_RETURN(status);
+
pvfs = talloc_zero(ntvfs, struct pvfs_state);
NT_STATUS_HAVE_NO_MEMORY(pvfs);