Signed-off-by: Volker Lendecke <vl@samba.org>
Change-Id: I46f5d719005f3ac940482773404702368bbcfa4f
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
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;
};
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;