[krbdev.mit.edu #9169] git commit

"Greg Hudson via RT" <[email protected]> Tue, 08 Apr 2025 17:29:04 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9169 >


Only handle IAKERB errors in initiator step

iakerb_initiator_step() must pass through most KRB-ERROR messages in
order to properly handle recoverable AS and TGS errors such as
KDC_ERR_PREAUTH_REQUIRED.  Only stop on IAKERB errors.

[[email protected]: changed code to check for com_err codes instead of
protocol codes; changed iakerb_acceptor_realm() to respond with an
IAKERB error when realm determination fails and modified test case
accordingly; added a test case by requiring preauth on the user
principal when testing IAKERB; rewrote commit message]

https://github.com/krb5/krb5/commit/e2e5f386ccf2bea1fa55ce544f43098ae2b38f89
Author: Andreas Schneider <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: e2e5f386ccf2bea1fa55ce544f43098ae2b38f89
Branch: master
 src/lib/gssapi/krb5/iakerb.c | 14 +++++++++++---
 src/tests/gssapi/t_gssapi.py |  3 ++-
 2 files changed, 13 insertions(+), 4 deletions(-)