It would be helpful to see a full Kodi debug log that demonstrates the issue and how the source is configured in sources.xml. Note that Windows requires you to use username/password authentication (anonymous shares no longer exist). This means even if you configure a share as open and accessible to anyone, the connecting client still needs to present itself as 'someone' else you are 'no one' and access is denied.
The problem is solved with adding a password.