If you are attempting to connect to a samba (smb) share and you are denied, there’s a high probability your user account hasn’t been granted access to the samba server yet. To grant a user access use the smbpasswd command line tool.
SSH to the samba server
Log in as root
smbpasswd -a username
Enter password (twice) – [...]






