I run: # samba-tool user setpassword muehlfeld --must-change-at-next-login New Password: Changed password OK Then I logged on Windows with my account (muehlfeld + new set password) and I wasn't forced to change my password.
Bug is still existing in 4.1.7. Changing product / version of this bug report
Hello All, I have tested this situation with preview release 4.3. This issue remains. Situation is a password reset. # /usr/local/samba/bin/samba-tool user setpassword USER1 --newpassword=ABC123abc --must-change-at-next-login Changed password OK # When I log in to a Linux server, the new password works but the user is not prompted to change the password. The option --must-change-at-next-login works only when a new user is added. The new password provided had not been used for the user previously.
I tried this in 4.5.0rc2 and I don't see this behaviour anymore. I'm closing this bug report.