Hello! 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. Goodbye
On 28/04/16 18:04, Carlos A. P. Cunha wrote:> Hello! > 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. > > Goodbye >Not sure that will ever work, why not just change the users password and then set the maximum password age, see 'samba-tool domain passwordsettings --help' for more info Rowland
On Thu, Apr 28, 2016 at 11:09 AM, Rowland penny <rpenny at samba.org> wrote:> pdbedit --pwd-must-change-time = "29/04/2016" --time-format = "% Y-% m-% > d" markIs this not setting the time format to be Year Month Day? The variables would be out of order if that's what's happening
Hello! I had looked at the options, and found nothing to what I want to do ... Because of this, I tried alteranativas with "pdbedit". Any other option? Goodbye Em 28-04-2016 15:09, Rowland penny escreveu:> samba-tool domain passwordsettings --help