Why does nautilus keep asking for username / password when connecting to a SMB share? I can’t connect

I want to share a folder.

I went to the Documents folder, right clicked, turned on sharing, gave it a name.

Nautilus installed Samba and said it was working.

I navigated to the “Other locations” area and found my computer’s name.

I clicked into that and found the share.

Clicked that and it asked for an anonymous connection or a registered connection.

I tried both and both times it failed. I can’t connect with any machine on the network though others can see it.

What’s happening? I’ve restarted the computer but still the same. A constant request for password each time I enter and try and connect.