Changeset 411 for branches/samba-3.3.x/docs/manpages/smbd.8
- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/manpages/smbd.8
r368 r411 1 '\" t2 1 .\" Title: smbd 3 2 .\" Author: [see the "AUTHOR" section] 4 .\" Generator: DocBook XSL Stylesheets v1.7 5.2<http://docbook.sf.net/>5 .\" Date: 0 1/14/20103 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 02/22/2010 6 5 .\" Manual: System Administration tools 7 6 .\" Source: Samba 3.3 8 7 .\" Language: English 9 8 .\" 10 .TH "SMBD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 9 .TH "SMBD" "8" "02/22/2010" "Samba 3\&.3" "System Administration tools" 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 .. 11 159 .\" ----------------------------------------------------------------- 12 160 .\" * set default formatting … … 19 167 .\" * MAIN CONTENT STARTS HERE * 20 168 .\" ----------------------------------------------------------------- 21 .SH "N AME"169 .SH "Name" 22 170 smbd \- server to provide SMB/CIFS services to clients 23 .SH "SYNOPSIS" 171 .SH "Synopsis" 172 .fam C 24 173 .HP \w'\ 'u 25 smbd [\-D] [\-F] [\-S] [\-i] [\-h] [\-V] [\-b] [\-d\ <debug\ level>] [\-l\ <log\ directory>] [\-p\ <port\ number(s)>] [\-P\ <profiling\ level>] [\-O\ <socket\ option>] [\-s\ <configuration\ file>] 174 \FCsmbd\F[] [\-D] [\-F] [\-S] [\-i] [\-h] [\-V] [\-b] [\-d\ <debug\ level>] [\-l\ <log\ directory>] [\-p\ <port\ number(s)>] [\-P\ <profiling\ level>] [\-O\ <socket\ option>] [\-s\ <configuration\ file>] 175 .fam 26 176 .SH "DESCRIPTION" 27 177 .PP … … 30 180 suite\&. 31 181 .PP 32 smbd 182 \FCsmbd\F[] 33 183 is the server daemon that provides filesharing and printing services to Windows clients\&. The server provides filespace and printer services to clients using the SMB (or CIFS) protocol\&. This is compatible with the LanManager protocol, and can service LanManager clients\&. These include MSCLIENT 3\&.0 for DOS, Windows for Workgroups, Windows 95/98/ME, Windows NT, Windows 2000, OS/2, DAVE for Macintosh, and smbfs for Linux\&. 34 184 .PP … … 43 193 .PP 44 194 The configuration file, and any files that it includes, are automatically reloaded every minute, if they change\&. You can force a reload by sending a SIGHUP to the server\&. Reloading the configuration file will not affect connections to any service that is already established\&. Either the user will have to disconnect from the service, or 45 smbd 195 \FCsmbd\F[] 46 196 killed and restarted\&. 47 197 .SH "OPTIONS" … … 50 200 .RS 4 51 201 If specified, this parameter causes the server to operate as a daemon\&. That is, it detaches itself and runs in the background, fielding requests on the appropriate port\&. Operating the server as a daemon is the recommended way of running 52 smbd 202 \FCsmbd\F[] 53 203 for servers that provide more than casual use file and print services\&. This switch is assumed if 54 smbd 204 \FCsmbd \F[] 55 205 is executed on the command line of a shell\&. 56 206 .RE … … 59 209 .RS 4 60 210 If specified, this parameter causes the main 61 smbd 211 \FCsmbd\F[] 62 212 process to not daemonize, i\&.e\&. double\-fork and disassociate with the terminal\&. Child processes are still created as normal to service each connection request, but the main process does not exit\&. This operation mode is suitable for running 63 smbd 213 \FCsmbd\F[] 64 214 under process supervisors such as 65 supervise 215 \FCsupervise\F[] 66 216 and 67 svscan 217 \FCsvscan\F[] 68 218 from Daniel J\&. Bernstein\'s 69 daemontools 219 \FCdaemontools\F[] 70 220 package, or the AIX process monitor\&. 71 221 .RE … … 74 224 .RS 4 75 225 If specified, this parameter causes 76 smbd 226 \FCsmbd\F[] 77 227 to log to standard output rather than a file\&. 78 228 .RE … … 80 230 \-i 81 231 .RS 4 82 If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell\&. Setting this parameter negates the implicit d eamon mode when run from the command line\&.83 smbd 232 If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell\&. Setting this parameter negates the implicit daemon mode when run from the command line\&. 233 \FCsmbd\F[] 84 234 also logs to standard output, as if the 85 \ -S235 \FC\-S\F[] 86 236 parameter had been given\&. 87 237 .RE … … 99 249 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 100 250 parameter in the 101 smb\&.conf 251 \FCsmb\&.conf\F[] 102 252 file\&. 103 253 .RE … … 111 261 .RS 4 112 262 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 113 smb\&.conf 263 \FCsmb\&.conf\F[] 114 264 for more information\&. The default configuration file name is determined at compile time\&. 115 265 .RE … … 138 288 \m[blue]\fBports\fR\m[] 139 289 parameter in 140 smb\&.conf 290 \FCsmb\&.conf\F[] 141 291 .sp 142 292 The default ports are 139 (used for SMB over NetBIOS over TCP) and port 445 (used for plain SMB over TCP)\&. … … 150 300 .SH "FILES" 151 301 .PP 152 /etc/inetd\&.conf 302 \FC/etc/inetd\&.conf\F[] 153 303 .RS 4 154 304 If the server is to be run by the 155 inetd 305 \FCinetd\F[] 156 306 meta\-daemon, this file must contain suitable startup information for the meta\-daemon\&. 157 307 .RE 158 308 .PP 159 /etc/rc 309 \FC/etc/rc\F[] 160 310 .RS 4 161 311 or whatever initialization script your system uses)\&. … … 164 314 .RE 165 315 .PP 166 /etc/services 316 \FC/etc/services\F[] 167 317 .RS 4 168 318 If running the server via the meta\-daemon 169 inetd, this file must contain a mapping of service name (e\&.g\&., netbios\-ssn) to service port (e\&.g\&., 139) and protocol type (e\&.g\&., tcp)\&.170 .RE 171 .PP 172 /usr/local/samba/lib/smb\&.conf 319 \FCinetd\F[], this file must contain a mapping of service name (e\&.g\&., netbios\-ssn) to service port (e\&.g\&., 139) and protocol type (e\&.g\&., tcp)\&. 320 .RE 321 .PP 322 \FC/usr/local/samba/lib/smb\&.conf\F[] 173 323 .RS 4 174 324 This is the default location of the 175 325 \fBsmb.conf\fR(5) 176 326 server configuration file\&. Other common places that systems install this file are 177 /usr/samba/lib/smb\&.conf 327 \FC/usr/samba/lib/smb\&.conf\F[] 178 328 and 179 /etc/samba/smb\&.conf\&.329 \FC/etc/samba/smb\&.conf\F[]\&. 180 330 .sp 181 331 This file describes all the services the server is to make available to clients\&. See … … 186 336 .PP 187 337 On some systems 188 smbd 338 \FCsmbd\F[] 189 339 cannot change uid back to root after a setuid() call\&. Such systems are called trapdoor uid systems\&. If you have such a system, you will be unable to connect from a client (such as a PC) as two different users at once\&. Attempts to connect the second user will result in access denied or similar\&. 190 340 .SH "ENVIRONMENT VARIABLES" … … 236 386 .PP 237 387 Samba stores it\'s data in several TDB (Trivial Database) files, usually located in 238 /var/lib/samba\&.388 \FC/var/lib/samba\F[]\&. 239 389 .PP 240 390 (*) information persistent across restarts (but not necessarily important to backup)\&. … … 342 492 .PP 343 493 Sending the 344 smbd 494 \FCsmbd\F[] 345 495 a SIGHUP will cause it to reload its 346 smb\&.conf 496 \FCsmb\&.conf\F[] 347 497 configuration file within a short period of time\&. 348 498 .PP 349 499 To shut down a user\'s 350 smbd 500 \FCsmbd\F[] 351 501 process it is recommended that 352 SIGKILL (\-9) 502 \FCSIGKILL (\-9)\F[] 353 503 \fINOT\fR 354 504 be used, except as a last resort, as this may leave the shared memory area in an inconsistent state\&. The safe way to terminate an 355 smbd 505 \FCsmbd\F[] 356 506 is to send it a SIGTERM (\-15) signal and wait for it to die on its own\&. 357 507 .PP 358 508 The debug log level of 359 smbd 509 \FCsmbd\F[] 360 510 may be raised or lowered using 361 511 \fBsmbcontrol\fR(1) … … 363 513 .PP 364 514 Note that as the signal handlers send a debug write, they are not re\-entrant in 365 smbd\&. This you should wait until366 smbd 515 \FCsmbd\F[]\&. This you should wait until 516 \FCsmbd\F[] 367 517 is in a state of waiting for an incoming SMB before issuing them\&. It is possible to make the signal handlers safe by un\-blocking the signals before the select call and re\-blocking them after, however this would affect performance\&. 368 518 .SH "SEE ALSO" … … 375 525 \fBtestparm\fR(1), 376 526 \fBtestprns\fR(1), and the Internet RFC\'s 377 rfc1001\&.txt,378 rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page527 \FCrfc1001\&.txt\F[], 528 \FCrfc1002\&.txt\F[]\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page 379 529 http://samba\&.org/cifs/\&. 380 530 .SH "AUTHOR"
Note:
See TracChangeset
for help on using the changeset viewer.