Iris Lames wrote:
Hi,
I'm using samba-3.0.28-0.fc8. I'm trying to build a file server for 100
users. I created a perl script that automatically adds the 100 users plus
their passwords with success. Now I'm having difficulty creating a script
using the smbpasswd command because passwords must be entered in stdin. I
also tried smbpasswd -s option but it asks passwd in stdin. Is there a way
that I can use the command smbpasswd plus the user password in one line?
You will be able to knock something up using expect.
http://expect.nist.gov/
There may be a better way, but that will work
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba