Simple setup

Server-side:

   1 sudo apt-get install samba

Simple Share test

Server-side:

   1 sudo mkdir -p /srv/samba/guestok
   2 sudo chown nobody:nogroup /srv/samba/guestok
   3 
   4 cat <<EOF | sudo tee --append /etc/samba/smb.conf
   5 [guestok]
   6 comment = Welcome guests
   7 path = /srv/samba/guestok
   8 guest ok = yes
   9 read only = false
  10 EOF
  11 
  12 sudo systemctl restart smbd.service

Client-side:

   1 sudo apt-get install smbclient

More tests

See https://wiki.samba.org/index.php/Developer_Documentation#Debugging_.2F_Testing