Samba: session setup failed: NT_STATUS_LOGON_FAILURE
As Andrew mentioned: sudo smbpasswd -a This command did the trick for me. Before that I used Webmin to browse samba users, and change my user password there, it did not work! To my experience, this NT_STATUS_LOGON_FAILURE error is very popular when I tried setup samba servers. The difficult thing is that there are many causes to give this same-boring-uninformative error message.