diff options
author | Jeremy Allison <jra@samba.org> | 2014-06-16 22:54:45 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-06-18 01:03:13 +0200 |
commit | 527f7b54388713acaaf7b66c718cc0f7114fc368 (patch) | |
tree | 07b2600766834a5a8da7521d337a8b157ca53964 /source3/auth/auth_generic.c | |
parent | c2411767adb5ce48a4619349075f6f8faae41aab (diff) | |
download | samba-527f7b54388713acaaf7b66c718cc0f7114fc368.tar.gz samba-527f7b54388713acaaf7b66c718cc0f7114fc368.tar.xz samba-527f7b54388713acaaf7b66c718cc0f7114fc368.zip |
s3: auth: Change make_server_info_info3() to take a const struct netr_SamInfo3 pointer instead of a struct PAC_LOGON_INFO.
make_server_info_info3() only reads from the info3 pointer.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/auth/auth_generic.c')
-rw-r--r-- | source3/auth/auth_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_generic.c b/source3/auth/auth_generic.c index 05c4ddcede..6b146a084b 100644 --- a/source3/auth/auth_generic.c +++ b/source3/auth/auth_generic.c @@ -113,7 +113,7 @@ static NTSTATUS auth3_generate_session_info_pac(struct auth4_context *auth_ctx, status = make_session_info_krb5(mem_ctx, ntuser, ntdomain, username, pw, - logon_info, is_guest, is_mapped, NULL /* No session key for now, caller will sort it out */, + &logon_info->info3, is_guest, is_mapped, NULL /* No session key for now, caller will sort it out */, session_info); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("Failed to map kerberos pac to server info (%s)\n", |