diff options
author | Tom Yu <tlyu@mit.edu> | 1996-01-22 04:34:09 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1996-01-22 04:34:09 +0000 |
commit | e965ab7980fb2f7fb2ced74902feedf73c799181 (patch) | |
tree | b2d1073e85dfec082be58f746bace9589c67ee96 /src/lib/krb5 | |
parent | d853c15e875f933b173ba50d46c901bd98fc9717 (diff) | |
download | krb5-e965ab7980fb2f7fb2ced74902feedf73c799181.tar.gz krb5-e965ab7980fb2f7fb2ced74902feedf73c799181.tar.xz krb5-e965ab7980fb2f7fb2ced74902feedf73c799181.zip |
* gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won't
break trying to match is_skey in the ccache. This way we
won't end up with many copies of user-to-user tickets.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7348 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/krb5/krb/gc_via_tkt.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 8c33c8d941..a1979242c0 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +Sun Jan 21 23:32:53 1996 Tom Yu <tlyu@dragons-lair.MIT.EDU> + + * gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won't + break trying to match is_skey in the ccache. This way we + won't end up with many copies of user-to-user tickets. + Fri Jan 19 23:16:17 1996 Ezra Peisach <epeisach@kangaroo.mit.edu> * mk_req.c (krb5_mk_req): krb5_get_credentials does not take diff --git a/src/lib/krb5/krb/gc_via_tkt.c b/src/lib/krb5/krb/gc_via_tkt.c index ed52b00f6c..6ba87cf0af 100644 --- a/src/lib/krb5/krb/gc_via_tkt.c +++ b/src/lib/krb5/krb/gc_via_tkt.c @@ -70,7 +70,7 @@ krb5_kdcrep2creds(context, pkdcrep, address, psectkt, ppcreds) (*ppcreds)->magic = KV5M_CREDS; (*ppcreds)->authdata = NULL; /* not used */ - (*ppcreds)->is_skey = 0; /* not used */ + (*ppcreds)->is_skey = psectkt->length != 0; if (pkdcrep->enc_part2->caddrs) { if ((retval = krb5_copy_addresses(context, pkdcrep->enc_part2->caddrs, |