Greetings,
I want my users to be able to change their samba smbpassword from my website. I thought I could just use php's shell_exec() and Samba's smbpasswd to do the change.
It seems smbpasswd has a -s option to not prompt the user for old and new passwords. The manual says "This is useful when calling smbpasswd from a script".
Does anyone know how to write the shell_exec() to make this work? I have username and passwords in variables I've collected from a form.
TIA,
Chris