look for this line in your /etc/samba/smb.conf
usershare template share = automount template
Change it to:
# usershare template share = automount template
then
sudo systemctl restart samba
look for this line in your /etc/samba/smb.conf
usershare template share = automount template
Change it to:
# usershare template share = automount template
then
sudo systemctl restart samba