I posted this comment/question on another discussion - https://jamfnation.jamfsoftware.com/discussion.html?id=4080, but don't think it will get any response because that discussion has been resolved.
We have an issue where if our users restart their computer their kerberos credentials are removed. We have many laptop users and they do not connect via Ethernet before logging back in after restarting. This means they do not acquire a new Kerberos ticket. We also use Centrify Express to bind our Macs. I am a novice when it comes to automating this process. Is there a way to automate this process for our Mac laptop users?
I've created an AppleScript command that can be run via Self Service after they've logged in and are connected via Wi-Fi to retrieve a new Kerberos Ticket so that they can print.
#! /bin/sh
osascript -e 'launch application "Terminal"' -e 'tell application "Terminal" to activate' -e 'tell application "Terminal" to do script with command "login $USER" in window 1' -e 'delay 15' -e 'do shell script "killall Terminal"'
It would be great to just request the ticket for them automatically using the currently logged user's password. Is this possible? Thanks for the help!
