create root cache on boot

steve steve at steve-ss.com
Wed May 1 13:47:37 EDT 2013


openSUSE 12.3 with Samba 4.0 KDC

Hi
Our Linux clients need a root cache available for cifs mounts. I have a 
machine key available on all clients. I've put:
kinit -k -t /etc/krb5.keytab MACHINE$
in /etc/init.d/boot.local
Other commands in boot.local run just fine except for the kinit. I know 
that the network is up and that the KDC is available because sssd uses 
the same machine key to create it's own cache.

Any ideas as to why the kinit fails in the boot script when other 
commands are OK?

(I have a workaround since I can simply copy the sssd cache to /tmp and 
rename it to krb5cc_0 and then refresh it via cron.hourly)

Cheers,
Steve


More information about the Kerberos mailing list