[krbdev.mit.edu #7989] git commit

Benjamin Kaduk via RT rt at krbdev.mit.edu
Tue Sep 9 17:37:12 EDT 2014



Avoid unneeded GetMSTGT() calls in cc_mslsa.c

Both lcc_resolve() and lcc_get_principal() were using GetMSTGT()
to fetch a ticket from which to obtain the client principal name
of the credentials cache.  However, that name is contained in
the results of the the cache information query; there is no need
to retrieve a full ticket of any sort to get it.  Since there
may sometimes be difficulties obtaining a TGT when UAC is enabled,
avoid these unneeded calls.

https://github.com/krb5/krb5/commit/76a16d2652da483dd7bc95f24257e0f195b833f0
Author: Ben Kaduk <kaduk at mit.edu>
Commit: 76a16d2652da483dd7bc95f24257e0f195b833f0
Branch: master
 src/lib/krb5/ccache/cc_mslsa.c |   62 ++++++++++++++++++---------------------
 1 files changed, 29 insertions(+), 33 deletions(-)


More information about the kfwdev mailing list