SMB usually works well in a domain environment between client and server machines if they are all on the same domain. SMB often and randomly does not work between two client computers on a domain and in workgroup environment. I have to configure SSH server on Windows computers that I access often because of random inability of Windows to talk to another computer (sometimes sitting right next to it).
Samba on the other hand takes some setting up but once it works, it keeps working...until the next OS/major version upgrade.