Need to use cat versus echo with the heredoc to make the changes to /etc/samba/smb.conf.