[SAMBA]: Net send'ed message to receive.

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-23-2003
Jacek Rożen
 
Posts: n/a
Default [SAMBA]: Net send'ed message to receive.

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


Reply With Quote
  #2 (permalink)  
Old 11-23-2003
Robert Spielmann
 
Posts: n/a
Default Re: [SAMBA]: Net send'ed message to receive.

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

Reply With Quote
  #3 (permalink)  
Old 11-23-2003
Jacek Rożen
 
Posts: n/a
Default Re: [SAMBA]: Net send'ed message to receive.

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0