[Samba] Users list and the date the password will expire
ole.traupe at tu-berlin.de
Tue Feb 14 13:50:59 UTC 2017
Ok, maybe I haven't understood your idea then.
Mine was: check a user's password expiry if (and only if)
- the account requires a password
- the password can expire
- the account isn't disabled
And those criteria are met if the userAccountControl value is "512".
Oh wait: as you are checking bits, you have the SmartCard case covered
as well, right?
On 14.02.2017 13:29, Rowland Penny via samba wrote:
> On Tue, 14 Feb 2017 13:07:17 +0100
> Ole Traupe via samba <samba at lists.samba.org> wrote:
>> Yes, but if the password never expires, I don't need to include it in
>> the check the script performs.
> Yes and doing it my way ensures the user will get excluded.
More information about the samba