Local Network sharing
Uncheck Guest Access and more steps are below first backup configuration file by typing:
sudo cp /usr/share/samba/smb.conf /usr/share/samba/smb.conf.bak
Try to edit sudo vi /usr/share/samba/smb.conf
encrypt passwords = true
usershare owner only = false
Also change "security = share" to "security = user" and guest account = nobody Then restart
sudo service smbd restart
sudo /etc/init.d/samba restart