mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ntvfs_unixuid: No wbc_context required
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>
This commit is contained in:
parent
65c6daf1a5
commit
5f7b8e42cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user