Fix preauth looping in krb5_get_init_creds
authorGreg Hudson <ghudson@mit.edu>
Tue, 13 Oct 2009 19:43:17 +0000 (19:43 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 13 Oct 2009 19:43:17 +0000 (19:43 +0000)
commitc4fcaab5e19afea97780be5eb169ff53a8a9a21e
treeca6f6bde2fb6e895e752b15714fa6f23fa62c430
parent024bcc37a811708366059aafcdd8e2dda2e6cf91
Fix preauth looping in krb5_get_init_creds

In 1.7, krb5_get_init_creds will continue attempting the same built-in
preauth mechanism (e.g. encrypted timestamp) until the loop counter
maxes out.  Until the preauth framework can remember not to retry
built-in mechanisms, only continue with preauth after a PREAUTH_FAILED
error resulting from optimistic preauth.

ticket: 6573
tags: pullup
target_version: 1.7.1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22890 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_in_tkt.c