I am trying to write a daemon that will log in to OS X automatically when a user connects remotely to this daemon. The user credentials are sent to the daemon by the user's client program. I knew that I could perform the automatic login by means of an AppleScript, but this is sometimes not working properly and I wanted to find something more robust. It was suggested to me that I should write an Authorization Plugin, and consider this task like wanting to login using a smart card.
I managed to write an Authorization Plugin, which is being called before the loginwindow plugin. I am using the SetContextValue() function to set the username and password, but this is not working.
The plugin is being called. I know this because the login screen does not show up before SetResutl() is being called. However the login screen is not being skipped. Do I need to set another Context Value for this? Am I doing anything wrong ? What should I do to make this work?
Thanks and Regards Alan J. Caruana
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden