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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo