git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c9ae3
)
s3-auth Match session setup handling of krb5, store the PAC
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 10 Jan 2012 11:01:44 +0000
(22:01 +1100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 18 Jan 2012 15:23:21 +0000
(16:23 +0100)
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>
source3/auth/auth_generic.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_generic.c
b/source3/auth/auth_generic.c
index 1f1aeb5aa028c4925ed63e425f04eef4d24a79df..e73c27b5ebe96fe08643e6665f6959724cb1dce0 100644
(file)
--- 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,