LaunchDeamon for Kerberos SSO

markc01
New Contributor

Hello, not a direct jamf question however i have configured the Kerberso SSO Extension and working fine. I want to create a launchAgent/LaunchDaemon to trigger a script when com.apple.KerberosPlugin.ConnectionCompleted i have as below but not working. Any ideas on how to get this working ?

When i run launchctl list | grep the name

i get error 78

The script working fine when ran from terminal.

launchDaemon.plist

KeepAlive

true

Label

name.plist

RunAtLoad

true

ProgramArguments

pathtoScript

-notification

com.apple.KerberosPlugin.ConnectionCompleted

-action

pathtoScript/nameofscript.sh

2 REPLIES 2

Tribruin
Valued Contributor II

Take a look at this PDF. You will need to download the listener:

 

Jamf_Kerberos.pdf (hcsonline.com)

Mithrandir
New Contributor III

Apple released the OpenSource portions of their Kerberos implement, and it's been mirrored to:
Apple OpenSource Mirrror 
I also found the following GitHiub repository to be most helpful with my own efforts:

DistributedNotificationListener