I tried to access Samba running on localhost, using smbclient:
Code: Select all
$ smbclient -L 127.0.0.1
A good thing to start with, is to turn up smbclient's debug-level, using the "-d" parameter:session setup failed: SUCCESS - 0
Code: Select all
$ smbclient -d 7 -L 127.0.0.1
[SOLUTION]SPNEGO login failed: NT_STATUS_IO_TIMEOUT
In my case, the problem was caused due to a broken name resolution: The DNS servers listed in /etc/resolv.conf weren't reachable.
After I've fixed that, the Samba issue went away, too.
Long story short:
If you run in this error: Check your name resolution!
Links: