Posted on 12-09-2021 07:07 AM
Hello folks,
we have adjusted the configuration of jamf connect. Since we don't need the Kerberos option, we've removed it. Now we have some MacBooks that still show when the password is about to expire. How can I remove this ad on the clients?
I've tried kdestroy -a, unscope and scope the config again for a test mac. Remove jamf connect und reinstalled the app. Restart, change networkconnection.
Regards BookMac
Posted on 12-09-2021 07:39 AM
Hi, the password expiration countdown is a configuration key in your Jamf Connect config setting which has nothing to do with kerberos. It's just a countdown which it syncs to your IDP. Look for this key <key>ExpirationNotificationStartDay</key>
I'm curious why you want to remove this option? Don't you want your users to know when their password is about to expire?
Posted on 12-09-2021 07:58 AM
Hey,
we dont have the key in our configuration. In the past we have used kerberos with this keys:
<key>Kerberos</key>
<dict>
<key>AutoRenewTickets</key>
<true/>
<key>Realm</key>
<string>domain.local</string>
That's why we had this expiration countdown in the past. The new macbooks with the "new" config don't get the expiration countdown but all existing macbooks who had the old config still get the info.
Posted on 01-04-2022 04:59 AM
We have another user with this:
As i sad we have changed our config and deleted the Kerberos Part. But some Clients thinks Kerberos is still active. So we have some users, which get this because their password expires after 90 days. They can change it with jamf connect but the timer still goes on. 😞
Posted on 01-05-2022 12:25 AM
defaults delete com.jamf.connect.state in terminal was the solution. after the command you need to quit jamf connect and it restarts without the expiration. how am i able to deploy it with a script for the users in jamf?
Posted on 01-05-2022 07:50 AM
I have a script that accomplishes that
#!/bin/sh
#current logged in user
curUser="`stat -f%Su /dev/console`"
pkill "Jamf Connect"
# Removing state file
rm -rf /Users/$curUser/Library/Preferences/com.jamf.connect.state.plist
exit 0
Posted on 01-06-2022 01:44 AM
#!/bin/sh
currentuser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name 😕 && ! /loginwindow/ { print $3 }')
echo $currentuser
sudo su - "$currentuser" -c "defaults delete com.jamf.connect.state.plist"
pkill "Jamf Connect"
exit 0
we've tried this and it looks good.