ive been looking at these
http://emeadeployment.blogspot.co.uk/2012/10/107-and-108-clients-do-not-generate.html
http://support.apple.com/kb/HT5385
Below Works fine
Find the line:
auth optional pam_krb5.so use_first_pass use_kcminit
Add the key "default_principal" to the end of the line. For example:
auth optional pam_krb5.so use_first_pass use_kcminit default_principal
Is this scriptable? I dont want to have to just push this out all the time.
I have a mix of 10.6 and starting with a couple 10.8 machines
my idea was to have a script that runs at start up something like
#!/bin/sh
# Carry out an OS version check
OS=`/usr/bin/defaults read /System/Library/CoreServices/SystemVersion ProductVersion | awk '{print substr($1,1,4)}'`
# If the OS is 10.6 then fix Kerberos TGT http://support.apple.com/kb/ht4100
if [[ "$OS" == "10.6" ]]; then
sudo /usr/libexec/PlistBuddy -c "Add :rights:system.login.console:mechanisms:11 string "builtin:krb5store,privileged"" /etc/authorization
# If the OS is 10.8 then fix Kerberos TGT http://support.apple.com/kb/HT5385
elif [[ "$OS" == "10.8" ]]; then
# (some command!)
fi
exit 0