ubuntu - smbclent send message Windows User
2014-04
I am trying to send a message to a Windows User from a Ubuntu User on the same LAN subnet. I can see the user's computer and PING IT from Ubuntu.
cat mymessage.txt | smbclient M BRIDGE2
Error:
Connect to BRIDGE2 failed. Error NT_STATUS_BAD_NETWORK_NAME.
How could this be? THe only difference is that the Windows computer in question is connected to a domain and the Ubuntu computer that is trying to send the message is NOT on a domian.
Any suggestions?
How can I send a message form one user to another user using msg command if both accounts are on same server and are using a client machine?
I know the basic use of msg command.
msg
"username" "message you want tosend
What parameters should I pass here so that other user can get my message?
Your syntax looks fine, but you may need to enter the server or session name.
The msg
command uses the domain to contact the user, so as long as they are on your domain with domain credentials it will send to whatever PC they are on.
msg /SERVER:<server_name> * /TIME:<time_in_seconds_to display> "<message_text>"
Just edit the text. Dont delete "
, *
or /
. Write them as they are.