1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3-auth Match session setup handling of krb5, store the PAC

This will allow non-krb5 services to get the full user groups
without need to do an online s4u2self.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2012-01-10 22:01:44 +11:00 committed by Stefan Metzmacher
parent f8c9ae3615
commit 43092ccf26

View File

@ -120,7 +120,10 @@ static NTSTATUS auth3_generate_session_info_pac(struct auth4_context *auth_ctx,
goto done;
}
/* TODO: save PAC data in netsamlogon cache ? */
/* save the PAC data if we have it */
if (logon_info) {
netsamlogon_cache_store(ntuser, &logon_info->info3);
}
status = make_session_info_krb5(mem_ctx,
ntuser, ntdomain, username, pw,