Remove unused code from cc_mslsa.c Remove PreserveInitialTicketIdentity() and IsKerberosLogon(), as well as the preprocessor conditionals ENABLE_PURGING and PURGE_ALL, which have not been used in a very long time, if ever. There was one potential callsite of IsKerberosLogon(), in lcc_resolve(), which was disabled. It is perfectly reasonable to want to use the MSLSA cache on a non-domain-joined workstation, as it is now a read-write cache type, so we need not concern ourselves whether the logon was performed or may have been performed using kerberos. https://github.com/krb5/krb5/commit/07aaaee56bf40bfef2847b6f09897ce1aa96773d Author: Ben Kaduk Commit: 07aaaee56bf40bfef2847b6f09897ce1aa96773d Branch: master src/lib/krb5/ccache/cc_mslsa.c | 108 ---------------------------------------- 1 files changed, 0 insertions(+), 108 deletions(-)