krb-udp-use-transaction-for-special-keys-20010111
authorJeffrey Hutzelman <jhutz@cmu.edu>
Thu, 11 Jan 2001 05:40:06 +0000 (05:40 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Jan 2001 05:40:06 +0000 (05:40 +0000)
use the ubik transaction we got to lookup the kvno otherwise this
fails for uncached keys, like foreign realm krbtgts

src/kauth/krb_udp.c

index fc20a12..568334f 100644 (file)
@@ -414,7 +414,7 @@ afs_int32 UDP_GetTicket (ksoc, pkt, kvno, authDomain, ticket, ticketLen, auth, a
     COUNT_REQ (UGetTicket);
 
     if (code = InitAuthServ(&tt, LOCKREAD, this_op)) goto fail;
-    code = ka_LookupKvno (0, KA_TGS_NAME,
+    code = ka_LookupKvno (tt, KA_TGS_NAME,
                          ((strlen(authDomain) > 0) ? authDomain : lrealm),
                          kvno, &tgskey);
     if (code) goto abort;