]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid unneeded GetMSTGT() calls in cc_mslsa.c 194/head
authorBen Kaduk <kaduk@mit.edu>
Thu, 14 Aug 2014 17:57:48 +0000 (13:57 -0400)
committerBen Kaduk <kaduk@mit.edu>
Tue, 9 Sep 2014 21:36:46 +0000 (17:36 -0400)
commit76a16d2652da483dd7bc95f24257e0f195b833f0
treee7fd137f10bfa70ffe8e8a903ffa63c2a728eb70
parente2d1a3aea7789b6acc5fa963da75ea666614764c
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.

ticket: 7989
src/lib/krb5/ccache/cc_mslsa.c