acquire_cred(), kg_caller_provided_ccache_name(): On further reflection
authorAlexandra Ellwood <lxs@mit.edu>
Wed, 19 Jul 2006 18:14:01 +0000 (18:14 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Wed, 19 Jul 2006 18:14:01 +0000 (18:14 +0000)
commit3bf4292984d7b13ac106a7d16128315028745385
tree4029c06f490033713e3abdece6a58301f4b7139c
parentc90f8a668ee109367c2558b4f1bba7e2dd90fb0a
acquire_cred(), kg_caller_provided_ccache_name(): On further reflection
and testing the correct thing appears to be to have gss_krb5_ccache_name()
stop gss_acquire_cred() from searching for the desired name in the cache
collection.  If the caller sets the ccache name then gss_acquire_cred will only
look in that ccache.  Added kg_caller_provided_ccache_name() to tell whether
or not the caller has actually set the ccache.  This should fix the problem for
both Mac OS X and Windows.

ticket: 4024

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18343 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/acquire_cred.c
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/gssapi_krb5.c