Title: LDAP & LastLogin for Computers
We just append to a text file in the users home directory at each login, and record username, IP, machine name, MAC address, time etc.  dont roll over or archive them, as <1k is added each time the user logs on.
 
Login scripts are just standard .vbs / .cmd files, nothing special
 
G.
 
----- Original Message -----
From: Jan Wilson
Sent: Thursday, August 07, 2003 2:25 PM
Subject: Re: [ActiveDir] LDAP & LastLogin for Computers

What - if any  - login script tool do you use? We keep every login (time -
date - IP - computer name - user name) in one huge text - each month we
rename and collect the next month's data. We use KIX
----- Original Message -----
Sent: Wednesday, August 06, 2003 6:28 PM
Subject: Re: [ActiveDir] LDAP & LastLogin for Computers

Hunter,
 
Are you actually querying the workstation, or just the user accounts ? If your finding out when a computer was last logged onto, I would LOVE to have a copy of the script as well (so I can kick our desktop support guys in the bum to clean up *MY* AD) *grin*
 
Glenn
 
 
----- Original Message -----
Sent: Thursday, August 07, 2003 3:48 AM
Subject: RE: [ActiveDir] LDAP & LastLogin for Computers

I've sent you off-list a copy of a script we use to get this information. Hope it helps
 
Hunter


From: England, Christopher M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 8:22 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] LDAP & LastLogin for Computers

Greetings all,

I am trying to pull LDAP queries on computer accounts and I want to find out the last time someone logged into the machine. "WhenModified" is just the computer account object and "LastLogin" is just for user accounts. Am I out of luck?

What I have is this: 400 or so computer accounts in one OU (with many sub-OUs) probably need to be 1) moved to a new OU or 2) deleted. #1 happens if they have logged in in say the last few months. #2 if not.

Any suggestions would be great!

Thanks,
Chris

---------------------------------------------------------
Christopher England
Server Administrator
MCSA, Server+, Network+, A+
College Information Technology Office
Indiana University

Reply via email to