Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 at 6:59
add comment

1 Answer

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 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 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 at 19:57
add comment

Your Answer

 
discard

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.