[Samba] user must change password, works in ursmgr.exe but not with pdbedit

Ted Henriksson ted at henrikssons.net
Sun Aug 3 14:49:33 GMT 2008

Thank you Chris, that worked much better.

But I am a bit *surprised* that this info is so hard to find. Hopefully 
google will pick up on this now.


Chris Smith wrote:
> On Sunday 03 August 2008 10:14:50 am Ted Henriksson wrote:
>> pdbedit --pwd-must-change-time=(0 or current time) 'username'
> That syntax worked at one time but no longer, I needed to change to:
> net sam set pwdmustchangenow <username> yes
> Chris

More information about the samba mailing list