Skip Menu |

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

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.
Author: Greg Hudson <>
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

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