The Samba-Bugzilla – Bug 123
smbpasswd is b0rked!
Last modified: 2005-02-07 07:57:00 UTC
smbpasswd ignores any password from the command line.
ie: smbpasswd -L -a manager morpheus1
Asks for a password from the console. ie: New SMB password: etc.
Is this a security feature?
This isn't a release stopper, and behaves as documented.
Root cannot put the password on the command line, -L acts as root.
Putting the password on the command line is *always* a bad idea, it's just
allowed for backward compatability.
This is why we have the --stdin flag, if you want to make it easy to script.
originally reported against 3.0aph24. Bugzilla spring cleaning.
Removing old alpha versions.