[krbdev.mit.edu #1371] Patch for addressless tickets.

Stephen Smoogen via RT rt-comment at krbdev.mit.edu
Wed Mar 5 10:46:45 EST 2003


This patch is being used at Los Alamos to allow better use of
addressless tickets on large clusters. The writer of this patch is Harry
McGavern. Patch's cleanly against Red Hat's patched version of
krb5-1.2.6 and krb5-1.2.7.

--- ./src/lib/krb5/krb/fwd_tgt.c.LANL_addresslesstickets        Mon Dec 
3 14:40:52 2001
+++ ./src/lib/krb5/krb/fwd_tgt.c        Tue Oct  1 12:02:13 2002
@@ -103,9 +103,11 @@
        krb5_free_cred_contents (context, &in);
     }
     
-    retval = krb5_os_hostaddr(context, rhost, &addrs);
-    if (retval)
+    if (tgt.addresses && *tgt.addresses) {
+      retval = krb5_os_hostaddr(context, rhost, &addrs);
+      if (retval)
        goto errout;
+    }
 
     if ((retval = krb5_copy_principal(context, client, &creds.client)))
        goto errout;
krb5-1.2.6-LANL_addresslesstickets lines 1-16/16 (END) 


-- 
Stephen John Smoogen		smoogen at lanl.gov
Los Alamos National Labrador  CCN-2 B-Schedule  PH: 
Ta-03 SM-261  MailStop P208 DP 17U  Los Alamos, NM 87545
-- So shines a good deed in a weary world. = Willy Wonka --



More information about the krb5-bugs mailing list