I have a question about accessing a shared file directory.

on windows, if i enter a path, i can access the directory and view the contents (mostly printers)

on ubuntu when i put in the path as smb://[path] it prompts me for a username and password.

It won't make sense that i can access the directory without credentials on windows while on ubuntu credentials

what could be the reason?