I have a script that changes a user's samba password.
The command in the script is: smbpasswd -s username newpasswd
When I upgraded samba from version 3.0.3 to version 3.0.6-2, my script no longer
I tried it from the command line, but all that happens is that the usage
information for smbpasswd is displayed.
My platform is Fedora Core 2, using the Red Hat packaged Samba.
I can work around this by calling smbpasswd from version 3.0.3
You can use stdin by
$ echo 'pass'; echo 'pass' | smbpasswd -s