Networking Forums

Networking Forums > Computer Networking > Linux Networking > [SAMBA]: Net send'ed message to receive.

Reply
Thread Tools Display Modes

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

 
 
=?iso-8859-2?q?Jacek_Ro=BFen?=
Guest
Posts: n/a

 
      11-23-2003, 01:02 PM
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
 
 
 
 
Robert Spielmann
Guest
Posts: n/a

 
      11-23-2003, 03:09 PM
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
 
=?iso-8859-2?q?Jacek_Ro=BFen?=
Guest
Posts: n/a

 
      11-23-2003, 03:49 PM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a router receive as well as send? Chris Shearer Cooper Network Routers 3 07-27-2007 10:46 AM
Able to receive email but not send when on the road Mel Wireless Networks 2 01-02-2007 06:50 PM
Ex-wanadoo - can now receive but not send in OE Rose28 Broadband 4 09-04-2006 08:38 PM
Time taken for send/receive. cathode23@gmail.com Linux Networking 1 08-29-2005 10:08 PM
Can't send only receive! Magnus Wireless Internet 1 05-31-2004 11:25 PM



1 2 3 4 5 6 7 8 9 10 11