svn rev #22888: trunk/src/lib/krb5/krb/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Oct 13 15:38:16 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22888
Commit By: ghudson
Log Message:
Revert a small part of r22736 which incorrectly fixed a preauth
looping bug in krb5_get_init_creds.  A more correct fix will follow.



Changed Files:
U   trunk/src/lib/krb5/krb/get_in_tkt.c
Modified: trunk/src/lib/krb5/krb/get_in_tkt.c
===================================================================
--- trunk/src/lib/krb5/krb/get_in_tkt.c	2009-10-13 19:27:57 UTC (rev 22887)
+++ trunk/src/lib/krb5/krb/get_in_tkt.c	2009-10-13 19:38:16 UTC (rev 22888)
@@ -1421,10 +1421,8 @@
 		}
 		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);




More information about the cvs-krb5 mailing list