Question: how to change user password samba?
Answer: In the [global] section of the etc/samba/smb. conf add the following lines and save the file. Now set a users password by changing to that user (su<username>) and typing smbpasswd <username><enter>. Follow the smbpasswd chat to change the Samba password for this user.