Title: #5450: kcm: add support for kerberos tgt renewals
In this case the hash table is completely redundant. I think we have
1. Keep the hash table. But in this case it would be better to maintain it from
store/init/destroy/remove operations instead of populating it just before the refresh.
2. Drop the hash table and make the code much more straightforward. You don't
need to renew_init on process start but only from the timer. You just want to iterate over
all ccaches and find renewable tgts in the timer handler. (I favor this as long as there
won't be performance issues since it is much easier)
In both cases, you'll probably end up with renew_init unneeded and you will gain
support for all backends not just ccdb.
Thank you, I will work on revising the PR for option 2. Just for information I am out on
PTO starting April 2nd and returning April 12th.
See the full comment at https://github.com/SSSD/sssd/pull/5450#issuecomment-811904597