[Samba] Smbpasswd -a USERNAME PASSWORD -- no longer works in
samba 3.0.9!!!
Gerald (Jerry) Carter
jerry at samba.org
Fri Dec 10 16:07:45 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
sysrm wrote:
| All our scripts etc no longer work since installing 3.0.9 when adding new
| users.
|
| We use a perl script to make sure there are no duplicate names/uid's
etc and
| generate a random 8 char password.
|
| It then adds the user to /etc/passwd with that password and then invokes
| smbpasswd -a $username $password which no longer works with the 3.0.9
| version of smbpasswd!
(echo $pw; echo $pw ) | smbpasswd -s -a $username
It was mentioned in the release notes in case anyone
ever reads those :-)
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBucnRIR7qMdg1EfYRApPWAJ49nLiKY2ZwF07gOWp/Os6zh4h5qQCfasLQ
h3EbKtZ83kpOdewlH4lKc3A=
=3eTm
-----END PGP SIGNATURE-----
More information about the samba
mailing list