From 43092ccf266b93b71bca98cc0324dbc1644a092a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 10 Jan 2012 22:01:44 +1100 Subject: [PATCH] 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 --- source3/auth/auth_generic.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source3/auth/auth_generic.c b/source3/auth/auth_generic.c index 1f1aeb5aa028..e73c27b5ebe9 100644 --- a/source3/auth/auth_generic.c +++ b/source3/auth/auth_generic.c @@ -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, -- 2.34.1