Actually that's not entirely true. If you're running 2k03, we have a new
attribute we maintain for this very purpose. This was a FAQ in 2k days.

lastLogonTimestamp is the attribute you're looking for. Here's a page or
two on it:
http://msdn.microsoft.com/library/en-us/adschema/adschema/a_lastlogontim
estamp.asp
http://msdn.microsoft.com/library/en-us/adschema/adschema/a_msds_logonti
mesyncinterval.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;828266

If you change msDS-LogonTimeSyncInterval, be careful or you'll be
pushing a ton of changes around the domain. We intentionally don't
replicate this thing every time a user logs on with default settings.

~Eric



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Sunday, June 06, 2004 2:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Tracking the machine from which user logs in

Mukul,

The only way you're going to get that information is from the event log.
Of course, there's some filtering you'll want to do as well.  Here's a
good article on the process:

http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/mo
nitor/logonoff.mspx

-m

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mukul Joshi
Sent: Sunday, June 06, 2004 2:55 AM
To: ADList
Subject: [ActiveDir] Tracking the machine from which user logs in

Hi, 

I am writing an application that would track the login logoff activities
of users. I can get lastlogin and lastlogoff information from AD, but I
also need to know the machine/IP on which that particular login/logoff
happened. How do I get this information? 

Thanks 
~ Mukul 



List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to