summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-19 08:26:26 +0200
committerStefan Metzmacher <metze@samba.org>2017-06-26 08:47:15 +0200
commitbfb25f92aac335d2b96ae5353fbeacf90bbdcb43 (patch)
tree9ff2f8d7ccf40578fd31f2a0e386a1d9a9e7dde1
parenta2efaef15fc0311111a83a2bfc8f80490f2ea051 (diff)
downloadsamba-bfb25f92aac335d2b96ae5353fbeacf90bbdcb43.tar.gz
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>
-rw-r--r--source4/auth/ntlm/auth.c6
-rw-r--r--source4/auth/unix_token.c3
2 files changed, 4 insertions, 5 deletions
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)
{