Skip to content

Commit

Permalink
heimdal:kdc: Fix error message for user-to-user
Browse files Browse the repository at this point in the history
We were checking the wrong variable to see whether a PAC was found or not.

Signed-off-by: Joseph Sutton <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
jsutton24 authored and abartlet committed Nov 30, 2021
1 parent 749349e commit 11fb947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source4/heimdal/kdc/krb5tgs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ tgs_build_reply(krb5_context context,
ret = KRB5KDC_ERR_BADOPTION;
kdc_log(context, config, 0,
"Ticket not signed with PAC; user-to-user failed (%s).",
mspac ? "Ticket unsigned" : "No PAC");
user2user_pac ? "Ticket unsigned" : "No PAC");
goto out;
}

Expand Down

0 comments on commit 11fb947

Please sign in to comment.