Thread-topic: Programatically detect user login and logouts from Open Directory?
User-agent: Microsoft-Entourage/11.3.6.070618
On 11/29/07 1:54 PM, "Chris Driggett" <email@hidden> wrote:
> All,
> I need to run a script on the server when a user authenticates or
> logs in to a computer and that user's info is taken off of the Open
> Directory server. I have tried parsing the log files but they do not
> seem reliable.
>
> I need to get both the user name and the ip address of the machine
> where the user is authenticating from. I've checked the Password
> Server logs and the Open Directory logs, but those don't seem to give
> me the ip address of the user.
Seems like the more reliable way to do this would be a loginhook on the
client. It can check whether the user is in OD (instead of local or
otherwise) and use curl to trigger a script on the server (via Apache).
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden