When setting up to get a TGT for the service realm in the TGS code,
authorGreg Hudson <ghudson@mit.edu>
Tue, 20 Apr 2010 07:56:58 +0000 (07:56 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 20 Apr 2010 07:56:58 +0000 (07:56 +0000)
commitbc2db93977370ba1935f2a3ca0cb2184b8c27a3a
treebd8de18a26943c9667e5f227d55385759a4c7f76
parentffd48f9077b245d9d8f245f76775c508937a8f0d
When setting up to get a TGT for the service realm in the TGS code,
get the cached local TGT before setting up the realm path.

Prior to this change, calling krb5_get_credentials() with an empty
ccache would result in KRB5_CC_NOTFOUND for a foreign server
principal, but would result in KRB5_NO_TKT_IN_REALM (generated by
krb5_walk_realm_tree) for a local server principal.  With this change,
KRB5_CC_NOTFOUND is returned in both cases.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23909 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_creds.c