*** Bug 1482816 has been marked as a duplicate of this bug. ***
smbpasswd was not only broken for local users but also the remote case was broken because there was no way to set the domain name. This has been also addressed!
Bug verified and covered by one of our tests.
Bug is fixed on latest 7.4 and 7.5 versions of Samba.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.