[Samba] How to get users last Login time

Rowland Penny rpenny at samba.org
Tue Apr 23 15:35:23 UTC 2019

On Tue, 23 Apr 2019 17:12:37 +0200
Sven Schwedas via samba <samba at lists.samba.org> wrote:

> https://docs.microsoft.com/en-us/windows/desktop/adschema/a-lastlogontimestamp
> Works on Samba AD as on Windows and can be queried by any LDAP client
> and used in Bash/Powershell scripts. There's probably finished scripts
> somewhere you can use.

Yes, you could use that attribute, but it isn't as accurate.


More information about the samba mailing list