From a50367ee119d0acf1bcaaf93f8c6fcc8fa68c999 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 19 Aug 2003 21:42:58 +0000 Subject: removing using_samba docs from samba cvs module (not are in a separate cvs module) (This used to be commit 4729e9cd52519c06c4be857d77bbccc2688b3cea) --- docs/htmldocs/using_samba/ch08_04.html | 168 --------------------------------- 1 file changed, 168 deletions(-) delete mode 100644 docs/htmldocs/using_samba/ch08_04.html (limited to 'docs/htmldocs/using_samba/ch08_04.html') diff --git a/docs/htmldocs/using_samba/ch08_04.html b/docs/htmldocs/using_samba/ch08_04.html deleted file mode 100644 index d45ce31474..0000000000 --- a/docs/htmldocs/using_samba/ch08_04.html +++ /dev/null @@ -1,168 +0,0 @@ - - - -[Chapter 8] 8.4 WinPopup Messages - - - - - - -
- - -
-

Using Samba

- -Robert Eckstein, David Collier-Brown, Peter Kelly -
1st Edition November 1999 -
1-56592-449-5, Order Number: 4495 -
416 pages, $34.95 -
-

Buy the hardcopy -

Table of Contents -

-
- - -
-
- -
-
-

- -8.4 WinPopup Messages

You can use the WinPopup tool (WINPOPUP.EXE) in Windows to send messages to users, machines, or entire workgroups on the network. This tool is provided with Windows 95 OSR2 and comes standard with Windows 98. With either Windows 95 or 98, however, you need to be running WinPopup to receive and send WinPopup messages. With Windows NT, you can still receive messages without starting such a tool; they will automatically appear in a small dialog box on the screen when received. The WinPopup application is shown in -Figure 8.1.

- -Figure 8.1: The WinPopup application

Figure 8.1

-Samba has a single WinPopup messaging option, -message -command, as shown in -Table 8.7.


- - - - - -
- -Table 8.7: WinPopup Configuration Option
-

-Option

-

-Parameter

-

-Function

-

-Default

-

-Scope

-

- -message command

-

string (fully-qualified pathname)

-

-Sets a command to run on Unix when a WinPopup message is received.

-

-None

-

-Global

-

- -8.4.1 message command

-Samba's -message -command option sets the path to a program that will run on the server when a Windows popup message arrives at the server. The command will be executed using the -guest -account user. What to do with one of these is questionable since it's probably for the Samba administrator, and Samba doesn't know his or her name. If you know there's a human using the console, the Samba team once suggested the following:

-[global]
-	message command = /bin/csh -c 'xedit %s; rm %s' &

-Note the use of variables here. The -%s variable will become the file that the message is in. This file should be deleted when the command is finished with it; otherwise, there will be a buildup of pop-up files collecting on the Samba server. In addition, the command must fork its own process (note the & after the command); otherwise the client may suspend and wait for notification that the command was sent successfully before continuing.

-In addition to the standard variables, -Table 8.8 shows the three unique variables that you can use in a -message -command.


- - - - - - - -
- -Table 8.8: Message Command Variables
-

-Variable

-

-Definition

-

- -%s

-

-The name of the file in which the message resides

-

- -%f

-

-The name of the client that sent the message

-

- -%t

-

-The name of the machine that is the destination of the message

-
-
-
- - -
- -Previous: 8.3 Internationalization - - - -Next: 8.5 Recently Added Options
-8.3 Internationalization - -Book Index -8.5 Recently Added Options

-
- - -
- - -O'Reilly Home | - -O'Reilly Bookstores | - -How to Order | - -O'Reilly Contacts
- -International | - -About O'Reilly | - -Affiliated Companies

-© 1999, O'Reilly & Associates, Inc. - -

- - -- cgit