This is a discussion on [SAMBA]: Net send'ed message to receive. within the Linux Networking forums, part of the Linux Forums category; Hello, I am running Samba version 2.2.3a-12.3 on our Debian linux box. There is a number ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I am running Samba version 2.2.3a-12.3 on our Debian linux box. There is a number of Windows users who extremally like to use Windows tool ,,net send'' to WinPopup others- that is to all computers in a workgroup. There is a need to log all of these messages on server running Samba. Unfortunately smb.conf's message command doesn't handle ,,net send *'' messages. Can you help me with solving that problem ? I've been google'ing for some time before writting here and I couldn't find anything that matched my problem. cheers, jr. -- Jacek Rożen |
|
|||
|
Jacek Ro?en wrote:
> Hello, > > I am running Samba version 2.2.3a-12.3 on our Debian linux box. There is > a number of Windows users who extremally like to use Windows tool ,,net > send'' to WinPopup others- that is to all computers in a workgroup. There > is a need to log all of these messages on server running Samba. > Unfortunately > smb.conf's message command doesn't handle ,,net send *'' messages. In fact, smb.conf´s "message command" is quite exactly what you need to use. man smb.conf: "message command (G) this specifies which command to run when the server receives a WinPopup style message." The (G) means that this option belongs in the [global] section. > Can you help me with solving that problem ? > [...] Try something like: message command = bash -c 'echo "from %f to %t: %s" >> /var/log/popups' & > cheers, > jr. > > -- > Jacek Ro?en cheers, Robert |
|
|||
|
On Sun, 23 Nov 2003 17:09:59 +0100, Robert Spielmann wrote:
> Jacek Ro?en wrote: > >> Hello, >> >> I am running Samba version 2.2.3a-12.3 on our Debian linux box. There is >> a number of Windows users who extremally like to use Windows tool ,,net >> send'' to WinPopup others- that is to all computers in a workgroup. There >> is a need to log all of these messages on server running Samba. > >> Unfortunately >> smb.conf's message command doesn't handle ,,net send *'' messages. > > In fact, smb.conf´s "message command" is quite exactly what you need to > use. man smb.conf: > > "message command (G) > this specifies which command to run when the server receives a WinPopup > style message." > I agree, when the message is sent directly to the server (smbclient -M host). But in case of ,,net send *'' message command doesn't work. cheers, jr. -- Jacek Rożen |