From: Stefan Metzmacher Date: Mon, 19 Jun 2017 06:26:26 +0000 (+0200) Subject: s4:auth/unix_token: remove unused tevent_context from auth_session_info_fill_unix() X-Git-Tag: tdb-1.3.14~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb25f92aac335d2b96ae5353fbeacf90bbdcb43;p=thirdparty%2Fsamba.git s4:auth/unix_token: remove unused tevent_context from auth_session_info_fill_unix() Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index 51d1ed399bf..cbe49a12adc 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -524,9 +524,9 @@ static NTSTATUS auth_generate_session_info_wrapper(struct auth4_context *auth_co if ((session_info_flags & AUTH_SESSION_INFO_UNIX_TOKEN) && NT_STATUS_IS_OK(status)) { - status = auth_session_info_fill_unix(auth_context->event_ctx, - auth_context->lp_ctx, - original_user_name, *session_info); + status = auth_session_info_fill_unix(auth_context->lp_ctx, + original_user_name, + *session_info); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(*session_info); } diff --git a/source4/auth/unix_token.c b/source4/auth/unix_token.c index e1e7cdad59a..e5eb0aa4590 100644 --- a/source4/auth/unix_token.c +++ b/source4/auth/unix_token.c @@ -120,8 +120,7 @@ NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx, /* Fill in the auth_user_info_unix and auth_unix_token elements in a struct session_info */ -NTSTATUS auth_session_info_fill_unix(struct tevent_context *ev, - struct loadparm_context *lp_ctx, +NTSTATUS auth_session_info_fill_unix(struct loadparm_context *lp_ctx, const char *original_user_name, struct auth_session_info *session_info) {