diff options
author | Volker Lendecke <vl@samba.org> | 2014-02-18 09:50:10 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-02-18 10:29:07 +0100 |
commit | c8fd40c1b6c4446c01c8077aab95d56a36bae145 (patch) | |
tree | 15f12a17e4e21384dce67db8a1887a57791b189b /source4/auth/unix_token.c | |
parent | cb5d5ee247d7cb6939e04536befef10b3beb04fa (diff) | |
download | samba-c8fd40c1b6c4446c01c8077aab95d56a36bae145.tar.gz samba-c8fd40c1b6c4446c01c8077aab95d56a36bae145.tar.xz samba-c8fd40c1b6c4446c01c8077aab95d56a36bae145.zip |
Revert "auth4: security_token_to_unix_token only needs a tevent_context"
This reverts commit 1de725c2926b526200032c4f46132c17533986c7.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/auth/unix_token.c')
-rw-r--r-- | source4/auth/unix_token.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/unix_token.c b/source4/auth/unix_token.c index 32f62a77a1..aee950d916 100644 --- a/source4/auth/unix_token.c +++ b/source4/auth/unix_token.c @@ -29,7 +29,7 @@ form a security_unix_token from the current security_token */ NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, + struct wbc_context *wbc_ctx, struct security_token *token, struct security_unix_token **sec) { @@ -55,7 +55,7 @@ NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx, ids[s].status = ID_UNKNOWN; } - status = wbc_sids_to_xids(ev, ids, token->num_sids); + status = wbc_sids_to_xids(wbc_ctx->event_ctx, ids, token->num_sids); NT_STATUS_NOT_OK_RETURN(status); g = token->num_sids; @@ -128,7 +128,7 @@ NTSTATUS auth_session_info_fill_unix(struct wbc_context *wbc_ctx, { char *su; size_t len; - NTSTATUS status = security_token_to_unix_token(session_info, wbc_ctx->event_ctx, + NTSTATUS status = security_token_to_unix_token(session_info, wbc_ctx, session_info->security_token, &session_info->unix_token); if (!NT_STATUS_IS_OK(status)) { |