[ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread England, Christopher M
Title: 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? W

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-06 Thread Robbie Allen
ilto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 10:50 PM > To: [EMAIL PROTECTED] > Subject: Re: [ActiveDir] LDAP & LastLogin for Computers > > > LDAP & LastLogin for ComputersThanks hunter. > > here is some code to determine all DC's in the AD do

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-07 Thread Roger Seielstad
ssage-From: Coleman, Hunter [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 10:10 PMTo: '[EMAIL PROTECTED]'Subject: RE: [ActiveDir] LDAP & LastLogin for Computers I'm getting the computer "lastlogin" attribute, which as I understand i

Re: [ActiveDir] LDAP & LastLogin for Computers

2003-08-07 Thread Glenn Corbett
rd .vbs / .cmd files, nothing special   G.   - Original Message - From: Jan Wilson To: [EMAIL PROTECTED] 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

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-07 Thread Joe
L PROTECTED]'Subject: RE: [ActiveDir] LDAP & LastLogin for Computers You're doing this the hard way.   Its far easier to know that computers will change their password automatically after 30 days. Look for any computer account with a password age say greater than 90

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-08 Thread Steve Rochford
time stamp on ntuser.dat   Steve -Original Message-From: England, Christopher M [mailto:[EMAIL PROTECTED] Sent: 06 August 2003 15:22To: [EMAIL PROTECTED]Subject: [ActiveDir] LDAP & LastLogin for Computers Greetings all, I am trying to pull LDAP queries on computer

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Coleman, Hunter
Glenn Corbett [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:28 PMTo: [EMAIL PROTECTED]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

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread England, Christopher M
IL 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&quo

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Coleman, Hunter
r From: Roger Seielstad [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 7:12 AMTo: '[EMAIL PROTECTED]'Subject: RE: [ActiveDir] LDAP & LastLogin for Computers You're doing this the hard way.   Its far easier to know that computers will change their password automati

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Bjelke John A Contr AFRL/VSIO
ho did not realize how close they were to success when they gave up." -Thomas Edison     -Original Message-From: England, Christopher M [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:22 AMTo: [EMAIL PROTECTED]Subject: [ActiveDir] LDAP

Re: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Jan Wilson
Glenn Corbett To: [EMAIL PROTECTED] 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 logg

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Coleman, Hunter
Title: 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 AMTo: [EMAIL PROTECTED]Subject: [ActiveDir] LDAP &a

Re: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Glenn Corbett
bject(GetObject(oRecordSet.Fields("ADsPath").Value).Parent) ' Output the name of the server ServerRec.ServerName = oParent.cn ServerRec.LDAPPath = oParent.AdsPath RetCol.Add(ServerRec) oRecordSet.MoveNext() End While End If oRecordSet.Close() oRootDSE=Nothing GetDomainDCs = RetCol End F

RE: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Free, Bob
Steve Rochford [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 06, 2003 9:19 AMTo: [EMAIL PROTECTED]Subject: RE: [ActiveDir] LDAP & LastLogin for Computers If knowing when the machine was last switched on is enough then you can check the password age for the machine account

Re: [ActiveDir] LDAP & LastLogin for Computers

2003-08-14 Thread Glenn Corbett
n up *MY* AD) *grin*   Glenn [EMAIL PROTECTED]     - Original Message - From: Coleman, Hunter To: '[EMAIL PROTECTED]' Sent: Thursday, August 07, 2003 3:48 AM Subject: RE: [ActiveDir] LDAP & LastLogin for Computers I've sent you off-list a cop