I followed in his footsteps but it did not work.
Well, the command worked but when I log in with the username and password nothing happens. Does not ask to change password
systemd-run -M nsdc -t /bin/bash -c "samba-tool user setpassword adrianac --must-change-at-next-login"
Running as unit run-15566.service.
Press ^] three times within 1s to disconnect TTY.
Changed password OK