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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
