summaryrefslogtreecommitdiff
path: root/source4/auth/unix_token.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-02-02 15:48:03 +0100
committerVolker Lendecke <vl@samba.org>2014-02-10 10:57:22 +0100
commit75d7c4609c1c743f84ca9f2d0666aece9e5200d4 (patch)
tree9b43d549bd71a99c1767b52ffef77441f4ab9f0a /source4/auth/unix_token.c
parent1de725c2926b526200032c4f46132c17533986c7 (diff)
downloadsamba-75d7c4609c1c743f84ca9f2d0666aece9e5200d4.tar.gz
auth4: auth_session_info_fill_unix only needs a tevent_context
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Kai Blin <kai@samba.org>
Diffstat (limited to 'source4/auth/unix_token.c')
-rw-r--r--source4/auth/unix_token.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/unix_token.c b/source4/auth/unix_token.c
index 32f62a77a10..efc9a9db4a6 100644
--- a/source4/auth/unix_token.c
+++ b/source4/auth/unix_token.c
@@ -121,14 +121,14 @@ 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 wbc_context *wbc_ctx,
+NTSTATUS auth_session_info_fill_unix(struct tevent_context *ev,
struct loadparm_context *lp_ctx,
const char *original_user_name,
struct auth_session_info *session_info)
{
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, ev,
session_info->security_token,
&session_info->unix_token);
if (!NT_STATUS_IS_OK(status)) {