From: Greg Hudson Date: Tue, 13 Oct 2009 19:38:16 +0000 (+0000) Subject: Revert a small part of r22736 which incorrectly fixed a preauth X-Git-Tag: krb5-1.8-alpha1~303 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=024bcc37a811708366059aafcdd8e2dda2e6cf91;p=krb5.git Revert a small part of r22736 which incorrectly fixed a preauth looping bug in krb5_get_init_creds. A more correct fix will follow. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22888 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 63594ddfd..b4d729fbc 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -1421,10 +1421,8 @@ krb5_get_init_creds(krb5_context context, } preauth_to_use = out_padata; out_padata = NULL; - if (err_reply->error == KDC_ERR_PREAUTH_REQUIRED) { - krb5_free_error(context, err_reply); - err_reply = NULL; - } + krb5_free_error(context, err_reply); + err_reply = NULL; ret = sort_krb5_padata_sequence(context, &request.server->realm, preauth_to_use);