https://bugzilla.redhat.com/show_bug.cgi?id=2016992
--- Comment #15 from Ankur Sinha (FranciscoD) <sanjay.ankur(a)gmail.com> ---
For this second machine, I've also saved secrets.ldb. I can confirm that
removing it from /var/lib/sss/secrets and restarting the services `systemctl
restart sssd\*` makes kinit etc. work again:
(ins)[asinha@ankur ~]$ sudo mv /var/lib/sss/secrets/secrets.ldb .
(ins)[asinha@ankur ~]$ klist
klist: Credentials cache I/O operation failed while resolving ccache
(ins)[asinha@ankur ~]$ sudo ls /var/lib/sss/secrets/
(ins)[asinha@ankur ~]$ date
Mon 25 Oct 16:35:13 BST 2021
(ins)[asinha@ankur ~]$ kinit ankursinha(a)FEDORAPROJECT.ORG
kinit: Credentials cache I/O operation failed while getting default ccache
(ins)[asinha@ankur ~]$ sudo systemctl restart sssd-kcm.s*
(ins)[asinha@ankur ~]$ kinit ankursinha(a)FEDORAPROJECT.ORG
Password for ankursinha(a)FEDORAPROJECT.ORG:
(ins)[asinha@ankur ~]$ klist
Ticket cache: KCM:1000
Default principal: ankursinha(a)FEDORAPROJECT.ORG
Valid starting Expires Service principal
25/10/21 16:35:35 26/10/21 16:35:27
krbtgt/FEDORAPROJECT.ORG(a)FEDORAPROJECT.ORG
renew until 01/11/21 15:35:27
I've left the first machine as is so I can help test any fixes, also kept a
copy of secrets.ldb.
Thanks very much for all your help.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2016992