[Samba] Password Expiration setting and manually adjusting the date

Philippe LeCavalier support at plecavalier.com
Sat Jun 11 16:38:58 UTC 2022

On Fri, Jun 10, 2022, 03:16 Rowland Penny via samba <samba at lists.samba.org>

> On Thu, 2022-06-09 at 17:24 -0400, Philippe LeCavalier via samba wrote:
> > Just bringing this back to the surface.
> >
> I have reread this thread and I think this is normal :-)
> Your user gets locked out because their password has expired.
> You unlock the user and set their password expiration to three days.
> Your user changes the password but this does not effect the expiry.
> After three days they get locked out again.
> Rinse and repeat :-)
> You are going about this the wrong way, you need to remind them that
> their password will expire before it does.
> Rowland

> They are aware it will expire in 30 just as they are aware it will expire
> after 3 (when I postpone it).

So you're confirming that changing a password does not change the date for
which the password is set to expire? In other words the only automatic or
systematic change of password is at the 90 day anniversary (it whatever
password settings show, which in my case is 90). This means when the user
gets locked and I unlock i also need to set the password to expire in 90
not 3.


More information about the samba mailing list