I'm moving my whole company (approx 350 windows clients) over to LDAP and Samba and couldn't find a clean way to change the NT password. As we use Zimbra (since early v4) this is the perfect way to do it. Users now have a 'web' interface to change (all) their password for both Samba and Zimbra. All other solutions presume that your running Samba as a domain controller which we don't and don't want to.
P.S. The ReadMe mentions avioding the mkntpwd in favour of a pure Java implementation. Maybe this python code snippet will help
>>> import hashlib>>> nt_password = hashlib.new('md4', 'test'.encode('utf-16le')).hexdigest()>>> nt_password'0cb6948805f797bf2a82807973b89537'