The Samba-Bugzilla – Bug 1765
smbpasswd in 3.0.7 does not read password from stdin (-s option)
Last modified: 2004-09-15 05:47:34 UTC
Yesterday I have upgraded my 3 samba servers running Fedora core 2 from 3.0.5 to
3.0.7 compiling for i686 architecture src.rpm files from samba download site.
Everything works fine, but I found that smbpasswd command which I use mainly
from shell scripts to change users passowrd in local mode (-L option) does not
read password from standart input (-s option). It gives me a output with a help
Seems smbpassword can recognize and use "-s" option.
Can you check this ?
University of Rousse
The bahavior has changed slightly
$ echo 'pass'; echo 'pass' | smbpasswd -s