mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
s4:auth/unix_token: remove unused tevent_context from auth_session_info_fill_unix()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a2efaef15f
commit
bfb25f92aa
@ -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);
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user