RE: how to send messages over network from linux server to windowsmachines

"Sharpe, Sam J" <sam.sharpe-AQ/[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
 
smbclient -M <machinename>
 
>From the manpage:
 
       -M NetBIOS name
              This  options allows you to send messages, using the
"WinPopup"
              protocol, to another computer. Once a connection is
established
              you then type your message, pressing ^D (control-D) to
end.
 
              If the receiving computer is running WinPopup the user
will re-
              ceive the message and probably a beep. If they are not
running
              WinPopup  the  message  will be lost, and no error message
will
              occur.
 
              The message is also automatically truncated if the
message  is
              over 1600 bytes, as this is the limit of the protocol.
 
              One  useful  trick  is to cat the message
throughsmbclient. For
              example:  cat mymessage.txt | smbclient -M FRED  will send
the
              message in the file mymessage.txt to the machine FRED.
 
              You  may  also  find the -U and-I options useful, as they
allow
              you to control the FROM and TO parts of the message.
 
              See the message command parameter in the smb.conf(5) for a
de-
              scription of how to handle incoming WinPopup messages in
Samba.
 
              Note: Copy WinPopup into the startup group on your WfWg
PCs  if
              you want them to always be able to receive messages.



________________________________

	From: [email protected]
[mailto:[email protected]] On Behalf Of Aftab Ahmed Khan
	Sent: 30 August 2006 11:41
	To: [email protected]
	Subject: how to send messages over network from linux server to
windowsmachines
	
	

	Hi,

	 

	Could somebody tell me how to send messages over a network from
RHEL AS 3.4 to Windows machines. 

	As we use "net send <pc-name> (message)" in windows to windows
messaging.

	 

	 

	 


	
------------------------------------------------------------------------
	This email and any files transmitted with it are confidential
and 
	intended solely for the use of the individual or entity to whom
they are 
	addressed. If you have received this email in error please
notify the 
	system manager. Please note that any views or opinions presented
in this 
	email are solely those of the author and do not necessarily
represent 
	those of the PARCO. Finally, the recipient should check this
email and 
	any attachments for the presence of viruses. The PARCO accepts
no 
	liability for any damage caused by any virus transmitted by this
email.'

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.