

Similar issue: https://serverfault.com/questions/575394/samba-public-share-windows-keeps-asking-for-password#715372
Adding
[global]
map to guest = bad user
to smb.conf and restart the service.
If that doesn’t work there are a few other suggestions in the thread.
That sounds like terrorist talk
/s