This will require a Unix account# in this server for every user accessing the server.
See# /usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html# in the samba-doc package for details.
First we’ll trigger the smbpasswd utility to create a samba password for the user.
sudo smbpasswd -a
Next, we’ll add that username to the smbusers file.
The format is = “”.