Description of problem: After having switched to sssd-kcm and KCM: ccaches, sssd-kcm does not automatically refresh tickets. Version-Release number of selected component (if applicable): sssd-1.15.3-3.fc26.x86_64 sssd-kcm-1.15.3-3.fc26.x86_64 How reproducible: Consistent Steps to Reproduce: 1. In krb5.conf, set ticket_lifetime=5m and renew_lifetime=7d 2. Get a ticket 3. After 5 minutes, do a klist or use the ticket Actual results: The ticket has expired and using it returns errors. Expected results: The ticket got auto-renewed and using the ticket results in correct authenticators being produced. Additional info:
Sorry, but this is not implemented yet. I hope to get the renewals implemented quite soon, not before F-27 GA, but before F-27. However, currently it doesn't work this way. I guess the design page made it sound like the functionality is already there? In general yes, this is of the reasons we went along with KCM by default..because currently either you log with SSSD and then it takes care of the renewals or you kinit and then you must call kinit -R to renew the ticket -- but since SSSD can only renew tickets it knows about, it wouldn't renew tickets acquired through kinit. If KCM renewed all the tickets, this problem would go away.
Ah, okay. I was following the https://fedoraproject.org/wiki/Changes/KerberosKCMCache#How_To_Test instructions: "If the Kerberos ticket that was acquired is renewable, SSSD would renew the ticket automatically.". Maybe it would be good to update the testing instructions then.
Upstream ticket: https://pagure.io/SSSD/sssd/issue/1723
As this issue is an RFE already being tracked on our pagure, I'd like to close it here. Please, if, for some reason, you need this bug tracked on rhbz, feel free to re-open it.