Web lists-archives.com

Re: [Samba] How to get users last Login time




> https://blogs.technet.microsoft.com/askds/2009/04/15/the-lastlogontimestamp-attribute-what-it-was-designed-for-and-how-it-works/

It was literally designed for *this exact use case*.

On 23.04.19 17:35, Rowland Penny via samba wrote:
> On Tue, 23 Apr 2019 17:12:37 +0200
> Sven Schwedas via samba <samba@xxxxxxxxxxxxxxx> 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.
> 
> Rowland
> 

-- 
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas, Systemadministrator
✉ sven.schwedas@xxxxxx | ☎ +43 680 301 7167
TAO Digital   | Teil der TAO Beratungs- & Management GmbH
Lendplatz 45  | FN 213999f/Klagenfurt, FB-Gericht Villach
A8020 Graz    | https://www.tao-digital.at

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba