krb5: Better default KCM cache logic (moar)
commit4dcfd968d0eda4b420c927b8e3a58a0a5fcad6b6
authorNicolas Williams <nico@twosigma.com>
Tue, 25 Jan 2022 20:46:32 +0000 (25 14:46 -0600)
committerNicolas Williams <nico@twosigma.com>
Tue, 25 Jan 2022 20:46:32 +0000 (25 14:46 -0600)
tree02dcedc544e093153805f9faa0ed4120c4e3e189
parent1a719bdc0ec7732e3a8505d97a479dfb0184f69e
krb5: Better default KCM cache logic (moar)

Ah, we can't use context->default_cc_name because that will be taken
from KRB5CCNAME if it's set, and then we'll think whatever that value is
is the default, but we're really looking to special case resolving of
the "%{UID}" KCM cache name.  So do that.
lib/krb5/kcm.c