Bug 1745 - smbpasswd behaviour changed between 3.0.3 and 3.0.6-2
smbpasswd behaviour changed between 3.0.3 and 3.0.6-2
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: Upgrade
3.0.6
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-09 18:57 UTC by Garry Optland
Modified: 2005-02-07 09:38 UTC (History)
0 users

See Also:


Attachments

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
works. 

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 2004-09-15 05:54:32 UTC
You can use stdin by 

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