Web lists-archives.com

Re: [Samba] Users list and the date the password will expire

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@xxxxxxxxxxxxxxx> 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.


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