From: Tom Yu Date: Wed, 15 Apr 2009 20:07:40 +0000 (+0000) Subject: pull up r22182 from trunk X-Git-Tag: krb5-1.7-beta1~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28048770180d36143b38b6c57fa4fa2d59be7bb2;p=krb5.git pull up r22182 from trunk ------------------------------------------------------------------------ r22182 | ghudson | 2009-04-08 11:22:17 -0400 (Wed, 08 Apr 2009) | 9 lines Changed paths: M /trunk/src/lib/krb5/krb/gic_pwd.c ticket: 6108 tags: pullup target_version: 1.7 When getting initial credentials with a password, try the master if preauth fails on a slave, since preauth can fail due to an out-of-date key. This removes a snippet added in r14939 which was considering only hardware preauth. ticket: 6108 version_fixed: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22252 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/gic_pwd.c b/src/lib/krb5/krb/gic_pwd.c index 4174f4e66..5079e056e 100644 --- a/src/lib/krb5/krb/gic_pwd.c +++ b/src/lib/krb5/krb/gic_pwd.c @@ -144,10 +144,9 @@ krb5_get_init_creds_password(krb5_context context, goto cleanup; /* If all the kdc's are unavailable, or if the error was due to a - user interrupt, or preauth errored out, fail */ + user interrupt, fail */ if ((ret == KRB5_KDC_UNREACH) || - (ret == KRB5_PREAUTH_FAILED) || (ret == KRB5_LIBOS_PWDINTR) || (ret == KRB5_REALM_CANT_RESOLVE)) goto cleanup;