Posted on 09-18-2015 02:07 PM
I've traced an issue that's been plaguing us down to a "simple" problem:
Kerberos tickets are not syncing with Open Directory password changes (from System Preferences).
Another way to put this:
Expired/expiring ticket renewal requests are being signed with old keys until the machine is rebooted.
How can I get these back in sync?
A little more info: We see the problem manifest when, after the 10 hour ticket expiration, kcm kicks in and tries (presumably) to renew. It fails due to an incorrect password (key) and subsequently locks the user out after a number of retries. If we kill the kcm service, no issue. If we kdestroy the tickets manually after a password change, no issue.
We're using OS X 10.9 and 10.10 on the clients and 10.10 on the server.
Posted on 09-18-2015 03:16 PM
As the base behaviour of the OS can't really be changed that easily, I would probably look to either:
kdestroy
to the end of the password change process, or...Posted on 09-18-2015 05:54 PM
Thanks David. I was definitely leaning toward #1. The issue we've got it folks have multiple machines so we'd also have to update other machines they've logged into recently so they don't get locked out.
Has anyone else encountered anything like this?
How is everyone else dealing with the password changes? Do you just have Kerberos Credential Caching disabled?
Posted on 09-24-2015 11:51 AM
Do you force users to re-authenticate when the screensaver kicks in? Not sure if it is the same in an OD environment, but in Active Directory re-authenticating when the screensaver kicks on renews the tickets. We have the issue when authenticating with a smart card off network, and user connects to the network (VPN or wired in) and the kerberos authentication does not automatically happen. Our users are trained to lock the screen and then re-authenticate to get the tickets.