Bug 1765 - smbpasswd in 3.0.7 does not read password from stdin (-s option)
smbpasswd in 3.0.7 does not read password from stdin (-s option)
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control
x86 Linux
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-09-14 23:50 UTC by Nikolay Kabaivanov
Modified: 2004-09-15 05:47 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Kabaivanov 2004-09-14 23:50:21 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 ? 
Best regards 
Nikolay Kabaivanov
University of Rousse
Comment 1 Gerald (Jerry) Carter 2004-09-15 05:47:34 UTC
The bahavior has changed slightly

$ echo 'pass'; echo 'pass' | smbpasswd -s