The Samba-Bugzilla – Bug 1836
adding users via smbpasswd went to hell
Last modified: 2004-09-28 00:14:42 UTC
When adding 3000+ accounts in samba2x smbpasswd -a <user> <passwd> was nice and
fast (about 15 minutes). It's also usefull for sync'ing passwds. Samba3
removed that and now it takes over 2 hours using expect. I'm converting to
LDAP, but this 'feature' was really nice. I don't know why it was removed, but
please add it back. Otherwise, is there a way to bulk add accounts?
thanks for not making me run NT anymore.
Use (echo password; echo password) | smbpasswd -a <user> -s