Interactions with an SMB file server require authentication. For instance, when you view the shares available on a server or you try to mount a share on your system, the transaction is authenticated.
You can supply the password each time that you make a connection to the server, or you can store a persistent password to be automatically used for these transactions.