git.samba.org
/
lorikeet-heimdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e30645
)
kdc: Set PAC as trusted if indicated by the plugin
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Thu, 16 Mar 2023 01:43:41 +0000
(14:43 +1300)
committer
Joseph Sutton
<josephsutton@catalyst.net.nz>
Wed, 3 May 2023 04:13:17 +0000
(16:13 +1200)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
kdc/krb5tgs.c
patch
|
blob
|
history
diff --git
a/kdc/krb5tgs.c
b/kdc/krb5tgs.c
index d1ccfe19dd8e3ed9edfc867ae0d2d8d46ac90935..0bad42aa3b72d570d43b68ebc194c86c427c8219 100644
(file)
--- a/
kdc/krb5tgs.c
+++ b/
kdc/krb5tgs.c
@@
-128,6
+128,10
@@
_kdc_check_pac(astgs_request_t r,
client_principal, delegated_proxy_principal,
client, server, krbtgt, pac, &is_trusted);
if (ret == 0) {
+ if (is_trusted) {
+ krb5_pac_set_trusted(pac, true);
+ }
+
if (pac_canon_name) {
ret = _krb5_pac_get_canon_principal(context, pac, pac_canon_name);
if (ret && ret != ENOENT) {