Re: [Samba] How to get users last Login time
- Date: Tue, 23 Apr 2019 16:32:37 +0100
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] How to get users last Login time
On Tue, 23 Apr 2019 16:07:09 +0100
Fosiul Alam via samba <samba@xxxxxxxxxxxxxxx> wrote:
> We are using SAMBA4 As Active Directory We have a requirement to
> a) find out which user did not logging for more then 90 days and
> Delete those user by using script
> I am just wondering, is there any command to check in Samba4 to get
> user Last login time ?
You are nearly there, investigate the AD 'lastLogon' attribute,
there is a slight problem though, you will have to search every DC, this
attribute isn't replicated.
To unsubscribe from this list go to the following URL and read the