orgSubject: Re: [ActiveDir] LastLogon
timestamp
I am just curious, what was the issue for that "old attribute" i.e.
lastlogon not replicated.was it plain simple,
"too-much-replication-for-a-single-attribute" ? or anything else?
On 10/28/05, Almeida
Pinto, Jorge de
[EMAI
' This code prints the last logon timestamp for a user.
' -- SCRIPT CONFIGURATION --
strUserDN = UserDN ' e.g. cn=rallen,ou=Sales,dc=rallencorp,dc=com
' -- END CONFIGURATION -
set objUser = GetObject(LDAP:// strUserDN)
set objLogon = objUser.Get(lastLogonTimestamp)
I used 3rd party software Hyena.
Rimmerman, Russ wrote:
What's the easiest way to find out the last logon time of a user account? And
if you have 50 domain controllers, would you have to query each one for it, or
is this replicated some how? We're in a native win2k domain with mostly
Hi Russ,
For that you need to query all DCs as the old attribute is not
replicated between DCs
The new lastlogontimestamp attribute only is available in DFL W2K3 and
is replicated between DCs
In both FLs you could use OLDCMP (with the users option) from
joeware.net
I believe Joewares oldcmp will also give you llts.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Za Vue
Sent: Friday, October 28, 2005 7:19 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] LastLogon timestamp
I used 3rd party software Hyena
On Fri, 28 Oct 2005 05:55:47 -0500, you wrote:
What's the easiest way to find out the last logon time of a user account? And
if you have 50 domain controllers, would you have to query each one for it, or
is this replicated some how? We're in a native win2k domain with mostly
win2k3 DCs.
I'm using Hyena 6.5 but I guess since we arent 100% Win2k3 DCs yet, it
won't show yet.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Za Vue
Sent: Friday, October 28, 2005 6:19 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] LastLogon
I am just curious, what was the issue for that old attribute i.e. lastlogon not replicated.
was it plain simple, too-much-replication-for-a-single-attribute ? or anything else?On 10/28/05, Almeida Pinto, Jorge de
[EMAIL PROTECTED] wrote:Hi Russ,For that you need to query all DCs as the old
)**
-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Passo, Larry
Posted At: Tuesday, July 20, 2004
1:49 PM
Posted To: ~AD Discussion~
Conversation: [ActiveDir]
LastLogOn
Subject: RE: [ActiveDir] LastLogOn
Bginfo will show you the
logon server but it doesnt show you
To: ~AD Discussion~
Conversation: [ActiveDir]
LastLogOn
Subject: RE: [ActiveDir] LastLogOn
It
does tell you the time you logged into the PC. Very useful tool. I have it
scripted into my logon.vbs, using it to force a background out to the
PCs.
For
reference (yeah, I know its probably ugly, I
Hi Rob
The lastLogon attribute is not replicated between DCs. Even if you were able to
script something to do this, you would need to query all the DCs in the site (or the
entire domain if you wanted better accuracy) and then sort the results. For most
implementations this is simply not
Thanks for the info Tony
It was a desire rather than a necessity but would have been useful.
BR
Rob
-Original Message-
From: Tony Murray [mailto:[EMAIL PROTECTED]
Sent: 20 July 2004 16:13
To: [EMAIL PROTECTED]
Subject: Re: [ActiveDir] LastLogOn
Hi Rob
The lastLogon attribute
Title: LastLogOn
Query every domain controller and store those results in a
database.
The number of domain controllers, amount of users and link
speeds will determine how fast you can collect the stats.
You may only be able to collect once a day or possibly once
an hour.
Have a logon script
Title: LastLogOn
BgInfo from
http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml
may help.
Tim Foster
From: Durant, Ryan A
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 11:42
AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] LastLogOn
Query
:
[ActiveDir] LastLogOn
BgInfo
from
http://www.sysinternals.com/ntw2k/freeware/bginfo.shtml
may
help.
Tim
Foster
From: Durant,
Ryan A [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 11:42
AMTo:
[EMAIL PROTECTED]Subject: RE: [ActiveDir
Of Rutherford, Robert
Sent: Tuesday, July 20, 2004 10:24
AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] LastLogOn
Oh yeh... that's a good idea. We
have it on our servers, but yeh it would also work in the clients. I'll look
into it.
Cheers Tim.
-Original Message-
From
16 matches
Mail list logo