svn rev #23865: branches/iakerb/src/lib/krb5/krb/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Apr 5 17:49:56 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23865
Commit By: ghudson
Log Message:
In gc_frm_kdc_step.c, remove a check from init_realm_path which was
redundant with a check in krb5_walk_realm_tree.



Changed Files:
U   branches/iakerb/src/lib/krb5/krb/gc_frm_kdc_step.c
Modified: branches/iakerb/src/lib/krb5/krb/gc_frm_kdc_step.c
===================================================================
--- branches/iakerb/src/lib/krb5/krb/gc_frm_kdc_step.c	2010-04-05 19:14:39 UTC (rev 23864)
+++ branches/iakerb/src/lib/krb5/krb/gc_frm_kdc_step.c	2010-04-05 21:49:56 UTC (rev 23865)
@@ -644,10 +644,6 @@
     krb5_data *realm_path;
     size_t nrealms, i;
 
-    /* Make sure we're actually trying to acquire a foreign TGT. */
-    if (data_eq(ctx->client->realm, ctx->server->realm))
-        return KRB5_CC_NOTFOUND;
-
     /* Construct a list of TGT principals from client to server.  We will throw
      * this away after grabbing the remote realms from each principal. */
     code = krb5_walk_realm_tree(context, &ctx->client->realm,




More information about the cvs-krb5 mailing list