Net send messages

Hiya all

We have a AD domain and some Tiger workstations joined to it via the Apple AD client which works fine.
To send popup messages to the windows boxes we use :
'net send domain message text'
and the user gets a popup window with the message text in.
I have found an app for Panther called 'MacXPop' which works using the smb client.
Does anyone know of way to achive the same on Tiger?

Thanks in advance.
Laurence.


Mac OS X (10.4.3)

Posted on Dec 16, 2005 8:56 AM

Reply
4 replies

Dec 20, 2005 6:17 AM in response to Wade Peeler

I have solved this myself

In the smb.conf added the line to the global section.

message command = /usr/local/bin/netmsg "`cat %s`" %f &

NB. make sure the "guest account =" bit has a valid account, "unknown" doesn't seem to work...

The following is the above file:

#!/bin/sh
txt=$1
sdr=$2
osascript -e "tell application \"Finder\"" -e "activate" -e "set msg to \"${txt}\"" -e "display alert \"This is a message from ${sdr}\" message msg as warning" -e "end tell"

I'm no shell or applescript wizard so there may be another way of doing the same thing.

Mac OS X (10.4.3)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Net send messages

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.