On Tuesday 19 September 2006 14:08, Gianluca Cecchi wrote:
> it seems that it does work in this way:
>
> "echo -e '$password\n$password' | smbpasswd -s -a $login"
>
> instead of
>
> "smbpasswd -a $login -s $password"
>
> at least form commad line. I don't know from perl.
>
> Obviosuly you should first create the linux user.
>
> HIH,
> Gianluca


Thank's Gianluca. That worked from the perl script. Saved my life with a 
thousand samba accounts to create!!!

Regards,

Tony.

-- 


Tony Molloy.

Dept. of Comp. Sci.
University of Limerick
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to