Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

Pass through module errors when preauthenticating

If we are responding to a KDC_ERR_PREAUTH_REQUIRED and cannot
preauthenticate, report the error from the first real preauth type we
tried.

k5_preauth() now accepts a boolean input indicating that it must
succeed on a real preauth type, instead of returning a boolean saying
whether or not it did.

https://github.com/krb5/krb5/commit/632260bd1fccfb420f0827b59c85c329203eafc9
Author: Greg Hudson <ghudson@mit.edu>
Commit: 632260bd1fccfb420f0827b59c85c329203eafc9
Branch: master
src/lib/krb5/krb/get_in_tkt.c | 9 +++------
src/lib/krb5/krb/int-proto.h | 2 +-
src/lib/krb5/krb/preauth2.c | 33 ++++++++++++++++++++++-----------
3 files changed, 26 insertions(+), 18 deletions(-)
This commit introduced an uninitialized variable bug, which is fixed in
90e43628202157d72fb78bbb837795d91d5ce8da.

(The commit message for 90e436 erroneusly pins the blame on a prior
commit, 5c23bc.)