Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically detect user login and logouts from Open Directory?



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

References: 
 >Programatically detect user login and logouts from Open Directory? (From: Chris Driggett <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.