sysrm
2004-Dec-10 15:50 UTC
[Samba] Smbpasswd -a USERNAME PASSWORD -- no longer works in samba 3.0.9!!!
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! Why has this mind bogglingly useful function been taken out?? Is there a way I can put it back in or use a 3.0.5 version with out issues?? Cheers Ross McInnes (A now bald) system admin
Gerald (Jerry) Carter
2004-Dec-10 16:08 UTC
[Samba] Smbpasswd -a USERNAME PASSWORD -- no longer works in samba 3.0.9!!!
-----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-----