]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:auth/unix_token: remove unused tevent_context from auth_session_info_fill_unix()
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Jun 2017 06:26:26 +0000 (08:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 26 Jun 2017 06:47:15 +0000 (08:47 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/ntlm/auth.c
source4/auth/unix_token.c

index 51d1ed399bf7d7c08535b34a636d0900cb1f6637..cbe49a12adcdc28e1a7db505240af0fe79422b5e 100644 (file)
@@ -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);
                }
index e1e7cdad59a9f36a031bc32155aa4f9669a1cde1..e5eb0aa4590f76b6d44a175c77c6ec2b390973e6 100644 (file)
@@ -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)
 {