Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting the error NT_STATUS_BAD_NETWORK_NAME when I send the command echo "hello" | smbclient -M "hostname" from Ubuntu to Window. Dumb question, do I need to to configure smb.conf?

share|improve this question
Not necessarily, but in case there is authentication going on, you might have to feed smbclient with more parameters than just -M (e.g. -U). – Sami Laine Jan 5 '14 at 6:59

Maybe a silly question but are you sure your netbios client is running winpopup??? Because smbclient -M is aimed at sending messages to winpopup only AFAICT.

This is a pretty old protocol which has been abandonned after win95 IIRC... See Q137143 from MS Kb and man smbclient to make sure what you do is acheivable with the version of samba and windows you're using.

share|improve this answer
Thanks. Let me look. – Benjamin Jones Jan 5 '14 at 19:51
My NetBIOS client is on Window's 8. My guess is that Smbclient -M is will not work. What other options to send message between Ubuntu 13.10 and Windows 8? I'll ask in new post. – Benjamin Jones Jan 5 '14 at 19:54
but at the same time. I do want the Windows 8 client to see a pop up message from the Ubuntu Client. – Benjamin Jones Jan 5 '14 at 19:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.