Samba NT_STATUS_ACCESS_DENIED error on Ubuntu
Solution 1:
It turns out that, besides the Unix username, I'm also required to add a Samba username with the command below:
smbpasswd -a john
To see the users that are already created the command below can be used:
sudo pdbedit -L