backport r22890 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 12 Jan 2010 03:21:35 +0000 (03:21 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 12 Jan 2010 03:21:35 +0000 (03:21 +0000)
commitd5e2d1224596ce578093e037f54149ddb922bf10
tree0f1523ffac6499a74a2a399dae54b24665e811de
parentb82e5ef7b46fff5cbab401746fd76abf9506787d
backport r22890 from trunk

 ------------------------------------------------------------------------
 r22890 | ghudson | 2009-10-13 15:43:17 -0400 (Tue, 13 Oct 2009) | 11 lines

 ticket: 6573
 subject: Fix preauth looping in krb5_get_init_creds
 tags: pullup
 target_version: 1.7.1

 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
version_fixed: 1.7.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@23640 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_in_tkt.c