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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...