[Samba] How to get users last Login time
sven.schwedas at tao.at
Wed Apr 24 09:43:04 UTC 2019
On 24.04.19 11:33, Rowland Penny via samba wrote:
> It actually says 'the lastLogontimeStamp will be 9-14 days behind the
> current date.'
Which is fine for OP, who only cares about a 90 day time frame?
> So what happens if a user has logged in 6 days ago and you want to
> delete users that have been inactive for over 10 days ?
You set ms-DS-Logon-Time-Sync-Interval to a more appropriate value, like
…And hope that Samba honours that. If Samba doesn't support it, then
yes, you'll have to manually mess around with querying all DCs for this
particular edge case.
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas, Systemadministrator
✉ sven.schwedas at tao.at | ☎ +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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: OpenPGP digital signature
More information about the samba