[Samba] Password must change

Carlos A. P. Cunha carlos.hollow at gmail.com
Thu Apr 28 17:04:27 UTC 2016

Own Samba 4.4 as ADDC with this cnfiguração passwords:

root @ Upsilon: ~ # samba-domain tool PasswordSettings show
Password informations for domain 'DC = XXXXXXXX "

Password complexity: on
Store plaintext passwords: off
Password history length: 24
Minimum password length: 7
Minimum password age (days): 1
Maximum password age (days): 400
Account lockout duration (mins): 30
Account lockout threshold (attempts): 0
Reset account lockout after (mins): 30

But I would like a User password had expired less days:

pdbedit -u -v mark

It has the attribute:

Password must change

I would like to change this, it is possible?

I tried this way

pdbedit --pwd-must-change-time = "29/04/2016" --time-format = "% Y-% m-% 
d" mark

However it did not work.


More information about the samba mailing list