''sudo smbpasswd -a '' IF you want to map a samba user to a different local user: edit the file /etc/samba/smbusers '' = ""''