Skip Menu |
 

Date: Sat, 1 Mar 2003 15:26:47 -0600
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: krb5-bugs@mit.edu
Subject: Remove caching of default initiator GSS credential data
There is no need for gss_inquire_cred(GSS_C_NO_CREDENTIAL) to have any
sort of predictable outputs; its outputs should always reflect the
current state of the user's ccache, and not that of the user's ccache at
the time that GSS_C_NO_CREDENTIAL is first referred to.

Applications that need to know details of the default credential used to
initiate some context, such as initiator name or credential lifetime,
can get the information by inquiring the context and should not assume
that the outputs of gss_inquire_cred(GSS_C_NO_CREDENTIAL) will reflect
the same values as used during the initiation of any one context.

Please remove this cache.
From: tlyu@mit.edu
Subject: CVS Commit
Remove kg_release_defcred and caching of default credential. Rewrite
krb5_gss_init_sec_context() while we're at it to make defcred-related
changes easier, and as a side effect, fix some error condition memory
leaks.


To generate a diff of this commit:



cvs diff -r1.63 -r1.64 krb5/src/lib/gssapi/ChangeLog
cvs diff -r1.7 -r1.8 krb5/src/lib/gssapi/gss_libinit.c
cvs diff -r1.226 -r1.227 krb5/src/lib/gssapi/krb5/ChangeLog
cvs diff -r1.51 -r1.52 krb5/src/lib/gssapi/krb5/gssapiP_krb5.h
cvs diff -r1.23 -r1.24 krb5/src/lib/gssapi/krb5/gssapi_krb5.c
cvs diff -r1.70 -r1.71 krb5/src/lib/gssapi/krb5/init_sec_context.c
cvs diff -r1.17 -r1.18 krb5/src/lib/gssapi/krb5/inq_cred.c
cvs diff -r1.7 -r1.8 krb5/src/lib/gssapi/krb5/rel_cred.c
krb5/src/lib/gssapi/krb5/set_ccache.c
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r1.63 -r1.63.2.1 krb5/src/lib/gssapi/ChangeLog
cvs diff -r1.7 -r1.7.2.1 krb5/src/lib/gssapi/gss_libinit.c
cvs diff -r1.218.2.7 -r1.218.2.8 krb5/src/lib/gssapi/krb5/ChangeLog
cvs diff -r1.50.2.1 -r1.50.2.2
krb5/src/lib/gssapi/krb5/gssapiP_krb5.h
cvs diff -r1.23 -r1.23.2.1 krb5/src/lib/gssapi/krb5/gssapi_krb5.c
cvs diff -r1.66.2.4 -r1.66.2.5
krb5/src/lib/gssapi/krb5/init_sec_context.c
cvs diff -r1.17 -r1.17.2.1 krb5/src/lib/gssapi/krb5/inq_cred.c
cvs diff -r1.7 -r1.7.18.1 krb5/src/lib/gssapi/krb5/rel_cred.c
cvs diff -r1.7 -r1.7.2.1 krb5/src/lib/gssapi/krb5/set_ccache.c