Getting Data In

Why doesn't the LastLogon timestamp match betweeen the active directory (AD) and SA-LdapSearch information?

evinasco
Communicator

Good Morning,

I have been using SA-LdapSearch for a project. I have had the same issue with the time for I see results back, but I have other problems. I need the user's "last logon" information. When I compare with AD directly, information does not match with the SA-LdapSearch information. At AD the "last logon" is topday, at SA-LdapSearch the "last logon" was yesterday.

Has this happened to anybody else?

Regards

0 Karma

the0duke0
Path Finder

The LastLogon time stamp can vary from Domain Controller to Domain Controller as LastLogon is not replicated. lastLogonTimeStamp is replicated, but it is on a delay so this value will be 10-14 days behind. The main use for this field is to find accounts that are stale (i.e. >90 days old). https://blogs.technet.microsoft.com/askds/2009/04/15/the-lastlogontimestamp-attribute-what-it-was-de...

richgalloway
SplunkTrust
SplunkTrust

I converted this to a question from a comment on an unrelated subject.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...