]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix error code on clpreauth module failure
authorGreg Hudson <ghudson@mit.edu>
Tue, 19 Jul 2016 14:52:06 +0000 (10:52 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 19 Jul 2016 16:35:36 +0000 (12:35 -0400)
commit560e11dabb63b141df29c54aaa2e120309a1e021
tree971a29e944c4df80145811ccd7efdf66bce15df7
parent55b46445980584644980cbe32f261eb5ba3d14eb
Fix error code on clpreauth module failure

Commit 632260bd1fccfb420f0827b59c85c329203eafc9 (ticket #7517) allows
better error reporting for some client pre-authentication failures.
However, it breaks an assumption in the S4U2Self code that such errors
can be recognized by the KRB5_PREAUTH_FAILED error code.  Instead of
passing through the error code reported by the first real preauth
module, wrap that error and return KRB5_PREAUTH_FAILED.

ticket: 8457 (new)
target_version: 1.14-next
target_version: 1.13-next
src/lib/krb5/krb/preauth2.c