ntvfs_unixuid: No wbc_context required
authorVolker Lendecke <vl@samba.org>
Mon, 3 Feb 2014 20:36:25 +0000 (21:36 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Feb 2014 09:57:40 +0000 (10:57 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
source4/ntvfs/unixuid/vfs_unixuid.c

index 97a59591b7d625ba6ac7ca9b94b83b7169222912..88f3b8b6f34a84f4ede29ef5eff1f075b6829f1c 100644 (file)
@@ -33,7 +33,6 @@
 NTSTATUS ntvfs_unixuid_init(void);
 
 struct unixuid_private {
-       struct wbc_context *wbc_ctx;
        struct security_unix_token *last_sec_ctx;
        struct security_token *last_token;
 };
@@ -241,13 +240,6 @@ static NTSTATUS unixuid_connect(struct ntvfs_module_context *ntvfs,
                return NT_STATUS_NO_MEMORY;
        }
 
-       priv->wbc_ctx = wbc_init(priv, ntvfs->ctx->msg_ctx,
-                                   ntvfs->ctx->event_ctx);
-       if (priv->wbc_ctx == NULL) {
-               talloc_free(priv);
-               return NT_STATUS_INTERNAL_ERROR;
-       }
-
        priv->last_sec_ctx = NULL;
        priv->last_token = NULL;
        ntvfs->private_data = priv;