Skip to content

Commit

Permalink
kdc: check for cname-in-addl-tkt flag in constrained delegation
Browse files Browse the repository at this point in the history
Before accepting an additional ticket for use with constrained delegation,
verify the cname-in-addl-tkt flag was set. If not, ignore the request.
  • Loading branch information
lhoward committed Jun 3, 2019
1 parent cf940e1 commit 7381a28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kdc/krb5tgs.c
Expand Up @@ -2183,6 +2183,7 @@ tgs_build_reply(krb5_context context,
if (client != NULL
&& b->additional_tickets != NULL
&& b->additional_tickets->len != 0
&& b->kdc_options.cname_in_addl_tkt
&& b->kdc_options.enc_tkt_in_skey == 0)
{
int ad_signedpath = 0;
Expand Down

0 comments on commit 7381a28

Please sign in to comment.