smbclient -M nt_status_bad_network_name error

I am trying to send a test message (for a test project) from my Ubuntu Virtualbox Guest to my Windows 8 host. I am getting the error nt_status_bad_network_name error.

What I know that works:

I can ping from Host to Guest and vice versa by using computer host name. MSG Service (replace net send) is enabled on Windows 8 side.

NOTE:
For LAN testing purposes, I did disable Windows firewall (thus is how I can ping from Ubuntu to Window host)

So I wonder why I type smbclient -M "computername” in the terminal from the virtualbox guest OS, I get “nt_status_bad_network_name error” when I try to send the message to the Windows host?

Answer

You haven’t put whole command line and smbclient response, so please make sure that "computername" contains heading \\ symbol.

Attribution
Source : Link , Question Author : Benjamin Jones , Answer Author : Michael Hampton

Leave a Comment