[Samba] pdbedit "password must change" not following policy

Chris Smith smb_77 at chrissmith.org
Sat Jul 2 07:08:16 MDT 2011


On Fri, Jul 1, 2011 at 7:57 PM, Chris Beach <chrisb at pintys.com> wrote:
> [root at success]# pdbedit -P "maximum password age"
> account policy value for maximum password age is 90

At one time I used pdbedit to force a password change and that stopped
working. Apparently it was deprecated in favor of "net sam set
pwdmustchangenow". I'm guessing the same thing happened to maximum
password age. Try using "net sam policy set maximum password age"
instead.

Chris


More information about the samba mailing list