Changeset 286 for branches/samba-3.0/docs/manpages/smbcontrol.1
- Timestamp:
- Jun 24, 2009, 5:09:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/smbcontrol.1
r158 r286 1 1 .\" Title: smbcontrol 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.7 3.2<http://docbook.sf.net/>4 .\" Date: 0 8/25/20082 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 06/22/2009 5 5 .\" Manual: User Commands 6 6 .\" Source: Samba 3.0 7 .\" Language: English 7 8 .\" 8 .TH "SMBCONTROL" "1" "08/25/2008" "Samba 3\.0" "User Commands" 9 .TH "SMBCONTROL" "1" "06/22/2009" "Samba 3\&.0" "User Commands" 10 .\" ----------------------------------------------------------------- 11 .\" * (re)Define some macros 12 .\" ----------------------------------------------------------------- 13 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 .\" toupper - uppercase a string (locale-aware) 15 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 .de toupper 17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ 18 \\$* 19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz 20 .. 21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 .\" SH-xref - format a cross-reference to an SH section 23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 .de SH-xref 25 .ie n \{\ 26 .\} 27 .toupper \\$* 28 .el \{\ 29 \\$* 30 .\} 31 .. 32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 .\" SH - level-one heading that works better for non-TTY output 34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 .de1 SH 36 .\" put an extra blank line of space above the head in non-TTY output 37 .if t \{\ 38 .sp 1 39 .\} 40 .sp \\n[PD]u 41 .nr an-level 1 42 .set-an-margin 43 .nr an-prevailing-indent \\n[IN] 44 .fi 45 .in \\n[an-margin]u 46 .ti 0 47 .HTML-TAG ".NH \\n[an-level]" 48 .it 1 an-trap 49 .nr an-no-space-flag 1 50 .nr an-break-flag 1 51 \." make the size of the head bigger 52 .ps +3 53 .ft B 54 .ne (2v + 1u) 55 .ie n \{\ 56 .\" if n (TTY output), use uppercase 57 .toupper \\$* 58 .\} 59 .el \{\ 60 .nr an-break-flag 0 61 .\" if not n (not TTY), use normal case (not uppercase) 62 \\$1 63 .in \\n[an-margin]u 64 .ti 0 65 .\" if not n (not TTY), put a border/line under subheading 66 .sp -.6 67 \l'\n(.lu' 68 .\} 69 .. 70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 .\" SS - level-two heading that works better for non-TTY output 72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 .de1 SS 74 .sp \\n[PD]u 75 .nr an-level 1 76 .set-an-margin 77 .nr an-prevailing-indent \\n[IN] 78 .fi 79 .in \\n[IN]u 80 .ti \\n[SN]u 81 .it 1 an-trap 82 .nr an-no-space-flag 1 83 .nr an-break-flag 1 84 .ps \\n[PS-SS]u 85 \." make the size of the head bigger 86 .ps +2 87 .ft B 88 .ne (2v + 1u) 89 .if \\n[.$] \&\\$* 90 .. 91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 .\" BB/BE - put background/screen (filled box) around block of text 93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 .de BB 95 .if t \{\ 96 .sp -.5 97 .br 98 .in +2n 99 .ll -2n 100 .gcolor red 101 .di BX 102 .\} 103 .. 104 .de EB 105 .if t \{\ 106 .if "\\$2"adjust-for-leading-newline" \{\ 107 .sp -1 108 .\} 109 .br 110 .di 111 .in 112 .ll 113 .gcolor 114 .nr BW \\n(.lu-\\n(.i 115 .nr BH \\n(dn+.5v 116 .ne \\n(BHu+.5v 117 .ie "\\$2"adjust-for-leading-newline" \{\ 118 \M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 119 .\} 120 .el \{\ 121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 122 .\} 123 .in 0 124 .sp -.5v 125 .nf 126 .BX 127 .in 128 .sp .5v 129 .fi 130 .\} 131 .. 132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 .\" BM/EM - put colored marker in margin next to block of text 134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 .de BM 136 .if t \{\ 137 .br 138 .ll -2n 139 .gcolor red 140 .di BX 141 .\} 142 .. 143 .de EM 144 .if t \{\ 145 .br 146 .di 147 .ll 148 .gcolor 149 .nr BH \\n(dn 150 .ne \\n(BHu 151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] 152 .in 0 153 .nf 154 .BX 155 .in 156 .fi 157 .\} 158 .. 159 .\" ----------------------------------------------------------------- 160 .\" * set default formatting 161 .\" ----------------------------------------------------------------- 9 162 .\" disable hyphenation 10 163 .nh 11 164 .\" disable justification (adjust text to left margin only) 12 165 .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] 166 .\" ----------------------------------------------------------------- 167 .\" * MAIN CONTENT STARTS HERE * 168 .\" ----------------------------------------------------------------- 169 .SH "Name" 170 smbcontrol \- send messages to smbd, nmbd or winbindd processes 171 .SH "Synopsis" 172 .fam C 173 .HP \w'\ 'u 174 \FCsmbcontrol\F[] [\-i] [\-s] 175 .fam 176 .fam C 177 .HP \w'\ 'u 178 \FCsmbcontrol\F[] [destination] [message\-type] [parameter] 179 .fam 20 180 .SH "DESCRIPTION" 21 181 .PP 22 182 This tool is part of the 23 183 \fBsamba\fR(7) 24 suite\ .25 .PP 26 smbcontrol 184 suite\&. 185 .PP 186 \FCsmbcontrol\F[] 27 187 is a very small program, which sends messages to a 28 188 \fBsmbd\fR(8), a 29 189 \fBnmbd\fR(8), or a 30 190 \fBwinbindd\fR(8) 31 daemon running on the system\ .191 daemon running on the system\&. 32 192 .SH "OPTIONS" 33 193 .PP 34 194 \-h|\-\-help 35 195 .RS 4 36 Print a summary of command line options\ .196 Print a summary of command line options\&. 37 197 .RE 38 198 .PP 39 199 \-s <configuration file> 40 200 .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\. See42 \ fIsmb\.conf\fR43 for more information\ . The default configuration file name is determined at compile time\.201 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 202 \FCsmb\&.conf\F[] 203 for more information\&. The default configuration file name is determined at compile time\&. 44 204 .RE 45 205 .PP 46 206 \-i 47 207 .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\.208 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 209 .RE 50 210 .PP … … 54 214 \fInmbd\fR, 55 215 \fIsmbd\fR 56 or a process ID\ .216 or a process ID\&. 57 217 .sp 58 218 The 59 219 \fIsmbd\fR 60 destination causes the message to "broadcast" to all smbd daemons\ .220 destination causes the message to "broadcast" to all smbd daemons\&. 61 221 .sp 62 222 The 63 223 \fInmbd\fR 64 224 destination causes the message to be sent to the nmbd daemon specified in the 65 \ fInmbd\.pid\fR66 file\ .67 .sp 68 If a single process ID is given, the message is sent to only that process\ .225 \FCnmbd\&.pid\F[] 226 file\&. 227 .sp 228 If a single process ID is given, the message is sent to only that process\&. 69 229 .RE 70 230 .PP 71 231 message\-type 72 232 .RS 4 73 Type of message to send\ . See the section233 Type of message to send\&. See the section 74 234 \fBMESSAGE\-TYPES\fR 75 for details\ .235 for details\&. 76 236 .RE 77 237 .PP … … 86 246 close\-share 87 247 .RS 4 88 Order smbd to close the client connections to the named share\ . Note that this doesn\'t affect client connections to any other shares\. This message\-type takes an argument of the share name for which client connections will be closed, or the "*" character which will close all currently open shares\. This may be useful if you made changes to the access controls on the share\. This message can only be sent to89 \fBsmbd\fR\ .248 Order smbd to close the client connections to the named share\&. Note that this doesn\'t affect client connections to any other shares\&. This message\-type takes an argument of the share name for which client connections will be closed, or the "*" character which will close all currently open shares\&. This may be useful if you made changes to the access controls on the share\&. This message can only be sent to 249 \fBsmbd\fR\&. 90 250 .RE 91 251 .PP 92 252 debug 93 253 .RS 4 94 Set debug level to the value specified by the parameter\ . This can be sent to any of the destinations\.254 Set debug level to the value specified by the parameter\&. This can be sent to any of the destinations\&. 95 255 .RE 96 256 .PP … … 98 258 .RS 4 99 259 This message causes the 100 nmbd 101 daemon to force a new browse master election\ .260 \FCnmbd\F[] 261 daemon to force a new browse master election\&. 102 262 .RE 103 263 .PP 104 264 ping 105 265 .RS 4 106 Send specified number of "ping" messages and wait for the same number of reply "pong" messages\ . This can be sent to any of the destinations\.266 Send specified number of "ping" messages and wait for the same number of reply "pong" messages\&. This can be sent to any of the destinations\&. 107 267 .RE 108 268 .PP 109 269 profile 110 270 .RS 4 111 Change profile settings of a daemon, based on the parameter\ . The parameter can be "on" to turn on profile stats collection, "off" to turn off profile stats collection, "count" to enable only collection of count stats (time stats are disabled), and "flush" to zero the current profile stats\. This can be sent to any smbd or nmbd destinations\.271 Change profile settings of a daemon, based on the parameter\&. The parameter can be "on" to turn on profile stats collection, "off" to turn off profile stats collection, "count" to enable only collection of count stats (time stats are disabled), and "flush" to zero the current profile stats\&. This can be sent to any smbd or nmbd destinations\&. 112 272 .RE 113 273 .PP 114 274 debuglevel 115 275 .RS 4 116 Request debuglevel of a certain daemon and write it to stdout\ . This can be sent to any of the destinations\.276 Request debuglevel of a certain daemon and write it to stdout\&. This can be sent to any of the destinations\&. 117 277 .RE 118 278 .PP 119 279 profilelevel 120 280 .RS 4 121 Request profilelevel of a certain daemon and write it to stdout\ . This can be sent to any smbd or nmbd destinations\.281 Request profilelevel of a certain daemon and write it to stdout\&. This can be sent to any smbd or nmbd destinations\&. 122 282 .RE 123 283 .PP 124 284 printnotify 125 285 .RS 4 126 Order smbd to send a printer notify message to any Windows NT clients connected to a printer\ . This message\-type takes the following arguments:286 Order smbd to send a printer notify message to any Windows NT clients connected to a printer\&. This message\-type takes the following arguments: 127 287 .PP 128 288 queuepause printername 129 289 .RS 4 130 Send a queue pause change notify message to the printer specified\ .290 Send a queue pause change notify message to the printer specified\&. 131 291 .RE 132 292 .PP 133 293 queueresume printername 134 294 .RS 4 135 Send a queue resume change notify message for the printer specified\ .295 Send a queue resume change notify message for the printer specified\&. 136 296 .RE 137 297 .PP 138 298 jobpause printername unixjobid 139 299 .RS 4 140 Send a job pause change notify message for the printer and unix jobid specified\ .300 Send a job pause change notify message for the printer and unix jobid specified\&. 141 301 .RE 142 302 .PP 143 303 jobresume printername unixjobid 144 304 .RS 4 145 Send a job resume change notify message for the printer and unix jobid specified\ .305 Send a job resume change notify message for the printer and unix jobid specified\&. 146 306 .RE 147 307 .PP 148 308 jobdelete printername unixjobid 149 309 .RS 4 150 Send a job delete change notify message for the printer and unix jobid specified\ .151 .RE 152 .sp 153 Note that this message only sends notification that an event has occured\ . It doesn\'t actually cause the event to happen\.310 Send a job delete change notify message for the printer and unix jobid specified\&. 311 .RE 312 .sp 313 Note that this message only sends notification that an event has occured\&. It doesn\'t actually cause the event to happen\&. 154 314 .sp 155 315 This message can only be sent to 156 \fBsmbd\fR\ .316 \fBsmbd\fR\&. 157 317 .RE 158 318 .PP 159 319 samsync 160 320 .RS 4 161 Order smbd to synchronise sam database from PDC (being BDC)\. Can only be sent to 162 \fBsmbd\fR\. 163 .sp 321 Order smbd to synchronise sam database from PDC (being BDC)\&. Can only be sent to 322 \fBsmbd\fR\&. 323 .if n \{\ 324 .sp 325 .\} 326 .RS 4 327 .BM yellow 164 328 .it 1 an-trap 165 329 .nr an-no-space-flag 1 166 330 .nr an-break-flag 1 167 331 .br 168 Note 332 .ps +1 333 \fBNote\fR 334 .ps -1 335 .br 169 336 Not working at the moment 337 .sp .5v 338 .EM yellow 339 .RE 170 340 .RE 171 341 .PP 172 342 samrepl 173 343 .RS 4 174 Send sam replication message, with specified serial\ . Can only be sent to175 \fBsmbd\fR\ . Should not be used manually\.344 Send sam replication message, with specified serial\&. Can only be sent to 345 \fBsmbd\fR\&. Should not be used manually\&. 176 346 .RE 177 347 .PP 178 348 dmalloc\-mark 179 349 .RS 4 180 Set a mark for dmalloc\ . Can be sent to both smbd and nmbd\. Only available if samba is built with dmalloc support\.350 Set a mark for dmalloc\&. Can be sent to both smbd and nmbd\&. Only available if samba is built with dmalloc support\&. 181 351 .RE 182 352 .PP 183 353 dmalloc\-log\-changed 184 354 .RS 4 185 Dump the pointers that have changed since the mark set by dmalloc\-mark\ . Can be sent to both smbd and nmbd\. Only available if samba is built with dmalloc support\.355 Dump the pointers that have changed since the mark set by dmalloc\-mark\&. Can be sent to both smbd and nmbd\&. Only available if samba is built with dmalloc support\&. 186 356 .RE 187 357 .PP 188 358 shutdown 189 359 .RS 4 190 Shut down specified daemon\ . Can be sent to both smbd and nmbd\.360 Shut down specified daemon\&. Can be sent to both smbd and nmbd\&. 191 361 .RE 192 362 .PP 193 363 pool\-usage 194 364 .RS 4 195 Print a human\-readable description of all talloc(pool) memory usage by the specified daemon/process\ . Available for both smbd and nmbd\.365 Print a human\-readable description of all talloc(pool) memory usage by the specified daemon/process\&. Available for both smbd and nmbd\&. 196 366 .RE 197 367 .PP 198 368 drvupgrade 199 369 .RS 4 200 Force clients of printers using specified driver to update their local version of the driver\ . Can only be sent to smbd\.370 Force clients of printers using specified driver to update their local version of the driver\&. Can only be sent to smbd\&. 201 371 .RE 202 372 .PP 203 373 reload\-config 204 374 .RS 4 205 Force daemon to reload smb\ .conf configuration file\. Can be sent to375 Force daemon to reload smb\&.conf configuration file\&. Can be sent to 206 376 \fBsmbd\fR, 207 377 \fBnmbd\fR, or 208 \fBwinbindd\fR\ .378 \fBwinbindd\fR\&. 209 379 .RE 210 380 .SH "VERSION" 211 381 .PP 212 This man page is correct for version 3\ .0 of the Samba suite\.382 This man page is correct for version 3\&.0 of the Samba suite\&. 213 383 .SH "SEE ALSO" 214 384 .PP 215 385 \fBnmbd\fR(8) 216 386 and 217 \fBsmbd\fR(8)\ .387 \fBsmbd\fR(8)\&. 218 388 .SH "AUTHOR" 219 389 .PP 220 The original Samba software and related utilities were created by Andrew Tridgell\ . Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\.221 .PP 222 The original Samba man pages were written by Karl Auer\ . The man page sources were converted to YODL format (another excellent piece of Open Source software, available at223 ftp://ftp\ .icce\.rug\.nl/pub/unix/) and updated for the Samba 2\.0 release by Jeremy Allison\. The conversion to DocBook for Samba 2\.2 was done by Gerald Carter\. The conversion to DocBook XML 4\.2 for Samba 3\.0 was done by Alexander Bokovoy\.390 The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. 391 .PP 392 The original Samba man pages were written by Karl Auer\&. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at 393 ftp://ftp\&.icce\&.rug\&.nl/pub/unix/) and updated for the Samba 2\&.0 release by Jeremy Allison\&. The conversion to DocBook for Samba 2\&.2 was done by Gerald Carter\&. The conversion to DocBook XML 4\&.2 for Samba 3\&.0 was done by Alexander Bokovoy\&.
Note:
See TracChangeset
for help on using the changeset viewer.