summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-03-28 23:29:01 +0100
committerKai Blin <kai@samba.org>2008-04-02 23:07:27 +0200
commit4133bd85e9f5860712cf392ccac36f30f9e423de (patch)
tree4c88e97e5f5870bf8bce004e22a65b360c00f898 /source4/ntvfs/posix/vfs_posix.c
parenta71f36e2b8f58cb2929b1e031e85083737c93145 (diff)
downloadsamba-4133bd85e9f5860712cf392ccac36f30f9e423de.tar.gz
samba-4133bd85e9f5860712cf392ccac36f30f9e423de.tar.bz2
samba-4133bd85e9f5860712cf392ccac36f30f9e423de.zip
ntvfs: Use wbclient for pvfs_acl and pvfs_acl_nfs4
(This used to be commit ac5e5fee1db2999053dee82d1fcf97ca8799c9b5)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index ca874d1db1..ebc2d88e70 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -222,8 +222,10 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
event_context_find(pvfs),
pvfs->ntvfs->ctx->config);
- pvfs->sidmap = sidmap_open(pvfs, pvfs->ntvfs->ctx->lp_ctx);
- if (pvfs->sidmap == NULL) {
+ pvfs->wbc_ctx = wbc_init(pvfs,
+ pvfs->ntvfs->ctx->msg_ctx,
+ pvfs->ntvfs->ctx->event_ctx);
+ if (pvfs->wbc_ctx == NULL) {
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}