Page 2 of 2 <12
Topic Options
#140325 - 2005-05-26 08:33 PM Re: Active Directory Query Question
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Again, Computer accounts do not logon so this property is unavailable for computers.
Top
#140326 - 2005-05-26 08:44 PM Re: Active Directory Query Question
thepip3r Offline
Hey THIS is FUN
*****

Registered: 2005-03-02
Posts: 350
Are you sure Chris because I wrote an AD query tool using PHP and I can query for cn=%computername% and it returns a lastlogontimestamp....

Query for a computer account:
Code:

[lastlogontimestamp] => Array
(
[count] => 1
[0] => 127608227380157206
)

[35] => lastlogontimestamp



Edited by thepip3r (2005-05-26 08:45 PM)

Top
#140327 - 2005-05-26 09:47 PM Re: Active Directory Query Question
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
I was able to return information using lastLogonTimestamp, however it returned 50% of the results that using pwdLastSet did.
Top
#140328 - 2005-05-26 10:16 PM Re: Active Directory Query Question
thepip3r Offline
Hey THIS is FUN
*****

Registered: 2005-03-02
Posts: 350
Ok... thanx again Chris.
Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.153 seconds in which 0.094 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org