Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : lastLogonTimestamp not available #52

Open
advissor opened this issue Mar 16, 2024 · 0 comments
Open

Question : lastLogonTimestamp not available #52

advissor opened this issue Mar 16, 2024 · 0 comments

Comments

@advissor
Copy link

Hi,
I was trying to test locally scenario of disabling users that hasn't logged on for a while via AD based on lastLogonTimestamp

Though, after login via LDAP (ldapsearch and python client), I can see that in list of attributes

I guess this is the AD setting

Any quick fix to enable this or code change that can be done?

P.S: I've seen on the web that this timestamp can lag and is not always the most reliable. But, as there are not many other alternatives to do this via LDAP, still want to try this approach. Poweshell on server is not an option at the moment

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant