From 024bcc37a811708366059aafcdd8e2dda2e6cf91 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 13 Oct 2009 19:38:16 +0000 Subject: [PATCH] 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 --- src/lib/krb5/krb/get_in_tkt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); -- 2.26.2