Bug 1745 - smbpasswd behaviour changed between 3.0.3 and 3.0.6-2
Summary: smbpasswd behaviour changed between 3.0.3 and 3.0.6-2
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Upgrade (show other bugs)
Version: 3.0.6
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-09-09 18:57 UTC by Garry Optland
Modified: 2005-02-07 09:38 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Garry Optland 2004-09-09 18:57:22 UTC
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
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-09-15 05:54:32 UTC
You can use stdin by 

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