| 1 | .\" Title: smbcontrol
|
|---|
| 2 | .\" Author:
|
|---|
| 3 | .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
|
|---|
| 4 | .\" Date: 08/25/2008
|
|---|
| 5 | .\" Manual: User Commands
|
|---|
| 6 | .\" Source: Samba 3.0
|
|---|
| 7 | .\"
|
|---|
| 8 | .TH "SMBCONTROL" "1" "08/25/2008" "Samba 3\.0" "User Commands"
|
|---|
| 9 | .\" disable hyphenation
|
|---|
| 10 | .nh
|
|---|
| 11 | .\" disable justification (adjust text to left margin only)
|
|---|
| 12 | .ad l
|
|---|
| 13 | .SH "NAME"
|
|---|
| 14 | smbcontrol - send messages to smbd, nmbd or winbindd processes
|
|---|
| 15 | .SH "SYNOPSIS"
|
|---|
| 16 | .HP 1
|
|---|
| 17 | smbcontrol [\-i] [\-s]
|
|---|
| 18 | .HP 1
|
|---|
| 19 | smbcontrol [destination] [message\-type] [parameter]
|
|---|
| 20 | .SH "DESCRIPTION"
|
|---|
| 21 | .PP
|
|---|
| 22 | This tool is part of the
|
|---|
| 23 | \fBsamba\fR(7)
|
|---|
| 24 | suite\.
|
|---|
| 25 | .PP
|
|---|
| 26 | smbcontrol
|
|---|
| 27 | is a very small program, which sends messages to a
|
|---|
| 28 | \fBsmbd\fR(8), a
|
|---|
| 29 | \fBnmbd\fR(8), or a
|
|---|
| 30 | \fBwinbindd\fR(8)
|
|---|
| 31 | daemon running on the system\.
|
|---|
| 32 | .SH "OPTIONS"
|
|---|
| 33 | .PP
|
|---|
| 34 | \-h|\-\-help
|
|---|
| 35 | .RS 4
|
|---|
| 36 | Print a summary of command line options\.
|
|---|
| 37 | .RE
|
|---|
| 38 | .PP
|
|---|
| 39 | \-s <configuration file>
|
|---|
| 40 | .RS 4
|
|---|
| 41 | The file specified contains the configuration details required by the server\. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\. See
|
|---|
| 42 | \fIsmb\.conf\fR
|
|---|
| 43 | for more information\. The default configuration file name is determined at compile time\.
|
|---|
| 44 | .RE
|
|---|
| 45 | .PP
|
|---|
| 46 | \-i
|
|---|
| 47 | .RS 4
|
|---|
| 48 | Run interactively\. Individual commands of the form destination message\-type parameters can be entered on STDIN\. An empty command line or a "q" will quit the program\.
|
|---|
| 49 | .RE
|
|---|
| 50 | .PP
|
|---|
| 51 | destination
|
|---|
| 52 | .RS 4
|
|---|
| 53 | One of
|
|---|
| 54 | \fInmbd\fR,
|
|---|
| 55 | \fIsmbd\fR
|
|---|
| 56 | or a process ID\.
|
|---|
| 57 | .sp
|
|---|
| 58 | The
|
|---|
| 59 | \fIsmbd\fR
|
|---|
| 60 | destination causes the message to "broadcast" to all smbd daemons\.
|
|---|
| 61 | .sp
|
|---|
| 62 | The
|
|---|
| 63 | \fInmbd\fR
|
|---|
| 64 | destination causes the message to be sent to the nmbd daemon specified in the
|
|---|
| 65 | \fInmbd\.pid\fR
|
|---|
| 66 | file\.
|
|---|
| 67 | .sp
|
|---|
| 68 | If a single process ID is given, the message is sent to only that process\.
|
|---|
| 69 | .RE
|
|---|
| 70 | .PP
|
|---|
| 71 | message\-type
|
|---|
| 72 | .RS 4
|
|---|
| 73 | Type of message to send\. See the section
|
|---|
| 74 | \fBMESSAGE\-TYPES\fR
|
|---|
| 75 | for details\.
|
|---|
| 76 | .RE
|
|---|
| 77 | .PP
|
|---|
| 78 | parameters
|
|---|
|
|---|