macOS Ventura ActiveDirectory no Kerberos ticket (TGT) gets saved/cached on login (lockscreen does!)

We noticed that on devices running Ventura that are bound to our ActiveDirectory no (valid) kerberos ticket (tgt) / cache is available on login. Previous versions did this without a problem as long as a connection to the AD is available. (Please no comment about SSO or NoMAD)


Now our shares wont connect on login and 'klist' returns 'cache not found'. Funnily - in contrast when entering the password in the lockscreen the ticket does get cached and everything works as expected.


After I remembered an older bug on Mojave regarding Kerberos with /etc/pam.d/authorization and /screensaver I looked in these files and found that 'authorization' had a very suspicious option (and screensaver didn't):


no_ccache


I compared it against another device still running Monterey and it didn't have it...


So I tried removing it, rebooted and who would have thought? It now does create the correct Kerberos cache with the TGT in it as it should be!


But of course I have no Idea what side effects removing that options has especially regarding security. Also updating to a newer build resets this config...


Does anyone have more insights into this? Maybe it is a known issue I just couldn't find anywhere?

iMac

Posted on Dec 21, 2022 2:07 AM

Reply

Similar questions

4 replies

Feb 23, 2023 5:31 AM in response to lw-rz-unia

We have the same issue and have been testing devices by editing the authorization file, changing the first line from:

auth optional pam_krb5.so use_first_pass no_ccache

to

auth optional pam_krb5.so use_first_pass use_kcminit


The use_kcminit is taken from the screensaver file in the same location.

So far it has resolved the issue and kerberos tickets are created when a user logs on.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macOS Ventura ActiveDirectory no Kerberos ticket (TGT) gets saved/cached on login (lockscreen does!)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.