Web lists-archives.com

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

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
2 days.

…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@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