Changeset 368 for branches/samba-3.3.x/docs/manpages
- Timestamp:
- Jan 15, 2010, 8:21:06 AM (16 years ago)
- Location:
- branches/samba-3.3.x/docs/manpages
- Files:
-
- 83 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/manpages/cifs.upcall.8
r342 r368 1 '\" t 1 2 .\" Title: cifs.upcall 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "CIFS\&.UPCALL" "8" "10/12/2009" "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 .. 10 .TH "CIFS\&.UPCALL" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 cifs.upcall \- Userspace upcall helper for Common Internet File System (CIFS) 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCcifs\&.upcall\F[] [\-c] [\-v] {keyid} 175 .fam 25 cifs\&.upcall [\-\-trust\-dns|\-t] [\-\-version|\-v] {keyid} 176 26 .SH "DESCRIPTION" 177 27 .PP … … 188 38 \-c 189 39 .RS 4 190 When handling a kerberos upcall, use a service principal that starts with "cifs/"\&. The default is to use the "host/" service principal\&.40 This option is deprecated and is currently ignored\&. 191 41 .RE 192 42 .PP 193 \-v 43 \-\-trust\-dns|\-t 44 .RS 4 45 With krb5 upcalls, the name used as the host portion of the service principal defaults to the hostname portion of the UNC\&. This option allows the upcall program to reverse resolve the network address of the server in order to get the hostname\&. 46 .sp 47 This is less secure than not trusting DNS\&. When using this option, it\'s possible that an attacker could get control of DNS and trick the client into mounting a different server altogether\&. It\'s preferable to instead add server principals to the KDC for every possible hostname, but this option exists for cases where that isn\'t possible\&. The default is to not trust reverse hostname lookups in this fashion\&. 48 .RE 49 .PP 50 \-\-version|\-v 194 51 .RS 4 195 52 Print version number and exit\&. … … 214 71 .RS 4 215 72 .\} 216 .fam C217 .ps -1218 73 .nf 219 .if t \{\220 .sp -1221 .\}222 .BB lightgray adjust-for-leading-newline223 .sp -1224 225 74 #OPERATION TYPE D C PROGRAM ARG1 ARG2\&.\&.\&. 226 #========= ============= = = ================================ ==========227 create cifs\&.spnego * * /usr/local/sbin/cifs\&.upcall \-c%k75 #========= ============= = = ================================ 76 create cifs\&.spnego * * /usr/local/sbin/cifs\&.upcall %k 228 77 create dns_resolver * * /usr/local/sbin/cifs\&.upcall %k 229 .EB lightgray adjust-for-leading-newline230 .if t \{\231 .sp 1232 .\}233 78 .fi 234 .fam235 .ps +1236 79 .if n \{\ 237 80 .RE -
branches/samba-3.3.x/docs/manpages/eventlogadm.8
r342 r368 1 '\" t 1 2 .\" Title: eventlogadm 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "EVENTLOGADM" "8" "10/12/2009" "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 .. 10 .TH "EVENTLOGADM" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 eventlogadm \- push records into the Samba event log store 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCeventlogadm\F[] [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ \FCaddsource\F[]\ \fIEVENTLOG\fR\ \fISOURCENAME\fR\ \fIMSGFILE\fR 175 .fam 176 .fam C 25 eventlogadm [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ addsource\ \fIEVENTLOG\fR\ \fISOURCENAME\fR\ \fIMSGFILE\fR 177 26 .HP \w'\ 'u 178 \FCeventlogadm\F[] [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ \FCwrite\F[]\ \fIEVENTLOG\fR 179 .fam 27 eventlogadm [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ write\ \fIEVENTLOG\fR 180 28 .SH "DESCRIPTION" 181 29 .PP … … 184 32 suite\&. 185 33 .PP 186 \FCeventlogadm\F[] 34 eventlogadm 187 35 is a filter that accepts formatted event log records on standard input and writes them to the Samba event log store\&. Windows client can then manipulate these record using the usual administration tools\&. 188 36 .SH "OPTIONS" … … 191 39 .RS 4 192 40 The 193 \ FC\-d\F[]41 \-d 194 42 option causes 195 \FCeventlogadm\F[] 43 eventlogadm 196 44 to emit debugging information\&. 197 45 .RE 198 46 .PP 199 \fB\-o\fR \FCaddsource\F[]\fIEVENTLOG\fR \fISOURCENAME\fR \fIMSGFILE\fR47 \fB\-o\fR addsource \fIEVENTLOG\fR \fISOURCENAME\fR \fIMSGFILE\fR 200 48 .RS 4 201 49 The 202 \ FC\-o addsource\F[]50 \-o addsource 203 51 option creates a new event log source\&. 204 52 .RE 205 53 .PP 206 \fB\-o\fR \FCwrite\F[]\fIEVENTLOG\fR54 \fB\-o\fR write \fIEVENTLOG\fR 207 55 .RS 4 208 56 The 209 \ FC\-o write\F[]57 \-o write 210 58 reads event log records from standard input and writes them to the Samba event log store named by EVENTLOG\&. 211 59 .RE … … 218 66 .PP 219 67 For the write operation, 220 \FCeventlogadm\F[] 68 eventlogadm 221 69 expects to be able to read structured records from standard input\&. These records are a sequence of lines, with the record key and data separated by a colon character\&. Records are separated by at least one or more blank line\&. 222 70 .PP … … 232 80 .\} 233 81 234 \FCLEN\F[] 82 LEN 235 83 \- This field should be 0, since 236 \FCeventlogadm\F[] 84 eventlogadm 237 85 will calculate this value\&. 238 86 .RE … … 247 95 .\} 248 96 249 \FCRS1\F[] 97 RS1 250 98 \- This must be the value 1699505740\&. 251 99 .RE … … 260 108 .\} 261 109 262 \FCRCN\F[] 110 RCN 263 111 \- This field should be 0\&. 264 112 .RE … … 273 121 .\} 274 122 275 \FCTMG\F[] 123 TMG 276 124 \- The time the eventlog record was generated; format is the number of seconds since 00:00:00 January 1, 1970, UTC\&. 277 125 .RE … … 286 134 .\} 287 135 288 \FCTMW\F[] 136 TMW 289 137 \- The time the eventlog record was written; format is the number of seconds since 00:00:00 January 1, 1970, UTC\&. 290 138 .RE … … 299 147 .\} 300 148 301 \FCEID\F[] 149 EID 302 150 \- The eventlog ID\&. 303 151 .RE … … 312 160 .\} 313 161 314 \FCETP\F[] 162 ETP 315 163 \- The event type \-\- one of "INFO", "ERROR", "WARNING", "AUDIT SUCCESS" or "AUDIT FAILURE"\&. 316 164 .RE … … 325 173 .\} 326 174 327 \FCECT\F[] 175 ECT 328 176 \- The event category; this depends on the message file\&. It is primarily used as a means of filtering in the eventlog viewer\&. 329 177 .RE … … 338 186 .\} 339 187 340 \FCRS2\F[] 188 RS2 341 189 \- This field should be 0\&. 342 190 .RE … … 351 199 .\} 352 200 353 \FCCRN\F[] 201 CRN 354 202 \- This field should be 0\&. 355 203 .RE … … 364 212 .\} 365 213 366 \FCUSL\F[] 214 USL 367 215 \- This field should be 0\&. 368 216 .RE … … 377 225 .\} 378 226 379 \FCSRC\F[] 227 SRC 380 228 \- This field contains the source name associated with the event log\&. If a message file is used with an event log, there will be a registry entry for associating this source name with a message file DLL\&. 381 229 .RE … … 390 238 .\} 391 239 392 \FCSRN\F[] 240 SRN 393 241 \- The name of the machine on which the eventlog was generated\&. This is typically the host name\&. 394 242 .RE … … 403 251 .\} 404 252 405 \FCSTR\F[] 253 STR 406 254 \- The text associated with the eventlog\&. There may be more than one string in a record\&. 407 255 .RE … … 416 264 .\} 417 265 418 \FCDAT\F[] 266 DAT 419 267 \- This field should be left unset\&. 420 268 .SH "EXAMPLES" 421 269 .PP 422 270 An example of the record format accepted by 423 \FCeventlogadm\F[]: 424 .sp 425 .if n \{\ 426 .RS 4 427 .\} 428 .fam C 429 .ps -1 271 eventlogadm: 272 .sp 273 .if n \{\ 274 .RS 4 275 .\} 430 276 .nf 431 .if t \{\432 .sp -1433 .\}434 .BB lightgray adjust-for-leading-newline435 .sp -1436 437 277 LEN: 0 438 278 RS1: 1699505740 … … 451 291 DAT: 452 292 453 .EB lightgray adjust-for-leading-newline454 .if t \{\455 .sp 1456 .\}457 293 .fi 458 .fam459 .ps +1460 294 .if n \{\ 461 295 .RE … … 467 301 .RS 4 468 302 .\} 469 .fam C470 .ps -1471 303 .nf 472 .if t \{\473 .sp -1474 .\}475 .BB lightgray adjust-for-leading-newline476 .sp -1477 478 304 eventlogadm \-o addsource Application MyApplication | \e\e 479 305 %SystemRoot%/system32/MyApplication\&.dll 480 306 481 .EB lightgray adjust-for-leading-newline482 .if t \{\483 .sp 1484 .\}485 307 .fi 486 .fam487 .ps +1488 308 .if n \{\ 489 309 .RE … … 495 315 .RS 4 496 316 .\} 497 .fam C498 .ps -1499 317 .nf 500 .if t \{\501 .sp -1502 .\}503 .BB lightgray adjust-for-leading-newline504 .sp -1505 506 318 tail \-f /var/log/messages | \e\e 507 319 my_program_to_parse_into_eventlog_records | \e\e 508 320 eventlogadm SystemLogEvents 509 321 510 .EB lightgray adjust-for-leading-newline511 .if t \{\512 .sp 1513 .\}514 322 .fi 515 .fam516 .ps +1517 323 .if n \{\ 518 324 .RE -
branches/samba-3.3.x/docs/manpages/findsmb.1
r342 r368 1 '\" t 1 2 .\" Title: findsmb 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "FINDSMB" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "FINDSMB" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 findsmb \- list info about machines that respond to SMB name queries on a subnet 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCfindsmb\F[] [subnet\ broadcast\ address] 175 .fam 25 findsmb [subnet\ broadcast\ address] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCfindsmb\F[] 32 findsmb 183 33 is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests\&. It uses 184 34 \fBnmblookup\fR(1) … … 191 41 .RS 4 192 42 Controls whether 193 \FCfindsmb\F[] 43 findsmb 194 44 takes bugs in Windows95 into account when trying to find a Netbios name registered of the remote machine\&. This option is disabled by default because it is specific to Windows 95 and Windows 95 machines only\&. If set, 195 45 \fBnmblookup\fR(1) … … 202 52 .RS 4 203 53 Without this option, 204 \FCfindsmb \F[] 54 findsmb 205 55 will probe the subnet of the machine where 206 56 \fBfindsmb\fR(1) … … 214 64 .PP 215 65 The output of 216 \FCfindsmb\F[] 66 findsmb 217 67 lists the following information for all machines that respond to the initial 218 \FCnmblookup\F[] 68 nmblookup 219 69 for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version\&. 220 70 .PP … … 226 76 \fBnmbd\fR(8) 227 77 running\&. If 228 \FCnmbd\F[] 78 nmbd 229 79 is running on the system, you will only get the IP address and the DNS name of the machine\&. To get proper responses from Windows 95 and Windows 98 machines, the command must be run as root and with 230 80 \fB\-r\fR 231 81 option on a machine without 232 \FCnmbd\F[] 82 nmbd 233 83 running\&. 234 84 .PP 235 85 For example, running 236 \FCfindsmb\F[] 86 findsmb 237 87 without 238 88 \fB\-r\fR … … 242 92 .RS 4 243 93 .\} 244 .fam C245 .ps -1246 94 .nf 247 .if t \{\248 .sp -1249 .\}250 .BB lightgray adjust-for-leading-newline251 .sp -1252 253 95 IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION 254 96 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- … … 263 105 192\&.168\&.35\&.93 FROGSTAR\-PC [MVENGR] [Windows 5\&.0] [Windows 2000 LAN Manager] 264 106 192\&.168\&.35\&.97 HERBNT1 *[HERB\-NT] [Windows NT 4\&.0] [NT LAN Manager 4\&.0] 265 .EB lightgray adjust-for-leading-newline266 .if t \{\267 .sp 1268 .\}269 107 .fi 270 .fam271 .ps +1272 108 .if n \{\ 273 109 .RE -
branches/samba-3.3.x/docs/manpages/idmap_ad.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_ad 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_AD" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_AD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_ad \- Samba\'s idmap_ad Backend for Winbind 171 23 .SH "DESCRIPTION" … … 190 42 .RS 4 191 43 .\} 192 .fam C193 .ps -1194 44 .nf 195 .if t \{\196 .sp -1197 .\}198 .BB lightgray adjust-for-leading-newline199 .sp -1200 201 45 [global] 202 46 idmap backend = tdb … … 207 51 idmap config CORP : range = 1000\-999999 208 52 209 .EB lightgray adjust-for-leading-newline210 .if t \{\211 .sp 1212 .\}213 53 .fi 214 .fam215 .ps +1216 54 .if n \{\ 217 55 .RE -
branches/samba-3.3.x/docs/manpages/idmap_adex.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_adex 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_ADEX" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_ADEX" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_adex \- Samba\'s idmap_adex Backend for Winbind 171 23 .SH "DESCRIPTION" … … 186 38 .RS 4 187 39 .\} 188 .fam C189 .ps -1190 40 .nf 191 .if t \{\192 .sp -1193 .\}194 .BB lightgray adjust-for-leading-newline195 .sp -1196 197 41 [global] 198 42 idmap backend = adex … … 203 47 winbind normalize names = yes 204 48 205 .EB lightgray adjust-for-leading-newline206 .if t \{\207 .sp 1208 .\}209 49 .fi 210 .fam211 .ps +1212 50 .if n \{\ 213 51 .RE -
branches/samba-3.3.x/docs/manpages/idmap_hash.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_hash 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_HASH" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_HASH" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_hash \- Samba\'s idmap_hash Backend for Winbind 171 23 .SH "DESCRIPTION" … … 187 39 .RS 4 188 40 .\} 189 .fam C190 .ps -1191 41 .nf 192 .if t \{\193 .sp -1194 .\}195 .BB lightgray adjust-for-leading-newline196 .sp -1197 198 42 [global] 199 43 idmap backend = hash … … 205 49 idmap_hash:name_map = /etc/samba/name_map\&.cfg 206 50 207 .EB lightgray adjust-for-leading-newline208 .if t \{\209 .sp 1210 .\}211 51 .fi 212 .fam213 .ps +1214 52 .if n \{\ 215 53 .RE -
branches/samba-3.3.x/docs/manpages/idmap_ldap.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_ldap 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_LDAP" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_LDAP" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_ldap \- Samba\'s idmap_ldap Backend for Winbind 171 23 .SH "DESCRIPTION" … … 223 75 .RS 4 224 76 .\} 225 .fam C226 .ps -1227 77 .nf 228 .if t \{\229 .sp -1230 .\}231 .BB lightgray adjust-for-leading-newline232 .sp -1233 234 78 [global] 235 79 idmap backend = ldap:ldap://localhost/ … … 241 85 idmap alloc config : ldap_base_dn = ou=idmap,dc=example,dc=com 242 86 243 .EB lightgray adjust-for-leading-newline244 .if t \{\245 .sp 1246 .\}247 87 .fi 248 .fam249 .ps +1250 88 .if n \{\ 251 89 .RE -
branches/samba-3.3.x/docs/manpages/idmap_nss.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_nss 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_NSS" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_NSS" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_nss \- Samba\'s idmap_nss Backend for Winbind 171 23 .SH "DESCRIPTION" … … 179 31 .RS 4 180 32 .\} 181 .fam C182 .ps -1183 33 .nf 184 .if t \{\185 .sp -1186 .\}187 .BB lightgray adjust-for-leading-newline188 .sp -1189 190 34 [global] 191 35 idmap backend = tdb … … 196 40 idmap config SAMBA : range = 1000\-999999 197 41 198 .EB lightgray adjust-for-leading-newline199 .if t \{\200 .sp 1201 .\}202 42 .fi 203 .fam204 .ps +1205 43 .if n \{\ 206 44 .RE -
branches/samba-3.3.x/docs/manpages/idmap_rid.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_rid 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_RID" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_RID" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_rid \- Samba\'s idmap_rid Backend for Winbind 171 23 .SH "DESCRIPTION" … … 192 44 .RS 4 193 45 .\} 194 .fam C195 .ps -1196 46 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 47 [global] 204 48 idmap backend = tdb … … 209 53 idmap config TRUSTED : range = 50000 \- 99999 210 54 211 .EB lightgray adjust-for-leading-newline212 .if t \{\213 .sp 1214 .\}215 55 .fi 216 .fam217 .ps +1218 56 .if n \{\ 219 57 .RE -
branches/samba-3.3.x/docs/manpages/idmap_tdb.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_tdb 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_TDB" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_TDB" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_tdb \- Samba\'s idmap_tdb Backend for Winbind 171 23 .SH "DESCRIPTION" … … 192 44 .RS 4 193 45 .\} 194 .fam C195 .ps -1196 46 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 47 [global] 204 48 # "idmap backend = tdb" is redundant here since it is the default … … 207 51 idmap gid = 1000000\-2000000 208 52 209 .EB lightgray adjust-for-leading-newline210 .if t \{\211 .sp 1212 .\}213 53 .fi 214 .fam215 .ps +1216 54 .if n \{\ 217 55 .RE … … 223 61 .RS 4 224 62 .\} 225 .fam C226 .ps -1227 63 .nf 228 .if t \{\229 .sp -1230 .\}231 .BB lightgray adjust-for-leading-newline232 .sp -1233 234 64 [global] 235 65 idmap backend = ldap … … 242 72 idmap config DOM1 : range = 1000000\-2000000 243 73 244 .EB lightgray adjust-for-leading-newline245 .if t \{\246 .sp 1247 .\}248 74 .fi 249 .fam250 .ps +1251 75 .if n \{\ 252 76 .RE -
branches/samba-3.3.x/docs/manpages/idmap_tdb2.8
r342 r368 1 '\" t 1 2 .\" Title: idmap_tdb2 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "IDMAP_TDB2" "8" "10/12/2009" "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 .. 10 .TH "IDMAP_TDB2" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 idmap_tdb2 \- Samba\'s idmap_tdb2 Backend for Winbind 171 23 .SH "DESCRIPTION" … … 193 45 .RS 4 194 46 .\} 195 .fam C196 .ps -1197 47 .nf 198 .if t \{\199 .sp -1200 .\}201 .BB lightgray adjust-for-leading-newline202 .sp -1203 204 48 SIDTOID S\-1\-xxxx 205 49 IDTOSID UID xxxx 206 50 IDTOSID GID xxxx 207 51 208 .EB lightgray adjust-for-leading-newline209 .if t \{\210 .sp 1211 .\}212 52 .fi 213 .fam214 .ps +1215 53 .if n \{\ 216 54 .RE … … 222 60 .RS 4 223 61 .\} 224 .fam C225 .ps -1226 62 .nf 227 .if t \{\228 .sp -1229 .\}230 .BB lightgray adjust-for-leading-newline231 .sp -1232 233 63 UID:yyyy 234 64 GID:yyyy … … 236 66 ERR:yyyy 237 67 238 .EB lightgray adjust-for-leading-newline239 .if t \{\240 .sp 1241 .\}242 68 .fi 243 .fam244 .ps +1245 69 .if n \{\ 246 70 .RE … … 255 79 .RS 4 256 80 .\} 257 .fam C258 .ps -1259 81 .nf 260 .if t \{\261 .sp -1262 .\}263 .BB lightgray adjust-for-leading-newline264 .sp -1265 266 82 [global] 267 83 idmap backend = tdb2 … … 269 85 idmap gid = 1000000\-2000000 270 86 271 .EB lightgray adjust-for-leading-newline272 .if t \{\273 .sp 1274 .\}275 87 .fi 276 .fam277 .ps +1278 88 .if n \{\ 279 89 .RE -
branches/samba-3.3.x/docs/manpages/ldb.3
r342 r368 1 '\" t 1 2 .\" Title: ldb 2 3 .\" Author: [see the "Author" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: C Library Functions 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LDB" "3" "10/12/2009" "Samba 3\&.3" "C Library Functions" 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 .. 10 .TH "LDB" "3" "01/14/2010" "Samba 3\&.3" "C Library Functions" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldb \- A light\-weight database library 171 .SH "Synopsis" 172 .sp 173 .fam C 174 .ps -1 23 .SH "SYNOPSIS" 24 .sp 175 25 .nf 176 26 #include <ldb\&.h> 177 27 .fi 178 .fam 179 .ps +1 180 .SH "description" 28 .SH "DESCRIPTION" 181 29 .PP 182 30 ldb is a light weight embedded database library and API\&. With a programming interface that is very similar to LDAP, ldb can store its data either in a tdb(3) database or in a real LDAP database\&. … … 581 429 \fBldb_set_debug_stderr(3)\fR 582 430 \- set a debug handler for stderr output 583 .SH "A uthor"431 .SH "AUTHOR" 584 432 .PP 585 433 ldb was written by -
branches/samba-3.3.x/docs/manpages/ldbadd.1
r342 r368 1 '\" t 1 2 .\" Title: ldbadd 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LDBADD" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "LDBADD" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldbadd \- Command\-line utility for adding records to an LDB 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCldbadd\F[] [\-h] [\-H\ LDB\-URL] [ldif\-file1] [ldif\-file2] [\&.\&.\&.] 175 .fam 25 ldbadd [\-h] [\-H\ LDB\-URL] [ldif\-file1] [ldif\-file2] [\&.\&.\&.] 176 26 .SH "DESCRIPTION" 177 27 .PP -
branches/samba-3.3.x/docs/manpages/ldbdel.1
r342 r368 1 '\" t 1 2 .\" Title: ldbdel 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LDBDEL" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "LDBDEL" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldbdel \- Command\-line program for deleting LDB records 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCldbdel\F[] [\-h] [\-H\ LDB\-URL] [dn] [\&.\&.\&.] 175 .fam 25 ldbdel [\-h] [\-H\ LDB\-URL] [dn] [\&.\&.\&.] 176 26 .SH "DESCRIPTION" 177 27 .PP -
branches/samba-3.3.x/docs/manpages/ldbedit.1
r342 r368 1 '\" t 1 2 .\" Title: ldbedit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LDBEDIT" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "LDBEDIT" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldbedit \- Edit LDB databases using your preferred editor 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCldbedit\F[] [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...] 175 .fam 25 ldbedit [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...] 176 26 .SH "DESCRIPTION" 177 27 .PP -
branches/samba-3.3.x/docs/manpages/ldbmodify.1
r342 r368 1 '\" t 1 2 .\" Title: ldbmodify 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LDBMODIFY" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "LDBMODIFY" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldbmodify \- Modify records in a LDB database 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCldbmodify\F[] [\-H\ LDB\-URL] [ldif\-file] 175 .fam 25 ldbmodify [\-H\ LDB\-URL] [ldif\-file] 176 26 .SH "DESCRIPTION" 177 27 .PP -
branches/samba-3.3.x/docs/manpages/ldbrename.1
r342 r368 1 '\" t 1 2 .\" Title: ldbrename 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: [FIXME: manual] 6 7 .\" Source: [FIXME: source] 7 8 .\" Language: English 8 9 .\" 9 .TH "LDBRENAME" "1" "10/12/2009" "[FIXME: source]" "[FIXME: manual]" 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 .. 10 .TH "LDBRENAME" "1" "01/14/2010" "[FIXME: source]" "[FIXME: manual]" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldbrename \- Edit LDB databases using your favorite editor 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCldbrename\F[] [\-h] [\-o\ options] {olddn} {newdb} 175 .fam 25 ldbrename [\-h] [\-o\ options] {olddn} {newdb} 176 26 .SH "DESCRIPTION" 177 27 .PP -
branches/samba-3.3.x/docs/manpages/ldbsearch.1
r342 r368 1 '\" t 1 2 .\" Title: ldbsearch 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LDBSEARCH" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "LDBSEARCH" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ldbsearch \- Search for records in a LDB database 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCldbsearch\F[] [\-h] [\-s\ base|one|sub] [\-b\ basedn] [\-i] [\-H\ LDB\-URL] [expression] [attributes] 175 .fam 25 ldbsearch [\-h] [\-s\ base|one|sub] [\-b\ basedn] [\-i] [\-H\ LDB\-URL] [expression] [attributes] 176 26 .SH "DESCRIPTION" 177 27 .PP -
branches/samba-3.3.x/docs/manpages/libsmbclient.7
r342 r368 1 '\" t 1 2 .\" Title: libsmbclient 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: 7 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LIBSMBCLIENT" "7" "10/12/2009" "Samba 3\&.3" "7" 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 .. 10 .TH "LIBSMBCLIENT" "7" "01/14/2010" "Samba 3\&.3" "7" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 libsmbclient \- An extension library for browsers and that can be used as a generic browsing API\&. 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 25 .PP 175 26 Browser URL: 176 \FCsmb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options] \F[] 177 .fam 27 smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options] 178 28 .SH "DESCRIPTION" 179 29 .PP … … 183 33 .PP 184 34 185 \FClibsmbclient\F[] 35 libsmbclient 186 36 is a library toolset that permits applications to manipulate CIFS/SMB network resources using many of the standards POSIX functions available for manipulating local UNIX/Linux files\&. It permits much more than just browsing, files can be opened and read or written, permissions changed, file times modified, attributes and ACL\'s can be manipulated, and so on\&. Of course, its functionality includes all the capabilities commonly called browsing\&. 187 37 .PP 188 38 189 \FClibsmbclient\F[] 39 libsmbclient 190 40 can not be used directly from the command line, instead it provides an extension of the capabilities of tools such as file managers and browsers\&. This man page describes the configuration options for this tool so that the user may obtain greatest utility of use\&. 191 41 .SH "OPTIONS" … … 198 48 .sp 199 49 The method of locating the list of workgroups (domains also) varies depending on the setting of the context variable 200 \FC(context\->options\&.browse_max_lmb_count)\F[]\&. It is the responsibility of the application that calls this library to set this to a sensible value\&. This is a compile\-time option\&. This value determines the maximum number of local master browsers to query for the list of workgroups\&. In order to ensure that the list is complete for those present on the network, all master browsers must be querried\&. If there are a large number of workgroups on the network, the time spent querying will be significant\&. For small networks (just a few workgroups), it is suggested to set this value to 0, instructing libsmbclient to query all local master browsers\&. In an environment that has many workgroups a more reasonable setting may be around 3\&.50 (context\->options\&.browse_max_lmb_count)\&. It is the responsibility of the application that calls this library to set this to a sensible value\&. This is a compile\-time option\&. This value determines the maximum number of local master browsers to query for the list of workgroups\&. In order to ensure that the list is complete for those present on the network, all master browsers must be querried\&. If there are a large number of workgroups on the network, the time spent querying will be significant\&. For small networks (just a few workgroups), it is suggested to set this value to 0, instructing libsmbclient to query all local master browsers\&. In an environment that has many workgroups a more reasonable setting may be around 3\&. 201 51 .RE 202 52 .PP … … 207 57 .PP 208 58 When libsmbclient is invoked by an application it searches for a directory called 209 \ FC\&.smb\F[]59 \&.smb 210 60 in the $HOME directory that is specified in the users shell environment\&. It then searches for a file called 211 \FCsmb\&.conf\F[] 61 smb\&.conf 212 62 which, if present, will fully over\-ride the system 213 \FC/etc/samba/smb\&.conf\F[] 63 /etc/samba/smb\&.conf 214 64 file\&. If instead libsmbclient finds a file called 215 \FC~/\&.smb/smb\&.conf\&.append\F[], it will read the system216 \FC/etc/samba/smb\&.conf\F[] 65 ~/\&.smb/smb\&.conf\&.append, it will read the system 66 /etc/samba/smb\&.conf 217 67 and then append the contents of the 218 \FC~/\&.smb/smb\&.conf\&.append\F[] 68 ~/\&.smb/smb\&.conf\&.append 219 69 to it\&. 220 70 .PP 221 71 222 \FClibsmbclient\F[] 72 libsmbclient 223 73 will check the users shell environment for the 224 \FCUSER\F[] 74 USER 225 75 parameter and will use its value when if the 226 \FCuser\F[] 76 user 227 77 parameter was not included in the URL\&. 228 78 .SH "PROGRAMMERS GUIDE" -
branches/samba-3.3.x/docs/manpages/lmhosts.5
r342 r368 1 '\" t 1 2 .\" Title: lmhosts 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: File Formats and Conventions 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LMHOSTS" "5" "10/12/2009" "Samba 3\&.3" "File Formats and Conventions" 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 .. 10 .TH "LMHOSTS" "5" "01/14/2010" "Samba 3\&.3" "File Formats and Conventions" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 lmhosts \- The Samba NetBIOS hosts file 171 .SH "S ynopsis"23 .SH "SYNOPSIS" 172 24 .PP 173 \FClmhosts\F[] 25 lmhosts 174 26 is the 175 27 \fBsamba\fR(7) … … 181 33 suite\&. 182 34 .PP 183 \FClmhosts\F[] 35 lmhosts 184 36 is the 185 37 \fISamba \fR 186 38 NetBIOS name to IP address mapping file\&. It is very similar to the 187 \FC/etc/hosts\F[] 39 /etc/hosts 188 40 file format, except that the hostname component must correspond to the NetBIOS naming format\&. 189 41 .SH "FILE FORMAT" … … 221 73 .RS 4 222 74 .\} 223 .fam C224 .ps -1225 75 .nf 226 .if t \{\227 .sp -1228 .\}229 .BB lightgray adjust-for-leading-newline230 .sp -1231 232 76 # 233 77 # Sample Samba lmhosts file\&. … … 236 80 192\&.9\&.200\&.20 NTSERVER#20 237 81 192\&.9\&.200\&.21 SAMBASERVER 238 .EB lightgray adjust-for-leading-newline239 .if t \{\240 .sp 1241 .\}242 82 .fi 243 .fam244 .ps +1245 83 .if n \{\ 246 84 .RE … … 252 90 .PP 253 91 The default location of the 254 \FClmhosts\F[] 92 lmhosts 255 93 file is in the same directory as the 256 94 \fBsmb.conf\fR(5) … … 259 97 .PP 260 98 lmhosts is loaded from the configuration directory\&. This is usually 261 \FC/etc/samba\F[] 99 /etc/samba 262 100 or 263 \FC/usr/local/samba/lib\F[]\&.101 /usr/local/samba/lib\&. 264 102 .SH "VERSION" 265 103 .PP -
branches/samba-3.3.x/docs/manpages/log2pcap.1
r342 r368 1 '\" t 1 2 .\" Title: log2pcap 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "LOG2PCAP" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "LOG2PCAP" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 log2pcap \- Extract network traces from Samba log files 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FClog2pcap\F[] [\-h] [\-q] [logfile] [pcap_file] 175 .fam 25 log2pcap [\-h] [\-q] [logfile] [pcap_file] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FClog2pcap\F[] 32 log2pcap 183 33 reads in a samba log file and generates a pcap file (readable by most sniffers, such as ethereal or tcpdump) based on the packet dumps in the log file\&. 184 34 .PP … … 227 77 .RS 4 228 78 .\} 229 .fam C230 .ps -1231 79 .nf 232 .if t \{\ 233 .sp -1 234 .\} 235 .BB lightgray adjust-for-leading-newline 236 .sp -1 237 238 \FC$\F[] log2pcap < /var/log/* > trace\&.pcap 80 $ log2pcap < /var/log/* > trace\&.pcap 239 81 240 .EB lightgray adjust-for-leading-newline241 .if t \{\242 .sp 1243 .\}244 82 .fi 245 .fam246 .ps +1247 83 .if n \{\ 248 84 .RE … … 254 90 .RS 4 255 91 .\} 256 .fam C257 .ps -1258 92 .nf 259 .if t \{\ 260 .sp -1 261 .\} 262 .BB lightgray adjust-for-leading-newline 263 .sp -1 264 265 \FC$\F[] log2pcap \-h samba\&.log | text2pcap \-T 139,139 \- trace\&.pcap 93 $ log2pcap \-h samba\&.log | text2pcap \-T 139,139 \- trace\&.pcap 266 94 267 .EB lightgray adjust-for-leading-newline268 .if t \{\269 .sp 1270 .\}271 95 .fi 272 .fam273 .ps +1274 96 .if n \{\ 275 97 .RE -
branches/samba-3.3.x/docs/manpages/mount.cifs.8
r342 r368 1 '\" t 1 2 .\" Title: mount.cifs 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "MOUNT\&.CIFS" "8" "10/12/2009" "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 .. 10 .TH "MOUNT\&.CIFS" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 mount.cifs \- mount using the Common Internet File System (CIFS) 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCmount\&.cifs\F[] {service} {mount\-point} [\-o\ options] 175 .fam 25 mount\&.cifs {service} {mount\-point} [\-o\ options] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 206 56 .\} 207 57 .RS 4 208 .BM yellow209 58 .it 1 an-trap 210 59 .nr an-no-space-flag 1 … … 222 71 \fIcred=\fR\&. 223 72 .sp .5v 224 .EM yellow225 73 .RE 226 74 .RE … … 244 92 .RS 4 245 93 .\} 246 .fam C247 .ps -1248 94 .nf 249 .if t \{\250 .sp -1251 .\}252 .BB lightgray adjust-for-leading-newline253 .sp -1254 255 95 username=\fIvalue\fR 256 96 password=\fIvalue\fR 257 workgroup=\fIvalue\fR 258 .EB lightgray adjust-for-leading-newline 259 .if t \{\ 260 .sp 1 261 .\} 97 domain=\fIvalue\fR 262 98 .fi 263 .fam264 .ps +1265 99 .if n \{\ 266 100 .RE … … 268 102 .sp 269 103 This is preferred over having passwords in plaintext in a shared file, such as 270 \FC/etc/fstab\F[]\&. Be sure to protect any credentials file properly\&.104 /etc/fstab\&. Be sure to protect any credentials file properly\&. 271 105 .RE 272 106 .PP … … 552 386 .PP 553 387 The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem\&. In the directory 554 \FC/proc/fs/cifs\F[] 388 /proc/fs/cifs 555 389 are various configuration files and pseudo files which can display debug information\&. There are additional startup options such as maximum buffer size and number of buffers which only may be set when the kernel cifs vfs (cifs\&.ko module) is loaded\&. These can be seen by running the modinfo utility against the file cifs\&.ko which will list the options that may be passed to cifs during module installation (device driver load)\&. For more information see the kernel file 556 \FCfs/cifs/README\F[]\&.390 fs/cifs/README\&. 557 391 .SH "BUGS" 558 392 .PP -
branches/samba-3.3.x/docs/manpages/net.8
r342 r368 1 '\" t 1 2 .\" Title: net 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "NET" "8" "10/12/2009" "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 .. 10 .TH "NET" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 net \- Tool for administration of Samba and remote CIFS servers\&. 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCnet\F[] {<ads|rap|rpc>} [\-h] [\-w\ workgroup] [\-W\ myworkgroup] [\-U\ user] [\-I\ ip\-address] [\-p\ port] [\-n\ myname] [\-s\ conffile] [\-S\ server] [\-l] [\-P] [\-d\ debuglevel] [\-V] [\-\-request\-timeout\ seconds] 175 .fam 25 net {<ads|rap|rpc>} [\-h] [\-w\ workgroup] [\-W\ myworkgroup] [\-U\ user] [\-I\ ip\-address] [\-p\ port] [\-n\ myname] [\-s\ conffile] [\-S\ server] [\-l] [\-P] [\-d\ debuglevel] [\-V] [\-\-request\-timeout\ seconds] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 213 63 .RE 214 64 .PP 215 \-n <primary NetBIOS name>65 \-n|\-\-netbiosname <primary NetBIOS name> 216 66 .RS 4 217 67 This option allows you to override the NetBIOS name that Samba uses for itself\&. This is identical to setting the 218 \m[blue]\fB netbios name\fR\m[]68 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 219 69 parameter in the 220 \FCsmb\&.conf\F[] 70 smb\&.conf 221 71 file\&. However, a command line setting will take precedence over settings in 222 \FCsmb\&.conf\F[]\&.223 .RE 224 .PP 225 \-s <configuration file>72 smb\&.conf\&. 73 .RE 74 .PP 75 \-s|\-\-configfile <configuration file> 226 76 .RS 4 227 77 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 228 \FCsmb\&.conf\F[] 78 smb\&.conf 229 79 for more information\&. The default configuration file name is determined at compile time\&. 230 80 .RE … … 260 110 .sp 261 111 Note that specifying this parameter here will override the 262 \m[blue]\fB log level\fR\m[]112 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 263 113 parameter in the 264 \FCsmb\&.conf\F[] 114 smb\&.conf 265 115 file\&. 266 116 .RE … … 272 122 .PP 273 123 The 274 \FCNET TIME\F[] 124 NET TIME 275 125 command allows you to view the time on a remote server or synchronise the time on the local server with the time on the remote server\&. 276 126 .SS "TIME" 277 127 .PP 278 128 Without any options, the 279 \FCNET TIME\F[] 129 NET TIME 280 130 command displays the time on the remote server\&. 281 131 .SS "TIME SYSTEM" 282 132 .PP 283 133 Displays the time on the remote server in a format ready for 284 \FC/bin/date\F[]\&.134 /bin/date\&. 285 135 .SS "TIME SET" 286 136 .PP 287 137 Tries to set the date and time of the local server to that on the remote server using 288 \FC/bin/date\F[]\&.138 /bin/date\&. 289 139 .SS "TIME ZONE" 290 140 .PP … … 355 205 List files opened by specified 356 206 \fIuser\fR\&. Please note that 357 \FCnet rap file user\F[] 207 net rap file user 358 208 does not work against Samba servers\&. 359 209 .SS "SESSION" … … 389 239 .\} 390 240 .RS 4 391 .BM yellow392 241 .it 1 an-trap 393 242 .nr an-no-space-flag 1 … … 401 250 Currently NOT implemented\&. 402 251 .sp .5v 403 .EM yellow404 252 .RE 405 253 .SS "RAP GROUPMEMBER" … … 422 270 .\} 423 271 .RS 4 424 .BM yellow425 272 .it 1 an-trap 426 273 .nr an-no-space-flag 1 … … 434 281 Currently NOT implemented\&. 435 282 .sp .5v 436 .EM yellow437 283 .RE 438 284 .SS "RAP SERVICE" … … 444 290 .\} 445 291 .RS 4 446 .BM yellow447 292 .it 1 an-trap 448 293 .nr an-no-space-flag 1 … … 456 301 Currently NOT implemented\&. 457 302 .sp .5v 458 .EM yellow459 303 .RE 460 304 .SS "RAP SERVICE STOP" … … 465 309 .\} 466 310 .RS 4 467 .BM yellow468 311 .it 1 an-trap 469 312 .nr an-no-space-flag 1 … … 477 320 Currently NOT implemented\&. 478 321 .sp .5v 479 .EM yellow480 322 .RE 481 323 .SS "RAP PASSWORD \fIUSER\fR \fIOLDPASS\fR \fINEWPASS\fR" … … 635 477 .RS 4 636 478 .\} 637 .fam C638 .ps -1639 479 .nf 640 .if t \{\641 .sp -1642 .\}643 .BB lightgray adjust-for-leading-newline644 .sp -1645 646 480 net groupmap add {rid=int|sid=string} unixgroup=string \e 647 481 [type={domain|local}] [ntgroup=string] [comment=string] 648 .EB lightgray adjust-for-leading-newline649 .if t \{\650 .sp 1651 .\}652 482 .fi 653 .fam654 .ps +1655 483 .if n \{\ 656 484 .RE … … 672 500 .RS 4 673 501 .\} 674 .fam C675 .ps -1676 502 .nf 677 .if t \{\678 .sp -1679 .\}680 .BB lightgray adjust-for-leading-newline681 .sp -1682 683 503 net groupmap modify {ntgroup=string|sid=SID} [unixgroup=string] \e 684 504 [comment=string] [type={domain|local}] 685 .EB lightgray adjust-for-leading-newline686 .if t \{\687 .sp 1688 .\}689 505 .fi 690 .fam691 .ps +1692 506 .if n \{\ 693 507 .RE … … 721 535 \fB\'I\'\fR 722 536 (interdomain trust account)\&. If the command is used against localhost it has the same effect as 723 \FCsmbpasswd \-a \-i DOMAIN\F[]\&. Please note that both commands expect a appropriate UNIX account\&.537 smbpasswd \-a \-i DOMAIN\&. Please note that both commands expect a appropriate UNIX account\&. 724 538 .SS "RPC TRUSTDOM DEL DOMAIN" 725 539 .PP 726 540 Remove interdomain trust account for 727 541 \fIDOMAIN\fR\&. If it is used against localhost it has the same effect as 728 \FCsmbpasswd \-x DOMAIN$\F[]\&.542 smbpasswd \-x DOMAIN$\&. 729 543 .SS "RPC TRUSTDOM ESTABLISH DOMAIN" 730 544 .PP … … 784 598 .PP 785 599 Fetch domain SID and store it in the local 786 \FCsecrets\&.tdb\F[]\&.600 secrets\&.tdb\&. 787 601 .SS "ADS LEAVE" 788 602 .PP … … 791 605 .PP 792 606 Print out status of machine account of the local machine in ADS\&. Prints out quite some debug info\&. Aimed at developers, regular users should use 793 \FCNET ADS TESTJOIN\F[]\&.607 NET ADS TESTJOIN\&. 794 608 .SS "ADS PRINTER" 795 609 .SS "ADS PRINTER INFO [PRINTER] [SERVER]" -
branches/samba-3.3.x/docs/manpages/nmbd.8
r342 r368 1 '\" t 1 2 .\" Title: nmbd 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "NMBD" "8" "10/12/2009" "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 .. 10 .TH "NMBD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 nmbd \- NetBIOS name server to provide NetBIOS over IP naming services to clients 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCnmbd\F[] [\-D] [\-F] [\-S] [\-a] [\-i] [\-o] [\-h] [\-V] [\-d\ <debug\ level>] [\-H\ <lmhosts\ file>] [\-l\ <log\ directory>] [\-p\ <port\ number>] [\-s\ <configuration\ file>] 175 .fam 25 nmbd [\-D] [\-F] [\-S] [\-a] [\-i] [\-o] [\-h] [\-V] [\-d\ <debug\ level>] [\-H\ <lmhosts\ file>] [\-l\ <log\ directory>] [\-p\ <port\ number>] [\-s\ <configuration\ file>] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCnmbd\F[] 32 nmbd 183 33 is a server that understands and can reply to NetBIOS over IP name service requests, like those produced by SMB/CIFS clients such as Windows 95/98/ME, Windows NT, Windows 2000, Windows XP and LanManager clients\&. It also participates in the browsing protocols which make up the Windows "Network Neighborhood" view\&. 184 34 .PP … … 186 36 .PP 187 37 Amongst other services, 188 \FCnmbd\F[] 38 nmbd 189 39 will listen for such requests, and if its own NetBIOS name is specified it will respond with the IP number of the host it is running on\&. Its "own NetBIOS name" is by default the primary DNS name of the host it is running on, but this can be overridden by the 190 40 \m[blue]\fBnetbios name\fR\m[] 191 41 in 192 \FCsmb\&.conf\F[]\&. Thus193 \FCnmbd\F[] 42 smb\&.conf\&. Thus 43 nmbd 194 44 will reply to broadcast queries for its own name(s)\&. Additional names for 195 \FCnmbd\F[] 45 nmbd 196 46 to respond on can be set via parameters in the 197 47 \fBsmb.conf\fR(5) 198 48 configuration file\&. 199 49 .PP 200 \FCnmbd\F[] 50 nmbd 201 51 can also be used as a WINS (Windows Internet Name Server) server\&. What this basically means is that it will act as a WINS database server, creating a database from name registration requests that it receives and replying to queries from clients for these names\&. 202 52 .PP 203 53 In addition, 204 \FCnmbd\F[] 54 nmbd 205 55 can act as a WINS proxy, relaying broadcast queries from clients that do not understand how to talk the WINS protocol to a WINS server\&. 206 56 .SH "OPTIONS" … … 209 59 .RS 4 210 60 If specified, this parameter causes 211 \FCnmbd\F[] 61 nmbd 212 62 to operate as a daemon\&. That is, it detaches itself and runs in the background, fielding requests on the appropriate port\&. By default, 213 \FCnmbd\F[] 63 nmbd 214 64 will operate as a daemon if launched from a command shell\&. nmbd can also be operated from the 215 \FCinetd\F[] 65 inetd 216 66 meta\-daemon, although this is not recommended\&. 217 67 .RE … … 220 70 .RS 4 221 71 If specified, this parameter causes the main 222 \FCnmbd\F[] 72 nmbd 223 73 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 224 \FCnmbd\F[] 74 nmbd 225 75 under process supervisors such as 226 \FCsupervise\F[] 76 supervise 227 77 and 228 \FCsvscan\F[] 78 svscan 229 79 from Daniel J\&. Bernstein\'s 230 \FCdaemontools\F[] 80 daemontools 231 81 package, or the AIX process monitor\&. 232 82 .RE … … 235 85 .RS 4 236 86 If specified, this parameter causes 237 \FCnmbd\F[] 87 nmbd 238 88 to log to standard output rather than a file\&. 239 89 .RE … … 242 92 .RS 4 243 93 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\&. 244 \FCnmbd\F[] 94 nmbd 245 95 also logs to standard output, as if the 246 96 \fB\-S\fR … … 262 112 \fINOT\fR 263 113 used by 264 \FCnmbd\F[] 114 nmbd 265 115 to answer any name queries\&. Adding a line to this file affects name NetBIOS resolution from this host 266 116 \fIONLY\fR\&. 267 117 .sp 268 118 The default path to this file is compiled into Samba as part of the build process\&. Common defaults are 269 \FC/usr/local/samba/lib/lmhosts\F[],270 \FC/usr/samba/lib/lmhosts\F[] 119 /usr/local/samba/lib/lmhosts, 120 /usr/samba/lib/lmhosts 271 121 or 272 \FC/etc/samba/lmhosts\F[]\&. See the122 /etc/samba/lmhosts\&. See the 273 123 \fBlmhosts\fR(5) 274 124 man page for details on the contents of this file\&. … … 285 135 .sp 286 136 Note that specifying this parameter here will override the 287 \m[blue]\fB log level\fR\m[]137 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 288 138 parameter in the 289 \FCsmb\&.conf\F[] 139 smb\&.conf 290 140 file\&. 291 141 .RE 292 142 .PP 293 \-V 143 \-V|\-\-version 294 144 .RS 4 295 145 Prints the program version number\&. 296 146 .RE 297 147 .PP 298 \-s <configuration file>148 \-s|\-\-configfile <configuration file> 299 149 .RS 4 300 150 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 301 \FCsmb\&.conf\F[] 151 smb\&.conf 302 152 for more information\&. The default configuration file name is determined at compile time\&. 303 153 .RE … … 313 163 .RS 4 314 164 UDP port number is a positive integer value\&. This option changes the default UDP port number (normally 137) that 315 \FCnmbd\F[] 165 nmbd 316 166 responds to name queries on\&. Don\'t use this option unless you are an expert, in which case you won\'t need help! 317 167 .RE 318 168 .SH "FILES" 319 169 .PP 320 \FC/etc/inetd\&.conf\F[] 170 /etc/inetd\&.conf 321 171 .RS 4 322 172 If the server is to be run by the 323 \FCinetd\F[] 173 inetd 324 174 meta\-daemon, this file must contain suitable startup information for the meta\-daemon\&. 325 175 .RE 326 176 .PP 327 \FC/etc/rc\F[] 177 /etc/rc 328 178 .RS 4 329 179 or whatever initialization script your system uses)\&. … … 332 182 .RE 333 183 .PP 334 \FC/etc/services\F[] 184 /etc/services 335 185 .RS 4 336 186 If running the server via the meta\-daemon 337 \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)\&.338 .RE 339 .PP 340 \FC/usr/local/samba/lib/smb\&.conf\F[] 187 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)\&. 188 .RE 189 .PP 190 /usr/local/samba/lib/smb\&.conf 341 191 .RS 4 342 192 This is the default location of the 343 193 \fBsmb.conf\fR(5) 344 194 server configuration file\&. Other common places that systems install this file are 345 \FC/usr/samba/lib/smb\&.conf\F[] 195 /usr/samba/lib/smb\&.conf 346 196 and 347 \FC/etc/samba/smb\&.conf\F[]\&.197 /etc/samba/smb\&.conf\&. 348 198 .sp 349 199 When run as a WINS server (see the … … 352 202 \fBsmb.conf\fR(5) 353 203 man page), 354 \FCnmbd\F[] 204 nmbd 355 205 will store the WINS database in the file 356 \FCwins\&.dat\F[] 206 wins\&.dat 357 207 in the 358 \FCvar/locks\F[] 208 var/locks 359 209 directory configured under wherever Samba was configured to install itself\&. 360 210 .sp 361 211 If 362 \FCnmbd\F[] 212 nmbd 363 213 is acting as a 364 214 \fI browse master\fR … … 368 218 \fBsmb.conf\fR(5) 369 219 man page, 370 \FCnmbd\F[] 220 nmbd 371 221 will store the browsing database in the file 372 \FCbrowse\&.dat \F[] 222 browse\&.dat 373 223 in the 374 \FCvar/locks\F[] 224 var/locks 375 225 directory configured under wherever Samba was configured to install itself\&. 376 226 .RE … … 378 228 .PP 379 229 To shut down an 380 \FCnmbd\F[] 230 nmbd 381 231 process it is recommended that SIGKILL (\-9) 382 232 \fINOT\fR 383 233 be used, except as a last resort, as this may leave the name database in an inconsistent state\&. The correct way to terminate 384 \FCnmbd\F[] 234 nmbd 385 235 is to send it a SIGTERM (\-15) signal and wait for it to die on its own\&. 386 236 .PP 387 \FCnmbd\F[] 237 nmbd 388 238 will accept SIGHUP, which will cause it to dump out its namelists into the file 389 \FCnamelist\&.debug \F[] 239 namelist\&.debug 390 240 in the 391 \FC/usr/local/samba/var/locks\F[] 241 /usr/local/samba/var/locks 392 242 directory (or the 393 \FCvar/locks\F[] 243 var/locks 394 244 directory configured under wherever Samba was configured to install itself)\&. This will also cause 395 \FCnmbd\F[] 245 nmbd 396 246 to dump out its server database in the 397 \FClog\&.nmb\F[] 247 log\&.nmb 398 248 file\&. 399 249 .PP … … 413 263 \fBtestparm\fR(1), 414 264 \fBtestprns\fR(1), and the Internet RFC\'s 415 \FCrfc1001\&.txt\F[],416 \FCrfc1002\&.txt\F[]\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page265 rfc1001\&.txt, 266 rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page 417 267 http://samba\&.org/cifs/\&. 418 268 .SH "AUTHOR" -
branches/samba-3.3.x/docs/manpages/nmblookup.1
r342 r368 1 '\" t 1 2 .\" Title: nmblookup 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "NMBLOOKUP" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "NMBLOOKUP" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 nmblookup \- NetBIOS over TCP/IP client used to lookup NetBIOS names 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCnmblookup\F[] [\-M] [\-R] [\-S] [\-r] [\-A] [\-h] [\-B\ <broadcast\ address>] [\-U\ <unicast\ address>] [\-d\ <debug\ level>] [\-s\ <smb\ config\ file>] [\-i\ <NetBIOS\ scope>] [\-T] [\-f] {name} 175 .fam 25 nmblookup [\-M] [\-R] [\-S] [\-r] [\-A] [\-h] [\-B\ <broadcast\ address>] [\-U\ <unicast\ address>] [\-d\ <debug\ level>] [\-s\ <smb\ config\ file>] [\-i\ <NetBIOS\ scope>] [\-T] [\-f] {name} 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCnmblookup\F[] 32 nmblookup 183 33 is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries\&. The options allow the name queries to be directed at a particular IP broadcast area or to a particular machine\&. All queries are done over UDP\&. 184 34 .SH "OPTIONS" … … 220 70 .RE 221 71 .PP 222 \-n <primary NetBIOS name>72 \-n|\-\-netbiosname <primary NetBIOS name> 223 73 .RS 4 224 74 This option allows you to override the NetBIOS name that Samba uses for itself\&. This is identical to setting the 225 \m[blue]\fB netbios name\fR\m[]75 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 226 76 parameter in the 227 \FCsmb\&.conf\F[] 77 smb\&.conf 228 78 file\&. However, a command line setting will take precedence over settings in 229 \FCsmb\&.conf\F[]\&.230 .RE 231 .PP 232 \-i <scope>79 smb\&.conf\&. 80 .RE 81 .PP 82 \-i|\-\-scope <scope> 233 83 .RS 4 234 84 This specifies a NetBIOS scope that 235 \FCnmblookup\F[] 85 nmblookup 236 86 will use to communicate with when generating NetBIOS names\&. For details on the use of NetBIOS scopes, see rfc1001\&.txt and rfc1002\&.txt\&. NetBIOS scopes are 237 87 \fIvery\fR … … 244 94 .RE 245 95 .PP 246 \-O socket options96 \-O|\-\-socket\-options socket options 247 97 .RS 4 248 98 TCP socket options to set on the client socket\&. See the socket options parameter in the 249 \FCsmb\&.conf\F[] 99 smb\&.conf 250 100 manual page for the list of valid options\&. 251 101 .RE … … 283 133 .sp 284 134 Note that specifying this parameter here will override the 285 \m[blue]\fB log level\fR\m[]135 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 286 136 parameter in the 287 \FCsmb\&.conf\F[] 137 smb\&.conf 288 138 file\&. 289 139 .RE 290 140 .PP 291 \-V 141 \-V|\-\-version 292 142 .RS 4 293 143 Prints the program version number\&. 294 144 .RE 295 145 .PP 296 \-s <configuration file>146 \-s|\-\-configfile <configuration file> 297 147 .RS 4 298 148 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 299 \FCsmb\&.conf\F[] 149 smb\&.conf 300 150 for more information\&. The default configuration file name is determined at compile time\&. 301 151 .RE … … 328 178 .SH "EXAMPLES" 329 179 .PP 330 \FCnmblookup\F[] 180 nmblookup 331 181 can be used to query a WINS server (in the same way 332 \FCnslookup\F[] 182 nslookup 333 183 is used to query DNS servers)\&. To query a WINS server, 334 \FCnmblookup\F[] 184 nmblookup 335 185 must be called like this: 336 186 .PP 337 \FCnmblookup \-U server \-R \'name\'\F[] 187 nmblookup \-U server \-R \'name\' 338 188 .PP 339 189 For example, running : 340 190 .PP 341 \FCnmblookup \-U samba\&.org \-R \'IRIX#1B\'\F[] 191 nmblookup \-U samba\&.org \-R \'IRIX#1B\' 342 192 .PP 343 193 would query the WINS server samba\&.org for the domain master browser (1B name type) for the IRIX workgroup\&. -
branches/samba-3.3.x/docs/manpages/ntlm_auth.1
r342 r368 1 '\" t 1 2 .\" Title: ntlm_auth 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "NTLM_AUTH" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "NTLM_AUTH" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 ntlm_auth \- tool to allow external access to Winbind\'s NTLM authentication function 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCntlm_auth\F[] [\-d\ debuglevel] [\-l\ logdir] [\-s\ <smb\ config\ file>] 175 .fam 25 ntlm_auth [\-d\ debuglevel] [\-l\ logdir] [\-s\ <smb\ config\ file>] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCntlm_auth\F[] 32 ntlm_auth 183 33 is a helper utility that authenticates users using NT/LM authentication\&. It returns 0 if the users is authenticated successfully and 1 if access was denied\&. ntlm_auth uses winbind to access the user and authentication data for a domain\&. This utility is only indended to be used by other programs (currently 184 34 Squid … … 192 42 .PP 193 43 Some of these commands also require access to the directory 194 \FCwinbindd_privileged\F[] 44 winbindd_privileged 195 45 in 196 \FC$LOCKDIR\F[]\&. This should be done either by running this command as root or providing group access to the197 \FCwinbindd_privileged\F[] 46 $LOCKDIR\&. This should be done either by running this command as root or providing group access to the 47 winbindd_privileged 198 48 directory\&. For security reasons, this directory should not be world\-accessable\&. 199 49 .SH "OPTIONS" … … 218 68 .sp 219 69 Requires access to the directory 220 \FCwinbindd_privileged\F[] 70 winbindd_privileged 221 71 in 222 \FC$LOCKDIR\F[]\&. The protocol used is described here:72 $LOCKDIR\&. The protocol used is described here: 223 73 http://devel\&.squid\-cache\&.org/ntlm/squid_helper_protocol\&.html\&. This protocol has been extended to allow the NTLMSSP Negotiate packet to be included as an argument to the 224 \FCYR\F[] 74 YR 225 75 command\&. (Thus avoiding loss of information in the protocol exchange)\&. 226 76 .RE … … 231 81 .sp 232 82 This helper is a client, and as such may be run by any user\&. The protocol used is effectively the reverse of the previous protocol\&. A 233 \FCYR\F[] 83 YR 234 84 command (without any arguments) starts the authentication exchange\&. 235 85 .RE … … 238 88 .RS 4 239 89 Server\-side helper that implements GSS\-SPNEGO\&. This uses a protocol that is almost the same as 240 \FCsquid\-2\&.5\-ntlmssp\F[], but has some subtle differences that are undocumented outside the source at this stage\&.90 squid\-2\&.5\-ntlmssp, but has some subtle differences that are undocumented outside the source at this stage\&. 241 91 .sp 242 92 Requires access to the directory 243 \FCwinbindd_privileged\F[] 93 winbindd_privileged 244 94 in 245 \FC$LOCKDIR\F[]\&.95 $LOCKDIR\&. 246 96 .RE 247 97 .PP … … 256 106 .sp 257 107 This protocol consists of lines in the form: 258 \FCParameter: value\F[] 108 Parameter: value 259 109 and 260 \FCParameter:: Base64\-encode value\F[]\&. The presence of a single period261 \ FC\&.\F[]110 Parameter:: Base64\-encode value\&. The presence of a single period 111 \&. 262 112 indicates that one side has finished supplying data to the other\&. (Which in turn could cause the helper to authenticate the user)\&. 263 113 .sp … … 293 143 .RS 4 294 144 The 8 byte 295 \FCLANMAN Challenge\F[] 145 LANMAN Challenge 296 146 value, generated randomly by the server, or (in cases such as MSCHAPv2) generated in some way by both the server and the client\&. 297 147 .PP \fBExample\ \&7.\ \&\fR LANMAN\-Challege: 0102030405060708 … … 301 151 .RS 4 302 152 The 24 byte 303 \FCLANMAN Response\F[] 153 LANMAN Response 304 154 value, calculated from the user\'s password and the supplied 305 \FCLANMAN Challenge\F[]\&. Typically, this is provided over the network by a client wishing to authenticate\&.155 LANMAN Challenge\&. Typically, this is provided over the network by a client wishing to authenticate\&. 306 156 .PP \fBExample\ \&8.\ \&\fR LANMAN\-Response: 0102030405060708090A0B0C0D0E0F101112131415161718 307 157 .RE … … 310 160 .RS 4 311 161 The >= 24 byte 312 \FCNT Response\F[] 162 NT Response 313 163 calculated from the user\'s password and the supplied 314 \FCLANMAN Challenge\F[]\&. Typically, this is provided over the network by a client wishing to authenticate\&.164 LANMAN Challenge\&. Typically, this is provided over the network by a client wishing to authenticate\&. 315 165 .PP \fBExample\ \&9.\ \&\fR NT\-Response: 0102030405060708090A0B0C0D0E0F101112131415161718 316 166 .RE … … 338 188 .\} 339 189 .RS 4 340 .BM yellow341 190 .it 1 an-trap 342 191 .nr an-no-space-flag 1 … … 351 200 a newline\&. They may also need to decode strings from 352 201 the helper, which likewise may have been base64 encoded\&..sp .5v 353 .EM yellow354 202 .RE 355 203 .RE … … 408 256 .RS 4 409 257 Perform Diagnostics on the authentication chain\&. Uses the password from 410 \ FC\-\-password\F[]258 \-\-password 411 259 or prompts for one\&. 412 260 .RE … … 427 275 .sp 428 276 Note that specifying this parameter here will override the 429 \m[blue]\fB log level\fR\m[]277 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 430 278 parameter in the 431 \FCsmb\&.conf\F[] 279 smb\&.conf 432 280 file\&. 433 281 .RE 434 282 .PP 435 \-V 283 \-V|\-\-version 436 284 .RS 4 437 285 Prints the program version number\&. 438 286 .RE 439 287 .PP 440 \-s <configuration file>288 \-s|\-\-configfile <configuration file> 441 289 .RS 4 442 290 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 443 \FCsmb\&.conf\F[] 291 smb\&.conf 444 292 for more information\&. The default configuration file name is determined at compile time\&. 445 293 .RE … … 459 307 .PP 460 308 To setup ntlm_auth for use by squid 2\&.5, with both basic and NTLMSSP authentication, the following should be placed in the 461 \FCsquid\&.conf\F[] 309 squid\&.conf 462 310 file\&. 463 311 .sp … … 465 313 .RS 4 466 314 .\} 467 .fam C468 .ps -1469 315 .nf 470 .if t \{\471 .sp -1472 .\}473 .BB lightgray adjust-for-leading-newline474 .sp -1475 476 316 auth_param ntlm program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-ntlmssp 477 317 auth_param basic program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-basic … … 479 319 auth_param basic realm Squid proxy\-caching web server 480 320 auth_param basic credentialsttl 2 hours 481 .EB lightgray adjust-for-leading-newline482 .if t \{\483 .sp 1484 .\}485 321 .fi 486 .fam 487 .ps +1 488 .if n \{\ 489 .RE 490 .\} 491 .if n \{\ 492 .sp 493 .\} 494 .RS 4 495 .BM yellow 322 .if n \{\ 323 .RE 324 .\} 325 .if n \{\ 326 .sp 327 .\} 328 .RS 4 496 329 .it 1 an-trap 497 330 .nr an-no-space-flag 1 … … 504 337 .PP 505 338 This example assumes that ntlm_auth has been installed into your path, and that the group permissions on 506 \FCwinbindd_privileged\F[] 339 winbindd_privileged 507 340 are as described above\&. 508 341 .sp .5v 509 .EM yellow510 342 .RE 511 343 .PP 512 344 To setup ntlm_auth for use by squid 2\&.5 with group limitation in addition to the above example, the following should be added to the 513 \FCsquid\&.conf\F[] 345 squid\&.conf 514 346 file\&. 515 347 .sp … … 517 349 .RS 4 518 350 .\} 519 .fam C520 .ps -1521 351 .nf 522 .if t \{\523 .sp -1524 .\}525 .BB lightgray adjust-for-leading-newline526 .sp -1527 528 352 auth_param ntlm program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-ntlmssp \-\-require\-membership\-of=\'WORKGROUP\eDomain Users\' 529 353 auth_param basic program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-basic \-\-require\-membership\-of=\'WORKGROUP\eDomain Users\' 530 .EB lightgray adjust-for-leading-newline531 .if t \{\532 .sp 1533 .\}534 354 .fi 535 .fam536 .ps +1537 355 .if n \{\ 538 356 .RE -
branches/samba-3.3.x/docs/manpages/pam_winbind.8
r342 r368 1 '\" t 1 2 .\" Title: pam_winbind 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: 8 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "PAM_WINBIND" "8" "10/12/2009" "Samba 3\&.3" "8" 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 .. 10 .TH "PAM_WINBIND" "8" "01/14/2010" "Samba 3\&.3" "8" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 pam_winbind \- PAM module for Winbind 171 23 .SH "DESCRIPTION" … … 183 35 .RS 4 184 36 .\} 185 .fam C186 .ps -1187 37 .nf 188 .if t \{\189 .sp -1190 .\}191 .BB lightgray adjust-for-leading-newline192 .sp -1193 194 38 \&.\&.\&. 195 39 auth required pam_env\&.so … … 205 49 \&.\&.\&. 206 50 207 .EB lightgray adjust-for-leading-newline208 .if t \{\209 .sp 1210 .\}211 51 .fi 212 .fam213 .ps +1214 52 .if n \{\ 215 53 .RE … … 220 58 .PP 221 59 pam_winbind supports several options which can either be set in the PAM configuration files or in the pam_winbind configuration file situated at 222 \FC/etc/security/pam_winbind\&.conf\F[]\&. Options from the PAM configuration file take precedence to those from the configuration file\&.60 /etc/security/pam_winbind\&.conf\&. Options from the PAM configuration file take precedence to those from the configuration file\&. 223 61 .PP 224 62 debug … … 238 76 or 239 77 \fIMYDOMAIN\e\emyuser\fR\&. pam_winbind will, in that case, lookup the SID internally\&. Note that NAME may not contain any spaces\&. It is thus recommended to only use SIDs\&. You can verify the list of SIDs a user is a member of with 240 \FCwbinfo \-\-user\-sids=SID\F[]\&.78 wbinfo \-\-user\-sids=SID\&. 241 79 .RE 242 80 .PP -
branches/samba-3.3.x/docs/manpages/pdbedit.8
r342 r368 1 '\" t 1 2 .\" Title: pdbedit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "PDBEDIT" "8" "10/12/2009" "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 .. 10 .TH "PDBEDIT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 pdbedit \- manage the SAM database (Database of Samba Users) 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCpdbedit\F[] [\-L] [\-v] [\-w] [\-u\ username] [\-f\ fullname] [\-h\ homedir] [\-D\ drive] [\-S\ script] [\-p\ profile] [\-a] [\-t,\ \-\-password\-from\-stdin] [\-m] [\-r] [\-x] [\-i\ passdb\-backend] [\-e\ passdb\-backend] [\-b\ passdb\-backend] [\-g] [\-d\ debuglevel] [\-s\ configfile] [\-P\ account\-policy] [\-C\ value] [\-c\ account\-control] [\-y] 175 .fam 25 pdbedit [\-L] [\-v] [\-w] [\-u\ username] [\-f\ fullname] [\-h\ homedir] [\-D\ drive] [\-S\ script] [\-p\ profile] [\-a] [\-t,\ \-\-password\-from\-stdin] [\-m] [\-r] [\-x] [\-i\ passdb\-backend] [\-e\ passdb\-backend] [\-b\ passdb\-backend] [\-g] [\-d\ debuglevel] [\-s\ configfile] [\-P\ account\-policy] [\-C\ value] [\-c\ account\-control] [\-y] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 192 42 .sp 193 43 Example: 194 \FCpdbedit \-L\F[] 195 .sp 196 .if n \{\ 197 .RS 4 198 .\} 199 .fam C 200 .ps -1 44 pdbedit \-L 45 .sp 46 .if n \{\ 47 .RS 4 48 .\} 201 49 .nf 202 .if t \{\203 .sp -1204 .\}205 .BB lightgray adjust-for-leading-newline206 .sp -1207 208 50 sorce:500:Simo Sorce 209 51 samba:45:Test User 210 .EB lightgray adjust-for-leading-newline211 .if t \{\212 .sp 1213 .\}214 52 .fi 215 .fam216 .ps +1217 53 .if n \{\ 218 54 .RE … … 225 61 .sp 226 62 Example: 227 \FCpdbedit \-L \-v\F[] 228 .sp 229 .if n \{\ 230 .RS 4 231 .\} 232 .fam C 233 .ps -1 63 pdbedit \-L \-v 64 .sp 65 .if n \{\ 66 .RS 4 67 .\} 234 68 .nf 235 .if t \{\236 .sp -1237 .\}238 .BB lightgray adjust-for-leading-newline239 .sp -1240 241 69 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\- 242 70 username: sorce … … 257 85 Logon Script: 258 86 Profile Path: \e\eBERSERKER\eprofile 259 .EB lightgray adjust-for-leading-newline260 .if t \{\261 .sp 1262 .\}263 87 .fi 264 .fam265 .ps +1266 88 .if n \{\ 267 89 .RE … … 272 94 .RS 4 273 95 This option sets the "smbpasswd" listing format\&. It will make pdbedit list the users in the database, printing out the account fields in a format compatible with the 274 \FCsmbpasswd\F[] 96 smbpasswd 275 97 file format\&. (see the 276 98 \fBsmbpasswd\fR(5) … … 278 100 .sp 279 101 Example: 280 \FCpdbedit \-L \-w\F[] 281 .sp 282 .if n \{\ 283 .RS 4 284 .\} 285 .fam C 286 .ps -1 102 pdbedit \-L \-w 103 .sp 104 .if n \{\ 105 .RS 4 106 .\} 287 107 .nf 288 .if t \{\289 .sp -1290 .\}291 .BB lightgray adjust-for-leading-newline292 .sp -1293 294 108 sorce:500:508818B733CE64BEAAD3B435B51404EE: 295 109 D2A2418EFC466A8A0F6B1DBB5C3DB80C: … … 298 112 BC281CE3F53B6A5146629CD4751D3490: 299 113 [UX ]:LCT\-3BFA1E8D: 300 .EB lightgray adjust-for-leading-newline301 .if t \{\302 .sp 1303 .\}304 114 .fi 305 .fam306 .ps +1307 115 .if n \{\ 308 116 .RE … … 324 132 .sp 325 133 Example: 326 \ FC\-f "Simo Sorce"\F[]134 \-f "Simo Sorce" 327 135 .RE 328 136 .PP … … 332 140 .sp 333 141 Example: 334 \ FC\-h "\e\e\e\eBERSERKER\e\esorce"\F[]142 \-h "\e\e\e\eBERSERKER\e\esorce" 335 143 .RE 336 144 .PP … … 340 148 .sp 341 149 Example: 342 \ FC\-D "H:"\F[]150 \-D "H:" 343 151 .RE 344 152 .PP … … 348 156 .sp 349 157 Example: 350 \ FC\-S "\e\e\e\eBERSERKER\e\enetlogon\e\esorce\&.bat"\F[]158 \-S "\e\e\e\eBERSERKER\e\enetlogon\e\esorce\&.bat" 351 159 .RE 352 160 .PP … … 356 164 .sp 357 165 Example: 358 \ FC\-p "\e\e\e\eBERSERKER\e\enetlogon"\F[]166 \-p "\e\e\e\eBERSERKER\e\enetlogon" 359 167 .RE 360 168 .PP … … 364 172 .sp 365 173 Example: 366 \ FC\-G S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-1201\F[]174 \-G S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-1201 367 175 .RE 368 176 .PP … … 372 180 .sp 373 181 Example: 374 \ FC\-U S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-5004\F[]182 \-U S\-1\-5\-21\-2447931902\-1787058256\-3961074038\-5004 375 183 .RE 376 184 .PP … … 504 312 .sp 505 313 Example: 506 \ FC\-c "[X ]"\F[]314 \-c "[X ]" 507 315 .RE 508 316 .PP … … 512 320 .sp 513 321 Example: 514 \FCpdbedit \-a \-u sorce\F[] 515 .sp 516 .if n \{\ 517 .RS 4 518 .\} 519 .fam C 520 .ps -1 322 pdbedit \-a \-u sorce 323 .sp 324 .if n \{\ 325 .RS 4 326 .\} 521 327 .nf 522 .BB lightgray523 328 new password: 524 329 retype new password 525 .EB lightgray526 330 .fi 527 .fam 528 .ps +1 529 .if n \{\ 530 .RE 531 .\} 532 .sp 533 .if n \{\ 534 .sp 535 .\} 536 .RS 4 537 .BM yellow 331 .if n \{\ 332 .RE 333 .\} 334 .sp 335 .if n \{\ 336 .sp 337 .\} 338 .RS 4 538 339 .it 1 an-trap 539 340 .nr an-no-space-flag 1 … … 549 350 .sp 550 351 If you wish to add a user and synchronise the password that immediately, use 551 \FCsmbpasswd\F[]\'s352 smbpasswd\'s 552 353 \fB\-a\fR 553 354 option\&. 554 355 .sp .5v 555 .EM yellow556 356 .RE 557 357 .RE … … 560 360 .RS 4 561 361 This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the 562 \FCpasswd(1)\F[] 362 passwd(1) 563 363 program does)\&. The password has to be submitted twice and terminated by a newline each\&. 564 364 .RE … … 576 376 .sp 577 377 Example: 578 \FCpdbedit \-a \-m \-u w2k\-wks\F[] 378 pdbedit \-a \-m \-u w2k\-wks 579 379 .RE 580 380 .PP … … 584 384 .sp 585 385 Example: 586 \FCpdbedit \-x \-u bob\F[] 386 pdbedit \-x \-u bob 587 387 .RE 588 388 .PP … … 594 394 .sp 595 395 Example: 596 \FCpdbedit \-i smbpasswd:/etc/smbpasswd\&.old \F[] 396 pdbedit \-i smbpasswd:/etc/smbpasswd\&.old 597 397 .RE 598 398 .PP … … 604 404 .sp 605 405 Example: 606 \FCpdbedit \-e smbpasswd:/root/samba\-users\&.backup\F[] 406 pdbedit \-e smbpasswd:/root/samba\-users\&.backup 607 407 .RE 608 408 .PP … … 622 422 .sp 623 423 Example: 624 \FCpdbedit \-b xml:/root/pdb\-backup\&.xml \-l\F[] 424 pdbedit \-b xml:/root/pdb\-backup\&.xml \-l 625 425 .RE 626 426 .PP … … 632 432 .sp 633 433 Example: 634 \FCpdbedit \-P "bad lockout attempt"\F[] 635 .sp 636 .if n \{\ 637 .RS 4 638 .\} 639 .fam C 640 .ps -1 434 pdbedit \-P "bad lockout attempt" 435 .sp 436 .if n \{\ 437 .RS 4 438 .\} 641 439 .nf 642 .if t \{\643 .sp -1644 .\}645 .BB lightgray adjust-for-leading-newline646 .sp -1647 648 440 account policy value for bad lockout attempt is 0 649 .EB lightgray adjust-for-leading-newline650 .if t \{\651 .sp 1652 .\}653 441 .fi 654 .fam655 .ps +1656 442 .if n \{\ 657 443 .RE … … 666 452 .sp 667 453 Example: 668 \FCpdbedit \-P "bad lockout attempt" \-C 3\F[] 669 .sp 670 .if n \{\ 671 .RS 4 672 .\} 673 .fam C 674 .ps -1 454 pdbedit \-P "bad lockout attempt" \-C 3 455 .sp 456 .if n \{\ 457 .RS 4 458 .\} 675 459 .nf 676 .if t \{\677 .sp -1678 .\}679 .BB lightgray adjust-for-leading-newline680 .sp -1681 682 460 account policy value for bad lockout attempt was 0 683 461 account policy value for bad lockout attempt is now 3 684 .EB lightgray adjust-for-leading-newline685 .if t \{\686 .sp 1687 .\}688 462 .fi 689 .fam690 .ps +1691 463 .if n \{\ 692 464 .RE … … 704 476 .sp 705 477 Example: 706 \FCpdbedit \-y \-i tdbsam: \-e ldapsam:ldap://my\&.ldap\&.host\F[] 478 pdbedit \-y \-i tdbsam: \-e ldapsam:ldap://my\&.ldap\&.host 707 479 .RE 708 480 .PP … … 722 494 .sp 723 495 Note that specifying this parameter here will override the 724 \m[blue]\fB log level\fR\m[]496 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 725 497 parameter in the 726 \FCsmb\&.conf\F[] 498 smb\&.conf 727 499 file\&. 728 500 .RE 729 501 .PP 730 \-V 502 \-V|\-\-version 731 503 .RS 4 732 504 Prints the program version number\&. 733 505 .RE 734 506 .PP 735 \-s <configuration file>507 \-s|\-\-configfile <configuration file> 736 508 .RS 4 737 509 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 738 \FCsmb\&.conf\F[] 510 smb\&.conf 739 511 for more information\&. The default configuration file name is determined at compile time\&. 740 512 .RE -
branches/samba-3.3.x/docs/manpages/profiles.1
r342 r368 1 '\" t 1 2 .\" Title: profiles 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "PROFILES" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "PROFILES" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 profiles \- A utility to report and change SIDs in registry files 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCprofiles\F[] [\-v] [\-c\ SID] [\-n\ SID] {file} 175 .fam 25 profiles [\-v] [\-c\ SID] [\-n\ SID] {file} 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCprofiles\F[] 32 profiles 183 33 is a utility that reports and changes SIDs in windows registry files\&. It currently only supports NT\&. 184 34 .SH "OPTIONS" … … 197 47 .RS 4 198 48 Change all occurences of SID1 in 199 \FCfile\F[] 49 file 200 50 by SID2\&. 201 51 .RE -
branches/samba-3.3.x/docs/manpages/rpcclient.1
r342 r368 1 '\" t 1 2 .\" Title: rpcclient 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "RPCCLIENT" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "RPCCLIENT" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 rpcclient \- tool for executing client side MS\-RPC functions 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCrpcclient\F[] [\-A\ authfile] [\-c\ <command\ string>] [\-d\ debuglevel] [\-h] [\-l\ logdir] [\-N] [\-s\ <smb\ config\ file>] [\-U\ username[%password]] [\-W\ workgroup] [\-N] [\-I\ destinationIP] {server} 175 .fam 25 rpcclient [\-A\ authfile] [\-c\ <command\ string>] [\-d\ debuglevel] [\-h] [\-l\ logdir] [\-N] [\-s\ <smb\ config\ file>] [\-U\ username[%password]] [\-W\ workgroup] [\-N] [\-I\ destinationIP] {server} 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCrpcclient\F[] 32 rpcclient 183 33 is a utility initially developed to test MS\-RPC functionality in Samba itself\&. It has undergone several stages of development and stability\&. Many system administrators have now written scripts around it to manage Windows NT clients from their UNIX workstation\&. 184 34 .SH "OPTIONS" … … 219 69 .sp 220 70 Note that specifying this parameter here will override the 221 \m[blue]\fB log level\fR\m[]71 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 222 72 parameter in the 223 \FCsmb\&.conf\F[] 73 smb\&.conf 224 74 file\&. 225 75 .RE 226 76 .PP 227 \-V 77 \-V|\-\-version 228 78 .RS 4 229 79 Prints the program version number\&. 230 80 .RE 231 81 .PP 232 \-s <configuration file>82 \-s|\-\-configfile <configuration file> 233 83 .RS 4 234 84 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 235 \FCsmb\&.conf\F[] 85 smb\&.conf 236 86 for more information\&. The default configuration file name is determined at compile time\&. 237 87 .RE … … 244 94 .RE 245 95 .PP 246 \-N 96 \-N|\-\-no\-pass 247 97 .RS 4 248 98 If specified, this parameter suppresses the normal password prompt from the client to the user\&. This is useful when accessing a service that does not require a password\&. … … 253 103 .RE 254 104 .PP 255 \-k 105 \-k|\-\-kerberos 256 106 .RS 4 257 107 Try to authenticate with kerberos\&. Only useful in an Active Directory environment\&. … … 265 115 .RS 4 266 116 .\} 267 .fam C268 .ps -1269 117 .nf 270 .if t \{\271 .sp -1272 .\}273 .BB lightgray adjust-for-leading-newline274 .sp -1275 276 118 username = <value> 277 119 password = <value> 278 120 domain = <value> 279 .EB lightgray adjust-for-leading-newline280 .if t \{\281 .sp 1282 .\}283 121 .fi 284 .fam285 .ps +1286 122 .if n \{\ 287 123 .RE … … 308 144 .sp 309 145 Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the 310 \FCps\F[] 146 ps 311 147 command\&. To be safe always allow 312 \FCrpcclient\F[] 148 rpcclient 313 149 to prompt for a password and type it in directly\&. 314 150 .RE 315 151 .PP 316 \-n <primary NetBIOS name>152 \-n|\-\-netbiosname <primary NetBIOS name> 317 153 .RS 4 318 154 This option allows you to override the NetBIOS name that Samba uses for itself\&. This is identical to setting the 319 \m[blue]\fB netbios name\fR\m[]155 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 320 156 parameter in the 321 \FCsmb\&.conf\F[] 157 smb\&.conf 322 158 file\&. However, a command line setting will take precedence over settings in 323 \FCsmb\&.conf\F[]\&.324 .RE 325 .PP 326 \-i <scope>159 smb\&.conf\&. 160 .RE 161 .PP 162 \-i|\-\-scope <scope> 327 163 .RS 4 328 164 This specifies a NetBIOS scope that 329 \FCnmblookup\F[] 165 nmblookup 330 166 will use to communicate with when generating NetBIOS names\&. For details on the use of NetBIOS scopes, see rfc1001\&.txt and rfc1002\&.txt\&. NetBIOS scopes are 331 167 \fIvery\fR … … 338 174 .RE 339 175 .PP 340 \-O socket options176 \-O|\-\-socket\-options socket options 341 177 .RS 4 342 178 TCP socket options to set on the client socket\&. See the socket options parameter in the 343 \FCsmb\&.conf\F[] 179 smb\&.conf 344 180 manual page for the list of valid options\&. 345 181 .RE … … 578 414 .RS 4 579 415 Execute an AddPrinterDriver() RPC to install the printer driver information on the server\&. Note that the driver files should already exist in the directory returned by 580 \FCgetdriverdir\F[]\&. Possible values for416 getdriverdir\&. Possible values for 581 417 \fIarch\fR 582 418 are the same as those for the 583 \FCgetdriverdir\F[] 419 getdriverdir 584 420 command\&. The 585 421 \fIconfig\fR … … 589 425 .RS 4 590 426 .\} 591 .fam C592 .ps -1593 427 .nf 594 .if t \{\595 .sp -1596 .\}597 .BB lightgray adjust-for-leading-newline598 .sp -1599 600 428 Long Printer Name:\e 601 429 Driver File Name:\e … … 606 434 Default Data Type:\e 607 435 Comma Separated list of Files 608 .EB lightgray adjust-for-leading-newline609 .if t \{\610 .sp 1611 .\}612 436 .fi 613 .fam614 .ps +1615 437 .if n \{\ 616 438 .RE … … 629 451 .RS 4 630 452 Add a printer on the remote server\&. This printer will be automatically shared\&. Be aware that the printer driver must already be installed on the server (see 631 \FCadddriver\F[]) and the453 adddriver) and the 632 454 \fIport\fRmust be a valid port name (see 633 \FCenumports\F[]\&.455 enumports\&. 634 456 .RE 635 457 .PP … … 682 504 .RS 4 683 505 Retrieve the data for a given printer setting\&. See the 684 \FCenumdata\F[] 506 enumdata 685 507 command for more information\&. This command corresponds to the GetPrinterData() MS Platform SDK function\&. 686 508 .RE … … 723 545 .sp 724 546 See also the 725 \FCenumprinters\F[] 547 enumprinters 726 548 and 727 \FCenumdrivers\F[] 549 enumdrivers 728 550 commands for obtaining a list of of installed printers and drivers\&. 729 551 .RE … … 814 636 .RS 4 815 637 Exit 816 \FCrpcclient \F[]\&.638 rpcclient\&. 817 639 .RE 818 640 .SH "BUGS" 819 641 .PP 820 \FCrpcclient\F[] 642 rpcclient 821 643 is designed as a developer testing tool and may not be robust in certain areas (such as command line parsing)\&. It has been known to generate a core dump upon failures when invalid parameters where passed to the interpreter\&. 822 644 .PP -
branches/samba-3.3.x/docs/manpages/samba.7
r342 r368 1 '\" t 1 2 .\" Title: samba 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: Miscellanea 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SAMBA" "7" "10/12/2009" "Samba 3\&.3" "Miscellanea" 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 .. 10 .TH "SAMBA" "7" "01/14/2010" "Samba 3\&.3" "Miscellanea" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 samba \- A Windows SMB/CIFS fileserver for UNIX 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsamba\F[] 175 .fam 25 samba 176 26 .SH "DESCRIPTION" 177 27 .PP … … 182 32 .RS 4 183 33 The 184 \FCsmbd\F[] 34 smbd 185 35 daemon provides the file and print services to SMB clients, such as Windows 95/98, Windows NT, Windows for Workgroups or LanManager\&. The configuration file for this daemon is described in 186 36 \fBsmb.conf\fR(5) … … 190 40 .RS 4 191 41 The 192 \FCnmbd\F[] 42 nmbd 193 43 daemon provides NetBIOS nameservice and browsing support\&. The configuration file for this daemon is described in 194 44 \fBsmb.conf\fR(5) … … 198 48 .RS 4 199 49 The 200 \FCsmbclient\F[] 50 smbclient 201 51 program implements a simple ftp\-like client\&. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT)\&. 202 52 .RE … … 205 55 .RS 4 206 56 The 207 \FCtestparm\F[] 57 testparm 208 58 utility is a simple syntax checker for Samba\'s 209 59 \fBsmb.conf\fR(5) … … 214 64 .RS 4 215 65 The 216 \FCtestprns\F[] 66 testprns 217 67 utility supports testing printer names defined in your 218 \FCprintcap\F[] 68 printcap 219 69 file used by Samba\&. 220 70 .RE … … 223 73 .RS 4 224 74 The 225 \FCsmbstatus\F[] 75 smbstatus 226 76 tool provides access to information about the current connections to 227 \FCsmbd\F[]\&.77 smbd\&. 228 78 .RE 229 79 .PP … … 231 81 .RS 4 232 82 The 233 \FCnmblookup\F[] 83 nmblookup 234 84 tools allows NetBIOS name queries to be made from a UNIX host\&. 235 85 .RE … … 238 88 .RS 4 239 89 The 240 \FCsmbpasswd\F[] 90 smbpasswd 241 91 command is a tool for changing LanMan and Windows NT password hashes on Samba and Windows NT servers\&. 242 92 .RE … … 245 95 .RS 4 246 96 The 247 \FCsmbcacls\F[] 97 smbcacls 248 98 command is a tool to set ACL\'s on remote CIFS servers\&. 249 99 .RE … … 252 102 .RS 4 253 103 The 254 \FCsmbsh\F[] 104 smbsh 255 105 command is a program that allows you to run a unix shell with with an overloaded VFS\&. 256 106 .RE … … 259 109 .RS 4 260 110 The 261 \FCsmbtree\F[] 111 smbtree 262 112 command is a text\-based network neighborhood tool\&. 263 113 .RE … … 266 116 .RS 4 267 117 The 268 \FCsmbtar\F[] 118 smbtar 269 119 can make backups of data on CIFS/SMB servers\&. 270 120 .RE … … 272 122 \fBsmbspool\fR(8) 273 123 .RS 4 274 \FCsmbspool\F[] 124 smbspool 275 125 is a helper utility for printing on printers connected to CIFS servers\&. 276 126 .RE … … 278 128 \fBsmbcontrol\fR(1) 279 129 .RS 4 280 \FCsmbcontrol\F[] 130 smbcontrol 281 131 is a utility that can change the behaviour of running samba daemons\&. 282 132 .RE … … 284 134 \fBrpcclient\fR(1) 285 135 .RS 4 286 \FCrpcclient\F[] 136 rpcclient 287 137 is a utility that can be used to execute RPC commands on remote CIFS servers\&. 288 138 .RE … … 291 141 .RS 4 292 142 The 293 \FCpdbedit\F[] 143 pdbedit 294 144 command can be used to maintain the local user database on a samba server\&. 295 145 .RE … … 298 148 .RS 4 299 149 The 300 \FCfindsmb\F[] 150 findsmb 301 151 command can be used to find SMB servers on the local network\&. 302 152 .RE … … 305 155 .RS 4 306 156 The 307 \FCnet\F[] 157 net 308 158 command is supposed to work similar to the DOS/Windows NET\&.EXE command\&. 309 159 .RE … … 311 161 \fBswat\fR(8) 312 162 .RS 4 313 \FCswat\F[] 163 swat 314 164 is a web\-based interface to configuring 315 \FCsmb\&.conf\F[]\&.165 smb\&.conf\&. 316 166 .RE 317 167 .PP 318 168 \fBwinbindd\fR(8) 319 169 .RS 4 320 \FCwinbindd\F[] 170 winbindd 321 171 is a daemon that is used for integrating authentication and the user database into unix\&. 322 172 .RE … … 324 174 \fBwbinfo\fR(1) 325 175 .RS 4 326 \FCwbinfo\F[] 176 wbinfo 327 177 is a utility that retrieves and stores information related to winbind\&. 328 178 .RE … … 330 180 \fBprofiles\fR(1) 331 181 .RS 4 332 \FCprofiles\F[] 182 profiles 333 183 is a command\-line utility that can be used to replace all occurences of a certain SID with another SID\&. 334 184 .RE … … 336 186 \fBlog2pcap\fR(1) 337 187 .RS 4 338 \FClog2pcap\F[] 188 log2pcap 339 189 is a utility for generating pcap trace files from Samba log files\&. 340 190 .RE … … 342 192 \fBvfstest\fR(1) 343 193 .RS 4 344 \FCvfstest\F[] 194 vfstest 345 195 is a utility that can be used to test vfs modules\&. 346 196 .RE … … 348 198 \fBntlm_auth\fR(1) 349 199 .RS 4 350 \FCntlm_auth\F[] 200 ntlm_auth 351 201 is a helper\-utility for external programs wanting to do NTLM\-authentication\&. 352 202 .RE … … 354 204 \fBsmbmount\fR(8), \fBsmbumount\fR(8), \fBsmbmnt\fR(8) 355 205 .RS 4 356 \FCsmbmount\F[],\FCsmbumount\F[] 206 smbmount,smbumount 357 207 and 358 \FCsmbmnt\F[] 208 smbmnt 359 209 are commands that can be used to mount CIFS/SMB shares on Linux\&. 360 210 .RE … … 362 212 \fBsmbcquotas\fR(1) 363 213 .RS 4 364 \FCsmbcquotas\F[] 214 smbcquotas 365 215 is a tool that can set remote QUOTA\'s on server with NTFS 5\&. 366 216 .RE … … 397 247 http://devel\&.samba\&.org/ 398 248 for information on how to do it properly\&. We prefer patches in 399 \FCdiff \-u\F[] 249 diff \-u 400 250 format\&. 401 251 .SH "CONTRIBUTORS" 402 252 .PP 403 253 Contributors to the project are now too numerous to mention here but all deserve the thanks of all Samba users\&. To see a full list, look at the 404 \FCchange\-log\F[] 254 change\-log 405 255 in the source package for the pre\-CVS changes and at 406 256 http://cvs\&.samba\&.org/ -
branches/samba-3.3.x/docs/manpages/sharesec.1
r342 r368 1 '\" t 1 2 .\" Title: sharesec 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SHARESEC" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SHARESEC" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 sharesec \- Set or get share ACLs 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsharesec\F[] {sharename} [\-r,\ \-\-remove=ACL] [\-m,\ \-\-modify=ACL] [\-a,\ \-\-add=ACL] [\-R,\ \-\-replace=ACLs] [\-D,\ \-\-delete] [\-v,\ \-\-view] [\-M,\ \-\-machine\-sid] [\-F,\ \-\-force] [\-d,\ \-\-debuglevel=DEBUGLEVEL] [\-s,\ \-\-configfile=CONFIGFILE] [\-l,\ \-\-log\-basename=LOGFILEBASE] [\-V,\ \-\-version] [\-?,\ \-\-help] [\-\-usage] 175 .fam 25 sharesec {sharename} [\-r,\ \-\-remove=ACL] [\-m,\ \-\-modify=ACL] [\-a,\ \-\-add=ACL] [\-R,\ \-\-replace=ACLs] [\-D,\ \-\-delete] [\-v,\ \-\-view] [\-M,\ \-\-machine\-sid] [\-F,\ \-\-force] [\-d,\ \-\-debuglevel=DEBUGLEVEL] [\-s,\ \-\-configfile=CONFIGFILE] [\-l,\ \-\-log\-basename=LOGFILEBASE] [\-V,\ \-\-version] [\-?,\ \-\-help] [\-\-usage] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCsharesec\F[] 33 sharesec 184 34 program manipulates share permissions on SMB file shares\&. 185 35 .SH "OPTIONS" 186 36 .PP 187 37 The following options are available to the 188 \FCsharesec\F[] 38 sharesec 189 39 program\&. The format of ACLs is described in the section ACL FORMAT 190 40 .PP … … 239 89 .sp 240 90 Note that specifying this parameter here will override the 241 \m[blue]\fB log level\fR\m[]91 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 242 92 parameter in the 243 \FCsmb\&.conf\F[] 93 smb\&.conf 244 94 file\&. 245 95 .RE 246 96 .PP 247 \-V 97 \-V|\-\-version 248 98 .RS 4 249 99 Prints the program version number\&. 250 100 .RE 251 101 .PP 252 \-s <configuration file>102 \-s|\-\-configfile <configuration file> 253 103 .RS 4 254 104 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 255 \FCsmb\&.conf\F[] 105 smb\&.conf 256 106 for more information\&. The default configuration file name is determined at compile time\&. 257 107 .RE … … 270 120 .RS 4 271 121 .\} 272 .fam C273 .ps -1274 122 .nf 275 .if t \{\276 .sp -1277 .\}278 .BB lightgray adjust-for-leading-newline279 .sp -1280 281 123 REVISION:<revision number> 282 124 OWNER:<sid or name> … … 284 126 ACL:<sid or name>:<type>/<flags>/<mask> 285 127 286 .EB lightgray adjust-for-leading-newline287 .if t \{\288 .sp 1289 .\}290 128 .fi 291 .fam292 .ps +1293 129 .if n \{\ 294 130 .RE … … 417 253 .PP 418 254 The 419 \FCsharesec\F[] 255 sharesec 420 256 program sets the exit status depending on the success or otherwise of the operations performed\&. The exit status may be one of the following values\&. 421 257 .PP 422 258 If the operation succeeded, sharesec returns and exit status of 0\&. If 423 \FCsharesec\F[] 259 sharesec 424 260 couldn\'t connect to the specified server, or there was an error getting or setting the ACLs, an exit status of 1 is returned\&. If there was an error parsing any command line arguments, an exit status of 2 is returned\&. 425 261 .SH "EXAMPLES" … … 433 269 .RS 4 434 270 .\} 435 .fam C436 .ps -1437 271 .nf 438 .if t \{\439 .sp -1440 .\}441 .BB lightgray adjust-for-leading-newline442 .sp -1443 444 272 host:~ # sharesec share \-a S\-1\-5\-21\-1866488690\-1365729215\-3963860297\-17724:ALLOWED/0/FULL 445 273 446 .EB lightgray adjust-for-leading-newline447 .if t \{\448 .sp 1449 .\}450 274 .fi 451 .fam452 .ps +1453 275 .if n \{\ 454 276 .RE … … 461 283 .RS 4 462 284 .\} 463 .fam C464 .ps -1465 285 .nf 466 .if t \{\467 .sp -1468 .\}469 .BB lightgray adjust-for-leading-newline470 .sp -1471 472 286 host:~ # sharesec share \-v 473 287 REVISION:1 … … 477 291 ACL:S\-1\-5\-21\-1866488690\-1365729215\-3963860297\-17724:ALLOWED/0/FULL 478 292 479 .EB lightgray adjust-for-leading-newline480 .if t \{\481 .sp 1482 .\}483 293 .fi 484 .fam485 .ps +1486 294 .if n \{\ 487 295 .RE -
branches/samba-3.3.x/docs/manpages/smb.conf.5
r342 r368 1 '\" t 1 2 .\" Title: smb.conf 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: File Formats and Conventions 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMB\&.CONF" "5" "10/12/2009" "Samba 3\&.3" "File Formats and Conventions" 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 .. 10 .TH "SMB\&.CONF" "5" "01/14/2010" "Samba 3\&.3" "File Formats and Conventions" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smb.conf \- The configuration file for the Samba suite 171 23 .SH "SYNOPSIS" 172 24 .PP 173 25 The 174 \FCsmb\&.conf\F[] 26 smb\&.conf 175 27 file is a configuration file for the Samba suite\&. 176 \FCsmb\&.conf\F[] 28 smb\&.conf 177 29 contains runtime configuration information for the Samba programs\&. The 178 \FCsmb\&.conf\F[] 30 smb\&.conf 179 31 file is designed to be configured and administered by the 180 32 \fBswat\fR(8) … … 187 39 .RS 4 188 40 .\} 189 .fam C190 .ps -1191 41 .nf 192 .if t \{\193 .sp -1194 .\}195 .BB lightgray adjust-for-leading-newline196 .sp -1197 198 42 \fIname\fR = \fIvalue \fR 199 .EB lightgray adjust-for-leading-newline200 .if t \{\201 .sp 1202 .\}203 43 .fi 204 .fam205 .ps +1206 44 .if n \{\ 207 45 .RE … … 217 55 .PP 218 56 Any line ending in a 219 \(lq\ FC\e\F[]\(rq57 \(lq\e\(rq 220 58 is continued on the next line in the customary UNIX fashion\&. 221 59 .PP … … 240 78 .PP 241 79 Sections other than guest services will require a password to access them\&. The client provides the username\&. As older clients only provide passwords and not usernames, you may specify a list of usernames to check against the password using the 242 \FCuser =\F[] 80 user = 243 81 option in the share definition\&. For modern clients such as Windows 95/98/ME/NT/2000, this should not be necessary\&. 244 82 .PP … … 246 84 .PP 247 85 The following sample section defines a file space share\&. The user has write access to the path 248 \FC/home/bar\F[]\&. The share is accessed via the share name249 \FCfoo\F[]:86 /home/bar\&. The share is accessed via the share name 87 foo: 250 88 .sp 251 89 .if n \{\ 252 90 .RS 4 253 91 .\} 254 .fam C255 .ps -1256 92 .nf 257 .if t \{\258 .sp -1259 .\}260 .BB lightgray adjust-for-leading-newline261 .sp -1262 263 93 \fI[foo]\fR 264 94 \m[blue]\fBpath = /home/bar\fR\m[] 265 95 \m[blue]\fBread only = no\fR\m[] 266 .EB lightgray adjust-for-leading-newline267 .if t \{\268 .sp 1269 .\}270 96 .fi 271 .fam272 .ps +1273 97 .if n \{\ 274 98 .RE … … 282 106 .RS 4 283 107 .\} 284 .fam C285 .ps -1286 108 .nf 287 .if t \{\288 .sp -1289 .\}290 .BB lightgray adjust-for-leading-newline291 .sp -1292 293 109 \fI[aprinter]\fR 294 110 \m[blue]\fBpath = /usr/spool/public\fR\m[] … … 296 112 \m[blue]\fBprintable = yes\fR\m[] 297 113 \m[blue]\fBguest ok = yes\fR\m[] 298 .EB lightgray adjust-for-leading-newline299 .if t \{\300 .sp 1301 .\}302 114 .fi 303 .fam304 .ps +1305 115 .if n \{\ 306 116 .RE … … 349 159 .RS 4 350 160 .\} 351 .fam C352 .ps -1353 161 .nf 354 .if t \{\355 .sp -1356 .\}357 .BB lightgray adjust-for-leading-newline358 .sp -1359 360 162 \fBpath = /data/pchome/%S\fR 361 .EB lightgray adjust-for-leading-newline362 .if t \{\363 .sp 1364 .\}365 163 .fi 366 .fam367 .ps +1368 164 .if n \{\ 369 165 .RE … … 382 178 .RS 4 383 179 .\} 384 .fam C385 .ps -1386 180 .nf 387 .if t \{\388 .sp -1389 .\}390 .BB lightgray adjust-for-leading-newline391 .sp -1392 393 181 \fI[homes]\fR 394 182 \m[blue]\fBread only = no\fR\m[] 395 .EB lightgray adjust-for-leading-newline396 .if t \{\397 .sp 1398 .\}399 183 .fi 400 .fam401 .ps +1402 184 .if n \{\ 403 185 .RE … … 464 246 .RS 4 465 247 .\} 466 .fam C467 .ps -1468 248 .nf 469 .if t \{\470 .sp -1471 .\}472 .BB lightgray adjust-for-leading-newline473 .sp -1474 475 249 \fI[printers]\fR 476 250 \m[blue]\fBpath = /usr/spool/public\fR\m[] 477 251 \m[blue]\fBguest ok = yes\fR\m[] 478 252 \m[blue]\fBprintable = yes\fR\m[] 479 .EB lightgray adjust-for-leading-newline480 .if t \{\481 .sp 1482 .\}483 253 .fi 484 .fam485 .ps +1486 254 .if n \{\ 487 255 .RE … … 493 261 .RS 4 494 262 .\} 495 .fam C496 .ps -1497 263 .nf 498 .if t \{\499 .sp -1500 .\}501 .BB lightgray adjust-for-leading-newline502 .sp -1503 504 264 alias|alias|alias|alias\&.\&.\&. 505 .EB lightgray adjust-for-leading-newline506 .if t \{\507 .sp 1508 .\}509 265 .fi 510 .fam511 .ps +1512 266 .if n \{\ 513 267 .RE … … 516 270 Each alias should be an acceptable printer name for your printing subsystem\&. In the [global] section, specify the new file as your printcap\&. The server will only recognize names found in your pseudo\-printcap, which of course can contain whatever aliases you like\&. The same technique could be used simply to limit access to a subset of your local printers\&. 517 271 .PP 518 An alias, by the way, is defined as any component of the first entry of a printcap record\&. Records are separated by newlines, components (if there are more than one) are separated by vertical bar symbols ( \FC|\F[])\&.272 An alias, by the way, is defined as any component of the first entry of a printcap record\&. Records are separated by newlines, components (if there are more than one) are separated by vertical bar symbols (|)\&. 519 273 .if n \{\ 520 274 .sp 521 275 .\} 522 276 .RS 4 523 .BM yellow524 277 .it 1 an-trap 525 278 .nr an-no-space-flag 1 … … 532 285 .PP 533 286 On SYSV systems which use lpstat to determine what printers are defined on the system you may be able to use 534 \FCprintcap name = lpstat\F[] 287 printcap name = lpstat 535 288 to automatically obtain a list of printers\&. See the 536 \FCprintcap name\F[] 289 printcap name 537 290 option for more details\&. 538 291 .sp .5v 539 .EM yellow540 292 .RE 541 293 .SH "USERSHARES" … … 581 333 .PP 582 334 To allow members of the UNIX group 583 \FCfoo\F[] 335 foo 584 336 to create user defined shares, create the directory to contain the share definitions as follows: 585 337 .PP … … 589 341 .RS 4 590 342 .\} 591 .fam C592 .ps -1593 343 .nf 594 .if t \{\595 .sp -1596 .\}597 .BB lightgray adjust-for-leading-newline598 .sp -1599 600 344 mkdir /usr/local/samba/lib/usershares 601 345 chgrp foo /usr/local/samba/lib/usershares 602 346 chmod 1770 /usr/local/samba/lib/usershares 603 .EB lightgray adjust-for-leading-newline604 .if t \{\605 .sp 1606 .\}607 347 .fi 608 .fam609 .ps +1610 348 .if n \{\ 611 349 .RE … … 617 355 .RS 4 618 356 .\} 619 .fam C620 .ps -1621 357 .nf 622 .if t \{\623 .sp -1624 .\}625 .BB lightgray adjust-for-leading-newline626 .sp -1627 628 358 \m[blue]\fBusershare path = /usr/local/samba/lib/usershares\fR\m[] 629 359 \m[blue]\fBusershare max shares = 10\fR\m[] # (or the desired number of shares) 630 .EB lightgray adjust-for-leading-newline631 .if t \{\632 .sp 1633 .\}634 360 .fi 635 .fam636 .ps +1637 361 .if n \{\ 638 362 .RE … … 640 364 .sp 641 365 to the global section of your 642 \FCsmb\&.conf\F[]\&. Members of the group foo may then manipulate the user defined shares using the following commands\&.366 smb\&.conf\&. Members of the group foo may then manipulate the user defined shares using the following commands\&. 643 367 .PP 644 368 net usershare add sharename path [comment] [acl] [guest_ok=[y|n]] … … 804 528 .RS 4 805 529 the path of the service\'s home directory, obtained from your NIS auto\&.map entry\&. The NIS auto\&.map entry is split up as 806 \FC%N:%p\F[]\&.530 %N:%p\&. 807 531 .RE 808 532 .PP 809 533 There are some quite creative things that can be done with these substitutions and other 810 \FCsmb\&.conf\F[] 534 smb\&.conf 811 535 options\&. 812 536 .SH "NAME MANGLING" 813 537 .PP 814 538 Samba supports 815 \FCname mangling\F[] 539 name mangling 816 540 so that DOS and Windows clients can use files that don\'t conform to the 8\&.3 format\&. It can also be set to adjust the case of 8\&.3 format filenames\&. 817 541 .PP … … 843 567 .RS 4 844 568 controls whether new files (ie\&. files that don\'t currently exist in the filesystem) are created with the case that the client passes, or if they are forced to be the 845 \FCdefault\F[] 569 default 846 570 case\&. Default 847 571 \fIyes\fR\&. … … 851 575 .RS 4 852 576 controls if new files (ie\&. files that don\'t currently exist in the filesystem) which conform to 8\&.3 syntax, that is all in upper case and of suitable length, are created upper case, or if they are forced to be the 853 \FCdefault\F[] 577 default 854 578 case\&. This option can be used with 855 \FCpreserve case = yes\F[] 579 preserve case = yes 856 580 to permit long filenames to retain their case, while short names are lowercased\&. Default 857 581 \fIyes\fR\&. … … 876 600 .\} 877 601 If the client has passed a username/password pair and that username/password pair is validated by the UNIX system\'s password programs, the connection is made as that username\&. This includes the 878 \ FC\e\eserver\eservice\F[]%\fIusername\fR602 \e\eserver\eservice%\fIusername\fR 879 603 method of passing a username\&. 880 604 .RE … … 922 646 .\} 923 647 If a 924 \FCuser = \F[] 648 user = 925 649 field is given in the 926 \FCsmb\&.conf\F[] 650 smb\&.conf 927 651 file for the service and the client has supplied a password, and that password matches (according to the UNIX system\'s password checking) with one of the usernames from the 928 \FCuser =\F[] 652 user = 929 653 field, the connection is made as the username in the 930 \FCuser =\F[] 654 user = 931 655 line\&. If one of the usernames in the 932 \FCuser =\F[] 656 user = 933 657 list begins with a 934 \FC@\F[], that name expands to a list of names in the group of the same name\&.658 @, that name expands to a list of names in the group of the same name\&. 935 659 .RE 936 660 .sp … … 944 668 .\} 945 669 If the service is a guest service, a connection is made as the username given in the 946 \FCguest account =\F[] 670 guest account = 947 671 for the service, irrespective of the supplied password\&. 948 672 .RE … … 950 674 .PP 951 675 Starting with Samba version 3\&.2\&.0, the capability to store Samba configuration in the registry is available\&. The configuration is stored in the registry key 952 \fI \FCHKLM\eSoftware\eSamba\esmbconf\F[]\fR\&. There are two levels of registry configuration:676 \fIHKLM\eSoftware\eSamba\esmbconf\fR\&. There are two levels of registry configuration: 953 677 .sp 954 678 .RS 4 … … 1013 737 \fInet (rpc) registry\fR 1014 738 in the key 1015 \fI \FCHKLM\eSoftware\eSamba\esmbconf\F[]\fR\&. More conveniently, the739 \fIHKLM\eSoftware\eSamba\esmbconf\fR\&. More conveniently, the 1016 740 \fIconf\fR 1017 741 subcommand of the … … 1034 758 .sp 1035 759 Default: 1036 \fI\fIabort shutdown script\fR\fR\fI = \fR\fI \FC""\F[]\fR\fI \fR1037 .sp 1038 Example: 1039 \fI\fIabort shutdown script\fR\fR\fI = \fR\fI \FC/sbin/shutdown \-c\F[]\fR\fI \fR760 \fI\fIabort shutdown script\fR\fR\fI = \fR\fI""\fR\fI \fR 761 .sp 762 Example: 763 \fI\fIabort shutdown script\fR\fR\fI = \fR\fI/sbin/shutdown \-c\fR\fI \fR 1040 764 .RE 1041 765 … … 1050 774 .sp 1051 775 Default: 1052 \fI\fIacl check permissions\fR\fR\fI = \fR\fI \FCTrue\F[]\fR\fI \fR776 \fI\fIacl check permissions\fR\fR\fI = \fR\fITrue\fR\fI \fR 1053 777 .RE 1054 778 … … 1066 790 .sp 1067 791 Default: 1068 \fI\fIacl compatibility\fR\fR\fI = \fR\fI \FCAuto\F[]\fR\fI \fR1069 .sp 1070 Example: 1071 \fI\fIacl compatibility\fR\fR\fI = \fR\fI \FCwin2k\F[]\fR\fI \fR792 \fI\fIacl compatibility\fR\fR\fI = \fR\fIAuto\fR\fI \fR 793 .sp 794 Example: 795 \fI\fIacl compatibility\fR\fR\fI = \fR\fIwin2k\fR\fI \fR 1072 796 .RE 1073 797 … … 1095 819 .sp 1096 820 Default: 1097 \fI\fIacl group control\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR821 \fI\fIacl group control\fR\fR\fI = \fR\fIno\fR\fI \fR 1098 822 .RE 1099 823 … … 1106 830 .sp 1107 831 Default: 1108 \fI\fIacl map full control\fR\fR\fI = \fR\fI \FCTrue\F[]\fR\fI \fR832 \fI\fIacl map full control\fR\fR\fI = \fR\fITrue\fR\fI \fR 1109 833 .RE 1110 834 … … 1122 846 .sp 1123 847 Default: 1124 \fI\fIadd group script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1125 .sp 1126 Example: 1127 \fI\fIadd group script\fR\fR\fI = \fR\fI \FC/usr/sbin/groupadd %g\F[]\fR\fI \fR848 \fI\fIadd group script\fR\fR\fI = \fR\fI\fR\fI \fR 849 .sp 850 Example: 851 \fI\fIadd group script\fR\fR\fI = \fR\fI/usr/sbin/groupadd %g\fR\fI \fR 1128 852 .RE 1129 853 … … 1140 864 .sp 1141 865 Default: 1142 \fI\fIadd machine script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1143 .sp 1144 Example: 1145 \fI\fIadd machine script\fR\fR\fI = \fR\fI \FC/usr/sbin/adduser \-n \-g machines \-c Machine \-d /var/lib/nobody \-s /bin/false %u\F[]\fR\fI \fR866 \fI\fIadd machine script\fR\fR\fI = \fR\fI\fR\fI \fR 867 .sp 868 Example: 869 \fI\fIadd machine script\fR\fR\fI = \fR\fI/usr/sbin/adduser \-n \-g machines \-c Machine \-d /var/lib/nobody \-s /bin/false %u\fR\fI \fR 1146 870 .RE 1147 871 … … 1177 901 .sp 1178 902 Default: 1179 \fI\fIadd port command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1180 .sp 1181 Example: 1182 \fI\fIadd port command\fR\fR\fI = \fR\fI \FC/etc/samba/scripts/addport\&.sh\F[]\fR\fI \fR903 \fI\fIadd port command\fR\fR\fI = \fR\fI\fR\fI \fR 904 .sp 905 Example: 906 \fI\fIadd port command\fR\fR\fI = \fR\fI/etc/samba/scripts/addport\&.sh\fR\fI \fR 1183 907 .RE 1184 908 … … 1192 916 \fIaddprinter command\fR 1193 917 defines a script to be run which will perform the necessary operations for adding the printer to the print system and to add the appropriate service definition to the 1194 \FCsmb\&.conf\F[] 918 smb\&.conf 1195 919 file in order that it can be shared by 1196 920 \fBsmbd\fR(8)\&. … … 1271 995 \fIaddprinter command\fR 1272 996 has been executed, 1273 \FCsmbd\F[] 997 smbd 1274 998 will reparse the 1275 \FC smb\&.conf\F[] 999 smb\&.conf 1276 1000 to determine if the share defined by the APW exists\&. If the sharename is still invalid, then 1277 \FCsmbd \F[] 1001 smbd 1278 1002 will return an ACCESS_DENIED error to the client\&. 1279 1003 .sp … … 1283 1007 .sp 1284 1008 Default: 1285 \fI\fIaddprinter command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1286 .sp 1287 Example: 1288 \fI\fIaddprinter command\fR\fR\fI = \fR\fI \FC/usr/bin/addprinter\F[]\fR\fI \fR1009 \fI\fIaddprinter command\fR\fR\fI = \fR\fI\fR\fI \fR 1010 .sp 1011 Example: 1012 \fI\fIaddprinter command\fR\fR\fI = \fR\fI/usr/bin/addprinter\fR\fI \fR 1289 1013 .RE 1290 1014 … … 1296 1020 \fIadd share command\fR 1297 1021 is used to define an external program or script which will add a new service definition to 1298 \FCsmb\&.conf\F[]\&.1022 smb\&.conf\&. 1299 1023 .sp 1300 1024 In order to successfully execute the 1301 1025 \fIadd share command\fR, 1302 \FCsmbd\F[] 1026 smbd 1303 1027 requires that the administrator connects using a root account (i\&.e\&. uid == 0) or has the 1304 \FCSeDiskOperatorPrivilege\F[]\&. Scripts defined in the1028 SeDiskOperatorPrivilege\&. Scripts defined in the 1305 1029 \fIadd share command\fR 1306 1030 parameter are executed as root\&. 1307 1031 .sp 1308 1032 When executed, 1309 \FCsmbd\F[] 1033 smbd 1310 1034 will automatically invoke the 1311 1035 \fIadd share command\fR … … 1322 1046 \fIconfigFile\fR 1323 1047 \- the location of the global 1324 \FCsmb\&.conf\F[] 1048 smb\&.conf 1325 1049 file\&. 1326 1050 .RE … … 1378 1102 .sp 1379 1103 Default: 1380 \fI\fIadd share command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1381 .sp 1382 Example: 1383 \fI\fIadd share command\fR\fR\fI = \fR\fI \FC/usr/local/bin/addshare\F[]\fR\fI \fR1104 \fI\fIadd share command\fR\fR\fI = \fR\fI\fR\fI \fR 1105 .sp 1106 Example: 1107 \fI\fIadd share command\fR\fR\fI = \fR\fI/usr/local/bin/addshare\fR\fI \fR 1384 1108 .RE 1385 1109 … … 1414 1138 \m[blue]\fBpassword server\fR\m[] 1415 1139 and attempts to authenticate the given user with the given password\&. If the authentication succeeds then 1416 \FCsmbd\F[] 1140 smbd 1417 1141 attempts to find a UNIX user in the UNIX password database to map the Windows user into\&. If this lookup fails, and 1418 1142 \m[blue]\fBadd user script\fR\m[] 1419 1143 is set then 1420 \FCsmbd\F[] 1144 smbd 1421 1145 will call the specified script 1422 1146 \fIAS ROOT\fR, expanding any … … 1425 1149 .sp 1426 1150 If this script successfully creates the user then 1427 \FCsmbd\F[] 1151 smbd 1428 1152 will continue on as though the UNIX user already existed\&. In this way, UNIX users are dynamically created to match existing Windows NT accounts\&. 1429 1153 .sp … … 1434 1158 .sp 1435 1159 Default: 1436 \fI\fIadd user script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1437 .sp 1438 Example: 1439 \fI\fIadd user script\fR\fR\fI = \fR\fI \FC/usr/local/samba/bin/add_user %u\F[]\fR\fI \fR1160 \fI\fIadd user script\fR\fR\fI = \fR\fI\fR\fI \fR 1161 .sp 1162 Example: 1163 \fI\fIadd user script\fR\fR\fI = \fR\fI/usr/local/samba/bin/add_user %u\fR\fI \fR 1440 1164 .RE 1441 1165 … … 1453 1177 .sp 1454 1178 Note that the 1455 \FCadduser\F[] 1179 adduser 1456 1180 command used in the example below does not support the used syntax on all systems\&. 1457 1181 .sp 1458 1182 Default: 1459 \fI\fIadd user to group script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1460 .sp 1461 Example: 1462 \fI\fIadd user to group script\fR\fR\fI = \fR\fI \FC/usr/sbin/adduser %u %g\F[]\fR\fI \fR1183 \fI\fIadd user to group script\fR\fR\fI = \fR\fI\fR\fI \fR 1184 .sp 1185 Example: 1186 \fI\fIadd user to group script\fR\fR\fI = \fR\fI/usr/sbin/adduser %u %g\fR\fI \fR 1463 1187 .RE 1464 1188 … … 1476 1200 .sp 1477 1201 Default: 1478 \fI\fIadministrative share\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1202 \fI\fIadministrative share\fR\fR\fI = \fR\fIno\fR\fI \fR 1479 1203 .RE 1480 1204 … … 1492 1216 .sp 1493 1217 Default: 1494 \fI\fIadmin users\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1495 .sp 1496 Example: 1497 \fI\fIadmin users\fR\fR\fI = \fR\fI \FCjason\F[]\fR\fI \fR1218 \fI\fIadmin users\fR\fR\fI = \fR\fI\fR\fI \fR 1219 .sp 1220 Example: 1221 \fI\fIadmin users\fR\fR\fI = \fR\fIjason\fR\fI \fR 1498 1222 .RE 1499 1223 … … 1507 1231 .sp 1508 1232 Default: 1509 \fI\fIafs share\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1233 \fI\fIafs share\fR\fR\fI = \fR\fIno\fR\fI \fR 1510 1234 .RE 1511 1235 … … 1519 1243 .sp 1520 1244 Default: 1521 \fI\fIafs username map\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1522 .sp 1523 Example: 1524 \fI\fIafs username map\fR\fR\fI = \fR\fI \FC%u@afs\&.samba\&.org\F[]\fR\fI \fR1245 \fI\fIafs username map\fR\fR\fI = \fR\fI\fR\fI \fR 1246 .sp 1247 Example: 1248 \fI\fIafs username map\fR\fR\fI = \fR\fI%u@afs\&.samba\&.org\fR\fI \fR 1525 1249 .RE 1526 1250 … … 1540 1264 .sp 1541 1265 Default: 1542 \fI\fIaio read size\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR 1543 .sp 1544 Example: 1545 \fI\fIaio read size\fR\fR\fI = \fR\fI\FC16384 # Use asynchronous I/O for reads bigger than 16KB request size\F[]\fR\fI \fR 1266 \fI\fIaio read size\fR\fR\fI = \fR\fI0\fR\fI \fR 1267 .sp 1268 Example: 1269 \fI\fIaio read size\fR\fR\fI = \fR\fI16384 # Use asynchronous I/O for reads bigger than 16KB request size\fR\fI \fR 1270 .RE 1271 1272 aio write behind (S) 1273 .\" aio write behind 1274 .PP 1275 .RS 4 1276 If Samba has been built with asynchronous I/O support, Samba will not wait until write requests are finished before returning the result to the client for files listed in this parameter\&. Instead, Samba will immediately return that the write request has been finished successfully, no matter if the operation will succeed or not\&. This might speed up clients without aio support, but is really dangerous, because data could be lost and files could be damaged\&. 1277 .sp 1278 The syntax is identical to the 1279 \m[blue]\fBveto files\fR\m[] 1280 parameter\&. 1281 .sp 1282 Default: 1283 \fI\fIaio write behind\fR\fR\fI = \fR\fI\fR\fI \fR 1284 .sp 1285 Example: 1286 \fI\fIaio write behind\fR\fR\fI = \fR\fI/*\&.tmp/\fR\fI \fR 1546 1287 .RE 1547 1288 … … 1561 1302 .sp 1562 1303 Default: 1563 \fI\fIaio write size\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR1564 .sp 1565 Example: 1566 \fI\fIaio write size\fR\fR\fI = \fR\fI \FC16384 # Use asynchronous I/O for writes bigger than 16KB request size\F[]\fR\fI \fR1304 \fI\fIaio write size\fR\fR\fI = \fR\fI0\fR\fI \fR 1305 .sp 1306 Example: 1307 \fI\fIaio write size\fR\fR\fI = \fR\fI16384 # Use asynchronous I/O for writes bigger than 16KB request size\fR\fI \fR 1567 1308 .RE 1568 1309 … … 1578 1319 .sp 1579 1320 Default: 1580 \fI\fIalgorithmic rid base\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR1581 .sp 1582 Example: 1583 \fI\fIalgorithmic rid base\fR\fR\fI = \fR\fI \FC100000\F[]\fR\fI \fR1321 \fI\fIalgorithmic rid base\fR\fR\fI = \fR\fI1000\fR\fI \fR 1322 .sp 1323 Example: 1324 \fI\fIalgorithmic rid base\fR\fR\fI = \fR\fI100000\fR\fI \fR 1584 1325 .RE 1585 1326 … … 1593 1334 .sp 1594 1335 Default: 1595 \fI\fIallocation roundup size\fR\fR\fI = \fR\fI \FC1048576\F[]\fR\fI \fR1596 .sp 1597 Example: 1598 \fI\fIallocation roundup size\fR\fR\fI = \fR\fI \FC0 # (to disable roundups)\F[]\fR\fI \fR1336 \fI\fIallocation roundup size\fR\fR\fI = \fR\fI1048576\fR\fI \fR 1337 .sp 1338 Example: 1339 \fI\fIallocation roundup size\fR\fR\fI = \fR\fI0 # (to disable roundups)\fR\fI \fR 1599 1340 .RE 1600 1341 … … 1614 1355 .sp 1615 1356 Default: 1616 \fI\fIallow trusted domains\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1357 \fI\fIallow trusted domains\fR\fR\fI = \fR\fIyes\fR\fI \fR 1617 1358 .RE 1618 1359 … … 1626 1367 .sp 1627 1368 Default: 1628 \fI\fIannounce as\fR\fR\fI = \fR\fI \FCNT Server\F[]\fR\fI \fR1629 .sp 1630 Example: 1631 \fI\fIannounce as\fR\fR\fI = \fR\fI \FCWin95\F[]\fR\fI \fR1369 \fI\fIannounce as\fR\fR\fI = \fR\fINT Server\fR\fI \fR 1370 .sp 1371 Example: 1372 \fI\fIannounce as\fR\fR\fI = \fR\fIWin95\fR\fI \fR 1632 1373 .RE 1633 1374 … … 1639 1380 .sp 1640 1381 Default: 1641 \fI\fIannounce version\fR\fR\fI = \fR\fI \FC4\&.9\F[]\fR\fI \fR1642 .sp 1643 Example: 1644 \fI\fIannounce version\fR\fR\fI = \fR\fI \FC2\&.0\F[]\fR\fI \fR1382 \fI\fIannounce version\fR\fR\fI = \fR\fI4\&.9\fR\fI \fR 1383 .sp 1384 Example: 1385 \fI\fIannounce version\fR\fR\fI = \fR\fI2\&.0\fR\fI \fR 1645 1386 .RE 1646 1387 … … 1650 1391 .RS 4 1651 1392 This option allows the administrator to chose what authentication methods 1652 \FCsmbd\F[] 1393 smbd 1653 1394 will use when authenticating a user\&. This option defaults to sensible values based on 1654 1395 \m[blue]\fBsecurity\fR\m[]\&. This should be considered a developer option and used only in rare circumstances\&. In the majority (if not all) of production servers, the default setting should be adequate\&. … … 1669 1410 .sp 1670 1411 Default: 1671 \fI\fIauth methods\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1672 .sp 1673 Example: 1674 \fI\fIauth methods\fR\fR\fI = \fR\fI \FCguest sam winbind\F[]\fR\fI \fR1412 \fI\fIauth methods\fR\fR\fI = \fR\fI\fR\fI \fR 1413 .sp 1414 Example: 1415 \fI\fIauth methods\fR\fR\fI = \fR\fIguest sam winbind\fR\fI \fR 1675 1416 .RE 1676 1417 … … 1685 1426 .sp 1686 1427 Default: 1687 \fI\fIavailable\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1428 \fI\fIavailable\fR\fR\fI = \fR\fIyes\fR\fI \fR 1688 1429 .RE 1689 1430 … … 1699 1440 .sp 1700 1441 For name service it causes 1701 \FCnmbd\F[] 1442 nmbd 1702 1443 to bind to ports 137 and 138 on the interfaces listed in the 1703 1444 \m[blue]\fBinterfaces\fR\m[] 1704 1445 parameter\&. 1705 \FCnmbd\F[] 1446 nmbd 1706 1447 also binds to the "all addresses" interface (0\&.0\&.0\&.0) on ports 137 and 138 for the purposes of reading broadcast messages\&. If this option is not set then 1707 \FCnmbd\F[] 1448 nmbd 1708 1449 will service name requests on all of these sockets\&. If 1709 1450 \m[blue]\fBbind interfaces only\fR\m[] 1710 1451 is set then 1711 \FCnmbd\F[] 1452 nmbd 1712 1453 will check the source address of any packets coming in on the broadcast sockets and discard any that don\'t match the broadcast addresses of the interfaces in the 1713 1454 \m[blue]\fBinterfaces\fR\m[] 1714 1455 parameter list\&. As unicast packets are received on the other sockets it allows 1715 \FCnmbd\F[] 1456 nmbd 1716 1457 to refuse to serve names to machines that send packets that arrive through any interfaces not listed in the 1717 1458 \m[blue]\fBinterfaces\fR\m[] 1718 1459 list\&. IP Source address spoofing does defeat this simple check, however, so it must not be used seriously as a security feature for 1719 \FCnmbd\F[]\&.1460 nmbd\&. 1720 1461 .sp 1721 1462 For file service it causes … … 1724 1465 \m[blue]\fBinterfaces\fR\m[] 1725 1466 parameter\&. This restricts the networks that 1726 \FCsmbd\F[] 1467 smbd 1727 1468 will serve, to packets coming in on those interfaces\&. Note that you should not use this parameter for machines that are serving PPP or other intermittent or non\-broadcast network interfaces as it will not cope with non\-permanent interfaces\&. 1728 1469 .sp … … 1740 1481 .sp 1741 1482 To change a users SMB password, the 1742 \FCsmbpasswd\F[] 1483 smbpasswd 1743 1484 by default connects to the 1744 1485 \fIlocalhost \- 127\&.0\&.0\&.1\fR … … 1750 1491 \m[blue]\fBinterfaces\fR\m[] 1751 1492 parameter list then 1752 \FC smbpasswd\F[] 1493 smbpasswd 1753 1494 will fail to connect in it\'s default mode\&. 1754 \FCsmbpasswd\F[] 1495 smbpasswd 1755 1496 can be forced to use the primary IP interface of the local host by using its 1756 1497 \fBsmbpasswd\fR(8) … … 1761 1502 .sp 1762 1503 The 1763 \FCswat\F[] 1504 swat 1764 1505 status page tries to connect with 1765 \FCsmbd\F[] 1506 smbd 1766 1507 and 1767 \FCnmbd\F[] 1508 nmbd 1768 1509 at the address 1769 1510 \fI127\&.0\&.0\&.1\fR … … 1771 1512 \fI127\&.0\&.0\&.1\fR 1772 1513 will cause 1773 \FC smbd\F[] 1514 smbd 1774 1515 and 1775 \FCnmbd\F[] 1516 nmbd 1776 1517 to always show "not running" even if they really are\&. This can prevent 1777 \FC swat\F[] 1518 swat 1778 1519 from starting/stopping/restarting 1779 \FCsmbd\F[] 1520 smbd 1780 1521 and 1781 \FCnmbd\F[]\&.1782 .sp 1783 Default: 1784 \fI\fIbind interfaces only\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1522 nmbd\&. 1523 .sp 1524 Default: 1525 \fI\fIbind interfaces only\fR\fR\fI = \fR\fIno\fR\fI \fR 1785 1526 .RE 1786 1527 … … 1799 1540 .sp 1800 1541 Default: 1801 \fI\fIblocking locks\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1542 \fI\fIblocking locks\fR\fR\fI = \fR\fIyes\fR\fI \fR 1802 1543 .RE 1803 1544 … … 1815 1556 .sp 1816 1557 Default: 1817 \fI\fIblock size\fR\fR\fI = \fR\fI \FC1024\F[]\fR\fI \fR1818 .sp 1819 Example: 1820 \fI\fIblock size\fR\fR\fI = \fR\fI \FC4096\F[]\fR\fI \fR1558 \fI\fIblock size\fR\fR\fI = \fR\fI1024\fR\fI \fR 1559 .sp 1560 Example: 1561 \fI\fIblock size\fR\fR\fI = \fR\fI4096\fR\fI \fR 1821 1562 .RE 1822 1563 … … 1836 1577 .sp 1837 1578 Default: 1838 \fI\fIbrowseable\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1579 \fI\fIbrowseable\fR\fR\fI = \fR\fIyes\fR\fI \fR 1839 1580 .RE 1840 1581 … … 1846 1587 \fBsmbd\fR(8) 1847 1588 will serve a browse list to a client doing a 1848 \FCNetServerEnum\F[] 1589 NetServerEnum 1849 1590 call\&. Normally set to 1850 1591 \fByes\fR\&. You should never need to change this\&. 1851 1592 .sp 1852 1593 Default: 1853 \fI\fIbrowse list\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1594 \fI\fIbrowse list\fR\fR\fI = \fR\fIyes\fR\fI \fR 1854 1595 .RE 1855 1596 … … 1870 1611 .sp 1871 1612 Default: 1872 \fI\fIcase sensitive\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1613 \fI\fIcase sensitive\fR\fR\fI = \fR\fIno\fR\fI \fR 1873 1614 .RE 1874 1615 … … 1882 1623 .sp 1883 1624 Default: 1884 \fI\fIchange notify\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1625 \fI\fIchange notify\fR\fR\fI = \fR\fIyes\fR\fI \fR 1885 1626 .RE 1886 1627 … … 1892 1633 \fIchange share command\fR 1893 1634 is used to define an external program or script which will modify an existing service definition in 1894 \FCsmb\&.conf\F[]\&.1635 smb\&.conf\&. 1895 1636 .sp 1896 1637 In order to successfully execute the 1897 1638 \fIchange share command\fR, 1898 \FCsmbd\F[] 1639 smbd 1899 1640 requires that the administrator connects using a root account (i\&.e\&. uid == 0) or has the 1900 \FCSeDiskOperatorPrivilege\F[]\&. Scripts defined in the1641 SeDiskOperatorPrivilege\&. Scripts defined in the 1901 1642 \fIchange share command\fR 1902 1643 parameter are executed as root\&. 1903 1644 .sp 1904 1645 When executed, 1905 \FCsmbd\F[] 1646 smbd 1906 1647 will automatically invoke the 1907 1648 \fIchange share command\fR … … 1918 1659 \fIconfigFile\fR 1919 1660 \- the location of the global 1920 \FCsmb\&.conf\F[] 1661 smb\&.conf 1921 1662 file\&. 1922 1663 .RE … … 1973 1714 .sp 1974 1715 Default: 1975 \fI\fIchange share command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR1976 .sp 1977 Example: 1978 \fI\fIchange share command\fR\fR\fI = \fR\fI \FC/usr/local/bin/changeshare\F[]\fR\fI \fR1716 \fI\fIchange share command\fR\fR\fI = \fR\fI\fR\fI \fR 1717 .sp 1718 Example: 1719 \fI\fIchange share command\fR\fR\fI = \fR\fI/usr/local/bin/changeshare\fR\fI \fR 1979 1720 .RE 1980 1721 … … 1988 1729 .sp 1989 1730 Note: In the example directory is a sample program called 1990 \FCcrackcheck\F[] 1731 crackcheck 1991 1732 that uses cracklib to check the password quality\&. 1992 1733 .sp 1993 1734 Default: 1994 \fI\fIcheck password script\fR\fR\fI = \fR\fI \FCDisabled\F[]\fR\fI \fR1995 .sp 1996 Example: 1997 \fI\fIcheck password script\fR\fR\fI = \fR\fI \FC/usr/local/sbin/crackcheck\F[]\fR\fI \fR1735 \fI\fIcheck password script\fR\fR\fI = \fR\fIDisabled\fR\fI \fR 1736 .sp 1737 Example: 1738 \fI\fIcheck password script\fR\fR\fI = \fR\fI/usr/local/sbin/crackcheck\fR\fI \fR 1998 1739 .RE 1999 1740 … … 2009 1750 .sp 2010 1751 Disabling this option will also disable the 2011 \FCclient plaintext auth\F[] 1752 client plaintext auth 2012 1753 option\&. 2013 1754 .sp 2014 1755 Likewise, if the 2015 \FCclient ntlmv2 auth\F[] 1756 client ntlmv2 auth 2016 1757 parameter is enabled, then only NTLMv2 logins will be attempted\&. 2017 1758 .sp 2018 1759 Default: 2019 \fI\fIclient lanman auth\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1760 \fI\fIclient lanman auth\fR\fR\fI = \fR\fIno\fR\fI \fR 2020 1761 .RE 2021 1762 … … 2038 1779 are only available if Samba has been compiled against a modern OpenLDAP version (2\&.3\&.x or higher)\&. 2039 1780 .sp 2040 This option is needed in the case of Domain Controllers enforcing the usage of signed LDAP connections (e\&.g\&. Windows 2000 SP3 or higher)\&. LDAP sign and seal can be controlled with the registry key " \FCHKLM\eSystem\eCurrentControlSet\eServices\e\F[]2041 \FCNTDS\eParameters\eLDAPServerIntegrity\F[]" on the Windows server side\&.1781 This option is needed in the case of Domain Controllers enforcing the usage of signed LDAP connections (e\&.g\&. Windows 2000 SP3 or higher)\&. LDAP sign and seal can be controlled with the registry key "HKLM\eSystem\eCurrentControlSet\eServices\e 1782 NTDS\eParameters\eLDAPServerIntegrity" on the Windows server side\&. 2042 1783 .sp 2043 1784 Depending on the used KRB5 library (MIT and older Heimdal versions) it is possible that the message "integrity only" is not supported\&. In this case, … … 2054 1795 .sp 2055 1796 Default: 2056 \fI\fIclient ldap sasl wrapping\fR\fR\fI = \fR\fI \FCplain\F[]\fR\fI \fR1797 \fI\fIclient ldap sasl wrapping\fR\fR\fI = \fR\fIplain\fR\fI \fR 2057 1798 .RE 2058 1799 … … 2068 1809 .sp 2069 1810 Similarly, if enabled, NTLMv1, 2070 \FCclient lanman auth\F[] 1811 client lanman auth 2071 1812 and 2072 \FCclient plaintext auth\F[] 1813 client plaintext auth 2073 1814 authentication will be disabled\&. This also disables share\-level authentication\&. 2074 1815 .sp 2075 1816 If disabled, an NTLM response (and possibly a LANMAN response) will be sent by the client, depending on the value of 2076 \FCclient lanman auth\F[]\&.1817 client lanman auth\&. 2077 1818 .sp 2078 1819 Note that some sites (particularly those following \'best practice\' security polices) only allow NTLMv2 responses, and not the weaker LM or NTLM\&. 2079 1820 .sp 2080 1821 Default: 2081 \fI\fIclient ntlmv2 auth\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1822 \fI\fIclient ntlmv2 auth\fR\fR\fI = \fR\fIno\fR\fI \fR 2082 1823 .RE 2083 1824 … … 2089 1830 .sp 2090 1831 Default: 2091 \fI\fIclient plaintext auth\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1832 \fI\fIclient plaintext auth\fR\fR\fI = \fR\fIno\fR\fI \fR 2092 1833 .RE 2093 1834 … … 2105 1846 .sp 2106 1847 Default: 2107 \fI\fIclient schannel\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR2108 .sp 2109 Example: 2110 \fI\fIclient schannel\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1848 \fI\fIclient schannel\fR\fR\fI = \fR\fIauto\fR\fI \fR 1849 .sp 1850 Example: 1851 \fI\fIclient schannel\fR\fR\fI = \fR\fIyes\fR\fI \fR 2111 1852 .RE 2112 1853 … … 2124 1865 .sp 2125 1866 Default: 2126 \fI\fIclient signing\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR1867 \fI\fIclient signing\fR\fR\fI = \fR\fIauto\fR\fI \fR 2127 1868 .RE 2128 1869 … … 2134 1875 .sp 2135 1876 Default: 2136 \fI\fIclient use spnego\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR1877 \fI\fIclient use spnego\fR\fR\fI = \fR\fIyes\fR\fI \fR 2137 1878 .RE 2138 1879 … … 2144 1885 .sp 2145 1886 Default: 2146 \fI\fIcluster addresses\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2147 .sp 2148 Example: 2149 \fI\fIcluster addresses\fR\fR\fI = \fR\fI \FC10\&.0\&.0\&.1 10\&.0\&.0\&.2 10\&.0\&.0\&.3\F[]\fR\fI \fR1887 \fI\fIcluster addresses\fR\fR\fI = \fR\fI\fR\fI \fR 1888 .sp 1889 Example: 1890 \fI\fIcluster addresses\fR\fR\fI = \fR\fI10\&.0\&.0\&.1 10\&.0\&.0\&.2 10\&.0\&.0\&.3\fR\fI \fR 2150 1891 .RE 2151 1892 … … 2157 1898 .sp 2158 1899 Set this parameter to 2159 \FCyes\F[] 1900 yes 2160 1901 only if you have a cluster setup with ctdb running\&. 2161 1902 .sp 2162 1903 Default: 2163 \fI\fIclustering\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR1904 \fI\fIclustering\fR\fR\fI = \fR\fIno\fR\fI \fR 2164 1905 .RE 2165 1906 … … 2169 1910 .RS 4 2170 1911 This is a text field that is seen next to a share when a client does a queries the server, either via the network neighborhood or via 2171 \FCnet view\F[] 1912 net view 2172 1913 to list what shares are available\&. 2173 1914 .sp … … 2177 1918 .sp 2178 1919 Default: 2179 \fI\fIcomment\fR\fR\fI = \fR\fI \FC # No comment\F[]\fR\fI \fR2180 .sp 2181 Example: 2182 \fI\fIcomment\fR\fR\fI = \fR\fI \FCFred\'s Files\F[]\fR\fI \fR1920 \fI\fIcomment\fR\fR\fI = \fR\fI # No comment\fR\fI \fR 1921 .sp 1922 Example: 1923 \fI\fIcomment\fR\fR\fI = \fR\fIFred\'s Files\fR\fI \fR 2183 1924 .RE 2184 1925 … … 2201 1942 .sp 2202 1943 Default: 2203 \fI\fIconfig backend\fR\fR\fI = \fR\fI \FCfile\F[]\fR\fI \fR2204 .sp 2205 Example: 2206 \fI\fIconfig backend\fR\fR\fI = \fR\fI \FCregistry\F[]\fR\fI \fR1944 \fI\fIconfig backend\fR\fR\fI = \fR\fIfile\fR\fI \fR 1945 .sp 1946 Example: 1947 \fI\fIconfig backend\fR\fR\fI = \fR\fIregistry\fR\fI \fR 2207 1948 .RE 2208 1949 … … 2212 1953 .RS 4 2213 1954 This allows you to override the config file to use, instead of the default (usually 2214 \FCsmb\&.conf\F[])\&. There is a chicken and egg problem here as this option is set in the config file!1955 smb\&.conf)\&. There is a chicken and egg problem here as this option is set in the config file! 2215 1956 .sp 2216 1957 For this reason, if the name of the config file has changed when the parameters are loaded then it will reload them from the new config file\&. … … 2223 1964 .sp 2224 1965 Example: 2225 \fI\fIconfig file\fR\fR\fI = \fR\fI \FC/usr/local/samba/lib/smb\&.conf\&.%m\F[]\fR\fI \fR1966 \fI\fIconfig file\fR\fR\fI = \fR\fI/usr/local/samba/lib/smb\&.conf\&.%m\fR\fI \fR 2226 1967 .RE 2227 1968 … … 2235 1976 .sp 2236 1977 Default: 2237 \fI\fIcopy\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2238 .sp 2239 Example: 2240 \fI\fIcopy\fR\fR\fI = \fR\fI \FCotherservice\F[]\fR\fI \fR1978 \fI\fIcopy\fR\fR\fI = \fR\fI\fR\fI \fR 1979 .sp 1980 Example: 1981 \fI\fIcopy\fR\fR\fI = \fR\fIotherservice\fR\fI \fR 2241 1982 .RE 2242 1983 … … 2258 1999 .sp 2259 2000 The default value of this parameter removes the 2260 \FCgroup\F[] 2001 group 2261 2002 and 2262 \FCother\F[] 2003 other 2263 2004 write and execute bits from the UNIX modes\&. 2264 2005 .sp … … 2275 2016 .sp 2276 2017 Default: 2277 \fI\fIcreate mask\fR\fR\fI = \fR\fI \FC0744\F[]\fR\fI \fR2278 .sp 2279 Example: 2280 \fI\fIcreate mask\fR\fR\fI = \fR\fI \FC0775\F[]\fR\fI \fR2018 \fI\fIcreate mask\fR\fR\fI = \fR\fI0744\fR\fI \fR 2019 .sp 2020 Example: 2021 \fI\fIcreate mask\fR\fR\fI = \fR\fI0775\fR\fI \fR 2281 2022 .RE 2282 2023 … … 2294 2035 .sp 2295 2036 Default: 2296 \fI\fIcsc policy\fR\fR\fI = \fR\fI \FCmanual\F[]\fR\fI \fR2297 .sp 2298 Example: 2299 \fI\fIcsc policy\fR\fR\fI = \fR\fI \FCprograms\F[]\fR\fI \fR2037 \fI\fIcsc policy\fR\fR\fI = \fR\fImanual\fR\fI \fR 2038 .sp 2039 Example: 2040 \fI\fIcsc policy\fR\fR\fI = \fR\fIprograms\fR\fI \fR 2300 2041 .RE 2301 2042 … … 2305 2046 .RS 4 2306 2047 If you set 2307 \FCclustering=yes\F[], you need to tell Samba where ctdbd listens on its unix domain socket\&. The default path as of ctdb 1\&.0 is /tmp/ctdb\&.socket which you have to explicitly set for Samba in smb\&.conf\&.2308 .sp 2309 Default: 2310 \fI\fIctdbd socket\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2311 .sp 2312 Example: 2313 \fI\fIctdbd socket\fR\fR\fI = \fR\fI \FC/tmp/ctdb\&.socket\F[]\fR\fI \fR2048 clustering=yes, you need to tell Samba where ctdbd listens on its unix domain socket\&. The default path as of ctdb 1\&.0 is /tmp/ctdb\&.socket which you have to explicitly set for Samba in smb\&.conf\&. 2049 .sp 2050 Default: 2051 \fI\fIctdbd socket\fR\fR\fI = \fR\fI\fR\fI \fR 2052 .sp 2053 Example: 2054 \fI\fIctdbd socket\fR\fR\fI = \fR\fI/tmp/ctdb\&.socket\fR\fI \fR 2314 2055 .RE 2315 2056 … … 2326 2067 .sp 2327 2068 Default: 2328 \fI\fIcups connection timeout\fR\fR\fI = \fR\fI \FC30\F[]\fR\fI \fR2329 .sp 2330 Example: 2331 \fI\fIcups connection timeout\fR\fR\fI = \fR\fI \FC60\F[]\fR\fI \fR2069 \fI\fIcups connection timeout\fR\fR\fI = \fR\fI30\fR\fI \fR 2070 .sp 2071 Example: 2072 \fI\fIcups connection timeout\fR\fR\fI = \fR\fI60\fR\fI \fR 2332 2073 .RE 2333 2074 … … 2346 2087 \fBraw\fR 2347 2088 if your CUPS server 2348 \FCerror_log\F[] 2089 error_log 2349 2090 file contains messages such as "Unsupported format \'application/octet\-stream\'" when printing from a Windows client through Samba\&. It is no longer necessary to enable system wide raw printing in 2350 \FC/etc/cups/mime\&.{convs,types}\F[]\&.2351 .sp 2352 Default: 2353 \fI\fIcups options\fR\fR\fI = \fR\fI \FC""\F[]\fR\fI \fR2354 .sp 2355 Example: 2356 \fI\fIcups options\fR\fR\fI = \fR\fI \FC"raw media=a4"\F[]\fR\fI \fR2091 /etc/cups/mime\&.{convs,types}\&. 2092 .sp 2093 Default: 2094 \fI\fIcups options\fR\fR\fI = \fR\fI""\fR\fI \fR 2095 .sp 2096 Example: 2097 \fI\fIcups options\fR\fR\fI = \fR\fI"raw media=a4"\fR\fI \fR 2357 2098 .RE 2358 2099 … … 2367 2108 .sp 2368 2109 If set, this option overrides the ServerName option in the CUPS 2369 \FCclient\&.conf\F[]\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&.2110 client\&.conf\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&. 2370 2111 .sp 2371 2112 Optionally, a port can be specified by separating the server name and port number with a colon\&. If no port was specified, the default port for IPP (631) will be used\&. 2372 2113 .sp 2373 2114 Default: 2374 \fI\fIcups server\fR\fR\fI = \fR\fI \FC""\F[]\fR\fI \fR2375 .sp 2376 Example: 2377 \fI\fIcups server\fR\fR\fI = \fR\fI \FCmycupsserver\F[]\fR\fI \fR2378 .sp 2379 Example: 2380 \fI\fIcups server\fR\fR\fI = \fR\fI \FCmycupsserver:1631\F[]\fR\fI \fR2115 \fI\fIcups server\fR\fR\fI = \fR\fI""\fR\fI \fR 2116 .sp 2117 Example: 2118 \fI\fIcups server\fR\fR\fI = \fR\fImycupsserver\fR\fI \fR 2119 .sp 2120 Example: 2121 \fI\fIcups server\fR\fR\fI = \fR\fImycupsserver:1631\fR\fI \fR 2381 2122 .RE 2382 2123 … … 2396 2137 .sp 2397 2138 Default: 2398 \fI\fIdeadtime\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR2399 .sp 2400 Example: 2401 \fI\fIdeadtime\fR\fR\fI = \fR\fI \FC15\F[]\fR\fI \fR2139 \fI\fIdeadtime\fR\fR\fI = \fR\fI0\fR\fI \fR 2140 .sp 2141 Example: 2142 \fI\fIdeadtime\fR\fR\fI = \fR\fI15\fR\fI \fR 2402 2143 .RE 2403 2144 … … 2412 2153 .sp 2413 2154 Default: 2414 \fI\fIdebug class\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2155 \fI\fIdebug class\fR\fR\fI = \fR\fIno\fR\fI \fR 2415 2156 .RE 2416 2157 … … 2426 2167 .sp 2427 2168 Default: 2428 \fI\fIdebug hires timestamp\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2169 \fI\fIdebug hires timestamp\fR\fR\fI = \fR\fIno\fR\fI \fR 2429 2170 .RE 2430 2171 … … 2441 2182 .sp 2442 2183 Default: 2443 \fI\fIdebug pid\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2184 \fI\fIdebug pid\fR\fR\fI = \fR\fIno\fR\fI \fR 2444 2185 .RE 2445 2186 … … 2457 2198 .sp 2458 2199 Default: 2459 \fI\fIdebug prefix timestamp\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2200 \fI\fIdebug prefix timestamp\fR\fR\fI = \fR\fIno\fR\fI \fR 2460 2201 .RE 2461 2202 … … 2477 2218 .sp 2478 2219 Default: 2479 \fI\fIdebug timestamp\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2220 \fI\fIdebug timestamp\fR\fR\fI = \fR\fIyes\fR\fI \fR 2480 2221 .RE 2481 2222 … … 2491 2232 .sp 2492 2233 Default: 2493 \fI\fIdebug uid\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2234 \fI\fIdebug uid\fR\fR\fI = \fR\fIno\fR\fI \fR 2494 2235 .RE 2495 2236 … … 2504 2245 .sp 2505 2246 Default: 2506 \fI\fIdefault case\fR\fR\fI = \fR\fI \FClower\F[]\fR\fI \fR2247 \fI\fIdefault case\fR\fR\fI = \fR\fIlower\fR\fI \fR 2507 2248 .RE 2508 2249 … … 2518 2259 .sp 2519 2260 This parameter should be used with care and tested with the printer driver in question\&. It is better to leave the device mode to NULL and let the Windows client set the correct values\&. Because drivers do not do this all the time, setting 2520 \FCdefault devmode = yes\F[] 2261 default devmode = yes 2521 2262 will instruct smbd to generate a default one\&. 2522 2263 .sp … … 2525 2266 .sp 2526 2267 Default: 2527 \fI\fIdefault devmode\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2268 \fI\fIdefault devmode\fR\fR\fI = \fR\fIyes\fR\fI \fR 2528 2269 .RE 2529 2270 … … 2558 2299 .sp 2559 2300 Default: 2560 \fI\fIdefault service\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2561 .sp 2562 Example: 2563 \fI\fIdefault service\fR\fR\fI = \fR\fI \FCpub\F[]\fR\fI \fR2301 \fI\fIdefault service\fR\fR\fI = \fR\fI\fR\fI \fR 2302 .sp 2303 Example: 2304 \fI\fIdefault service\fR\fR\fI = \fR\fIpub\fR\fI \fR 2564 2305 .RE 2565 2306 … … 2575 2316 .sp 2576 2317 Default: 2577 \fI\fIdefer sharing violations\fR\fR\fI = \fR\fI \FCTrue\F[]\fR\fI \fR2318 \fI\fIdefer sharing violations\fR\fR\fI = \fR\fITrue\fR\fI \fR 2578 2319 .RE 2579 2320 … … 2590 2331 .sp 2591 2332 Default: 2592 \fI\fIdelete group script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2333 \fI\fIdelete group script\fR\fR\fI = \fR\fI\fR\fI \fR 2593 2334 .RE 2594 2335 … … 2602 2343 \m[blue]\fBdeleteprinter command\fR\m[] 2603 2344 defines a script to be run which will perform the necessary operations for removing the printer from the print system and from 2604 \FCsmb\&.conf\F[]\&.2345 smb\&.conf\&. 2605 2346 .sp 2606 2347 The … … 2612 2353 \m[blue]\fBdeleteprinter command\fR\m[] 2613 2354 has been executed, 2614 \FCsmbd\F[] 2355 smbd 2615 2356 will reparse the 2616 \FC smb\&.conf\F[] 2357 smb\&.conf 2617 2358 to check that the associated printer no longer exists\&. If the sharename is still valid, then 2618 \FCsmbd \F[] 2359 smbd 2619 2360 will return an ACCESS_DENIED error to the client\&. 2620 2361 .sp 2621 2362 Default: 2622 \fI\fIdeleteprinter command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2623 .sp 2624 Example: 2625 \fI\fIdeleteprinter command\fR\fR\fI = \fR\fI \FC/usr/bin/removeprinter\F[]\fR\fI \fR2363 \fI\fIdeleteprinter command\fR\fR\fI = \fR\fI\fR\fI \fR 2364 .sp 2365 Example: 2366 \fI\fIdeleteprinter command\fR\fR\fI = \fR\fI/usr/bin/removeprinter\fR\fI \fR 2626 2367 .RE 2627 2368 … … 2635 2376 .sp 2636 2377 Default: 2637 \fI\fIdelete readonly\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2378 \fI\fIdelete readonly\fR\fR\fI = \fR\fIno\fR\fI \fR 2638 2379 .RE 2639 2380 … … 2645 2386 \fIdelete share command\fR 2646 2387 is used to define an external program or script which will remove an existing service definition from 2647 \FCsmb\&.conf\F[]\&.2388 smb\&.conf\&. 2648 2389 .sp 2649 2390 In order to successfully execute the 2650 2391 \fIdelete share command\fR, 2651 \FCsmbd\F[] 2392 smbd 2652 2393 requires that the administrator connects using a root account (i\&.e\&. uid == 0) or has the 2653 \FCSeDiskOperatorPrivilege\F[]\&. Scripts defined in the2394 SeDiskOperatorPrivilege\&. Scripts defined in the 2654 2395 \fIdelete share command\fR 2655 2396 parameter are executed as root\&. 2656 2397 .sp 2657 2398 When executed, 2658 \FCsmbd\F[] 2399 smbd 2659 2400 will automatically invoke the 2660 2401 \fIdelete share command\fR … … 2671 2412 \fIconfigFile\fR 2672 2413 \- the location of the global 2673 \FCsmb\&.conf\F[] 2414 smb\&.conf 2674 2415 file\&. 2675 2416 .RE … … 2691 2432 .sp 2692 2433 Default: 2693 \fI\fIdelete share command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2694 .sp 2695 Example: 2696 \fI\fIdelete share command\fR\fR\fI = \fR\fI \FC/usr/local/bin/delshare\F[]\fR\fI \fR2434 \fI\fIdelete share command\fR\fR\fI = \fR\fI\fR\fI \fR 2435 .sp 2436 Example: 2437 \fI\fIdelete share command\fR\fR\fI = \fR\fI/usr/local/bin/delshare\fR\fI \fR 2697 2438 .RE 2698 2439 … … 2710 2451 .sp 2711 2452 Default: 2712 \fI\fIdelete user from group script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2713 .sp 2714 Example: 2715 \fI\fIdelete user from group script\fR\fR\fI = \fR\fI \FC/usr/sbin/deluser %u %g\F[]\fR\fI \fR2453 \fI\fIdelete user from group script\fR\fR\fI = \fR\fI\fR\fI \fR 2454 .sp 2455 Example: 2456 \fI\fIdelete user from group script\fR\fR\fI = \fR\fI/usr/sbin/deluser %u %g\fR\fI \fR 2716 2457 .RE 2717 2458 … … 2725 2466 .sp 2726 2467 This script is called when a remote client removes a user from the server, normally using \'User Manager for Domains\' or 2727 \FCrpcclient\F[]\&.2468 rpcclient\&. 2728 2469 .sp 2729 2470 This script should delete the given UNIX username\&. 2730 2471 .sp 2731 2472 Default: 2732 \fI\fIdelete user script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR2733 .sp 2734 Example: 2735 \fI\fIdelete user script\fR\fR\fI = \fR\fI \FC/usr/local/samba/bin/del_user %u\F[]\fR\fI \fR2473 \fI\fIdelete user script\fR\fR\fI = \fR\fI\fR\fI \fR 2474 .sp 2475 Example: 2476 \fI\fIdelete user script\fR\fR\fI = \fR\fI/usr/local/samba/bin/del_user %u\fR\fI \fR 2736 2477 .RE 2737 2478 … … 2748 2489 If this option is set to 2749 2490 \fByes\fR, then Samba will attempt to recursively delete any files and directories within the vetoed directory\&. This can be useful for integration with file serving systems such as NetAtalk which create meta\-files within directories you might normally veto DOS/Windows users from seeing (e\&.g\&. 2750 \ FC\&.AppleDouble\F[])2491 \&.AppleDouble) 2751 2492 .sp 2752 2493 Setting … … 2755 2496 .sp 2756 2497 Default: 2757 \fI\fIdelete veto files\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2498 \fI\fIdelete veto files\fR\fR\fI = \fR\fIno\fR\fI \fR 2758 2499 .RE 2759 2500 … … 2775 2516 .sp 2776 2517 Example: 2777 \fI\fIdfree cache time\fR\fR\fI = \fR\fI \FCdfree cache time = 60\F[]\fR\fI \fR2518 \fI\fIdfree cache time\fR\fR\fI = \fR\fIdfree cache time = 60\fR\fI \fR 2778 2519 .RE 2779 2520 … … 2793 2534 .sp 2794 2535 The external program will be passed a single parameter indicating a directory in the filesystem being queried\&. This will typically consist of the string 2795 \ FC\&./\F[]\&. The script should return two integers in ASCII\&. The first should be the total disk space in blocks, and the second should be the number of available blocks\&. An optional third return value can give the block size in bytes\&. The default blocksize is 1024 bytes\&.2536 \&./\&. The script should return two integers in ASCII\&. The first should be the total disk space in blocks, and the second should be the number of available blocks\&. An optional third return value can give the block size in bytes\&. The default blocksize is 1024 bytes\&. 2796 2537 .sp 2797 2538 Note: Your script should … … 2804 2545 .RS 4 2805 2546 .\} 2806 .fam C2807 .ps -12808 2547 .nf 2809 .BB lightgray2810 2548 2811 2549 #!/bin/sh 2812 2550 df $1 | tail \-1 | awk \'{print $(NF\-4),$(NF\-2)}\' 2813 .EB lightgray2814 2551 .fi 2815 .fam2816 .ps +12817 2552 .if n \{\ 2818 2553 .RE … … 2824 2559 .RS 4 2825 2560 .\} 2826 .fam C2827 .ps -12828 2561 .nf 2829 .BB lightgray2830 2562 2831 2563 #!/bin/sh 2832 2564 /usr/bin/df \-k $1 | tail \-1 | awk \'{print $3" "$5}\' 2833 .EB lightgray2834 2565 .fi 2835 .fam2836 .ps +12837 2566 .if n \{\ 2838 2567 .RE … … 2846 2575 .sp 2847 2576 Example: 2848 \fI\fIdfree command\fR\fR\fI = \fR\fI \FC/usr/local/samba/bin/dfree\F[]\fR\fI \fR2577 \fI\fIdfree command\fR\fR\fI = \fR\fI/usr/local/samba/bin/dfree\fR\fI \fR 2849 2578 .RE 2850 2579 … … 2877 2606 .sp 2878 2607 Default: 2879 \fI\fIdirectory mask\fR\fR\fI = \fR\fI \FC0755\F[]\fR\fI \fR2880 .sp 2881 Example: 2882 \fI\fIdirectory mask\fR\fR\fI = \fR\fI \FC0775\F[]\fR\fI \fR2608 \fI\fIdirectory mask\fR\fR\fI = \fR\fI0755\fR\fI \fR 2609 .sp 2610 Example: 2611 \fI\fIdirectory mask\fR\fR\fI = \fR\fI0775\fR\fI \fR 2883 2612 .RE 2884 2613 … … 2901 2630 .sp 2902 2631 Default: 2903 \fI\fIdirectory security mask\fR\fR\fI = \fR\fI \FC0777\F[]\fR\fI \fR2904 .sp 2905 Example: 2906 \fI\fIdirectory security mask\fR\fR\fI = \fR\fI \FC0700\F[]\fR\fI \fR2632 \fI\fIdirectory security mask\fR\fR\fI = \fR\fI0777\fR\fI \fR 2633 .sp 2634 Example: 2635 \fI\fIdirectory security mask\fR\fR\fI = \fR\fI0700\fR\fI \fR 2907 2636 .RE 2908 2637 … … 2916 2645 .\} 2917 2646 .RS 4 2918 .BM yellow2919 2647 .it 1 an-trap 2920 2648 .nr an-no-space-flag 1 … … 2927 2655 Clients that only support netbios won\'t be able to see your samba server when netbios support is disabled\&. 2928 2656 .sp .5v 2929 .EM yellow 2930 .RE 2931 Default: 2932 \fI\fIdisable netbios\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR 2657 .RE 2658 Default: 2659 \fI\fIdisable netbios\fR\fR\fI = \fR\fIno\fR\fI \fR 2933 2660 .RE 2934 2661 … … 2941 2668 .sp 2942 2669 Default: 2943 \fI\fIdisable spoolss\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2670 \fI\fIdisable spoolss\fR\fR\fI = \fR\fIno\fR\fI \fR 2944 2671 .RE 2945 2672 … … 2952 2679 .sp 2953 2680 Default: 2954 \fI\fIdisplay charset\fR\fR\fI = \fR\fI \FC"LOCALE" or "ASCII" (depending on the system)\F[]\fR\fI \fR2955 .sp 2956 Example: 2957 \fI\fIdisplay charset\fR\fR\fI = \fR\fI \FCUTF8\F[]\fR\fI \fR2681 \fI\fIdisplay charset\fR\fR\fI = \fR\fI"LOCALE" or "ASCII" (depending on the system)\fR\fI \fR 2682 .sp 2683 Example: 2684 \fI\fIdisplay charset\fR\fR\fI = \fR\fIUTF8\fR\fI \fR 2958 2685 .RE 2959 2686 … … 2969 2696 .sp 2970 2697 Default: 2971 \fI\fIdmapi support\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2698 \fI\fIdmapi support\fR\fR\fI = \fR\fIno\fR\fI \fR 2972 2699 .RE 2973 2700 … … 2982 2709 Note that the maximum length for a NetBIOS name is 15 characters, so the DNS name (or DNS alias) can likewise only be 15 characters, maximum\&. 2983 2710 .sp 2984 \FCnmbd\F[] 2711 nmbd 2985 2712 spawns a second copy of itself to do the DNS name lookup requests, as doing a name lookup is a blocking action\&. 2986 2713 .sp 2987 2714 Default: 2988 \fI\fIdns proxy\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2715 \fI\fIdns proxy\fR\fR\fI = \fR\fIyes\fR\fI \fR 2989 2716 .RE 2990 2717 … … 2999 2726 .sp 3000 2727 Default: 3001 \fI\fIdomain logons\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2728 \fI\fIdomain logons\fR\fR\fI = \fR\fIno\fR\fI \fR 3002 2729 .RE 3003 2730 … … 3009 2736 \fBsmbd\fR(8) 3010 2737 to enable WAN\-wide browse list collation\&. Setting this option causes 3011 \FCnmbd\F[] 2738 nmbd 3012 2739 to claim a special domain specific NetBIOS name that identifies it as a domain master browser for its given 3013 2740 \m[blue]\fBworkgroup\fR\m[]\&. Local master browsers in the same 3014 2741 \m[blue]\fBworkgroup\fR\m[] 3015 2742 on broadcast\-isolated subnets will give this 3016 \FCnmbd\F[] 2743 nmbd 3017 2744 their local browse lists, and then ask 3018 2745 \fBsmbd\fR(8) … … 3024 2751 \m[blue]\fBworkgroup\fR\m[] 3025 2752 by default (i\&.e\&. there is no way to prevent a Windows NT PDC from attempting to do this)\&. This means that if this parameter is set and 3026 \FCnmbd\F[] 2753 nmbd 3027 2754 claims the special name for a 3028 2755 \m[blue]\fBworkgroup\fR\m[] … … 3044 2771 .sp 3045 2772 Default: 3046 \fI\fIdomain master\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR2773 \fI\fIdomain master\fR\fR\fI = \fR\fIauto\fR\fI \fR 3047 2774 .RE 3048 2775 … … 3052 2779 .RS 4 3053 2780 There are certain directories on some systems (e\&.g\&., the 3054 \FC/proc\F[] 2781 /proc 3055 2782 tree under Linux) that are either not of interest to clients or are infinitely deep (recursive)\&. This parameter allows you to specify a comma\-delimited list of directories that the server should always show as empty\&. 3056 2783 .sp 3057 2784 Note that Samba can be very fussy about the exact format of the "dont descend" entries\&. For example you may need 3058 \ FC \&./proc\F[]2785 \&./proc 3059 2786 instead of just 3060 \FC/proc\F[]\&. Experimentation is the best policy :\-)3061 .sp 3062 Default: 3063 \fI\fIdont descend\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR3064 .sp 3065 Example: 3066 \fI\fIdont descend\fR\fR\fI = \fR\fI \FC/proc,/dev\F[]\fR\fI \fR2787 /proc\&. Experimentation is the best policy :\-) 2788 .sp 2789 Default: 2790 \fI\fIdont descend\fR\fR\fI = \fR\fI\fR\fI \fR 2791 .sp 2792 Example: 2793 \fI\fIdont descend\fR\fR\fI = \fR\fI/proc,/dev\fR\fI \fR 3067 2794 .RE 3068 2795 … … 3087 2814 .sp 3088 2815 Default: 3089 \fI\fIdos filemode\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2816 \fI\fIdos filemode\fR\fR\fI = \fR\fIno\fR\fI \fR 3090 2817 .RE 3091 2818 … … 3100 2827 .sp 3101 2828 Default: 3102 \fI\fIdos filetime resolution\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2829 \fI\fIdos filetime resolution\fR\fR\fI = \fR\fIno\fR\fI \fR 3103 2830 .RE 3104 2831 … … 3108 2835 .RS 4 3109 2836 Under DOS and Windows, if a user can write to a file they can change the timestamp on it\&. Under POSIX semantics, only the owner of the file or root may change the timestamp\&. By default, Samba runs with POSIX semantics and refuses to change the timestamp on a file if the user 3110 \FCsmbd\F[] 2837 smbd 3111 2838 is acting on behalf of is not the file owner\&. Setting this option to 3112 2839 \fB yes\fR … … 3116 2843 .sp 3117 2844 Default: 3118 \fI\fIdos filetimes\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2845 \fI\fIdos filetimes\fR\fR\fI = \fR\fIyes\fR\fI \fR 3119 2846 .RE 3120 2847 … … 3128 2855 .sp 3129 2856 Default: 3130 \fI\fIea support\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2857 \fI\fIea support\fR\fR\fI = \fR\fIno\fR\fI \fR 3131 2858 .RE 3132 2859 … … 3138 2865 .sp 3139 2866 Default: 3140 \fI\fIenable asu support\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR 2867 \fI\fIenable asu support\fR\fR\fI = \fR\fIno\fR\fI \fR 2868 .RE 2869 2870 enable core files (G) 2871 .\" enable core files 2872 .PP 2873 .RS 4 2874 This parameter specifies whether core dumps should be written on internal exits\&. Normally set to 2875 \fByes\fR\&. You should never need to change this\&. 2876 .sp 2877 Default: 2878 \fI\fIenable core files\fR\fR\fI = \fR\fIyes\fR\fI \fR 2879 .sp 2880 Example: 2881 \fI\fIenable core files\fR\fR\fI = \fR\fIno\fR\fI \fR 3141 2882 .RE 3142 2883 … … 3146 2887 .RS 4 3147 2888 This parameter controls whether or not smbd will honor privileges assigned to specific SIDs via either 3148 \FCnet rpc rights\F[] 2889 net rpc rights 3149 2890 or one of the Windows user and group manager tools\&. This parameter is enabled by default\&. It can be disabled to prevent members of the Domain Admins group from being able to assign privileges to users or groups which can then result in certain smbd operations running as root that would normally run under the context of the connected user\&. 3150 2891 .sp … … 3154 2895 .sp 3155 2896 Default: 3156 \fI\fIenable privileges\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2897 \fI\fIenable privileges\fR\fR\fI = \fR\fIyes\fR\fI \fR 3157 2898 .RE 3158 2899 … … 3176 2917 \m[blue]\fBsecurity = [server|domain|ads]\fR\m[] 3177 2918 parameter which causes 3178 \FCsmbd\F[] 2919 smbd 3179 2920 to authenticate against another server\&. 3180 2921 .sp 3181 2922 Default: 3182 \fI\fIencrypt passwords\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2923 \fI\fIencrypt passwords\fR\fR\fI = \fR\fIyes\fR\fI \fR 3183 2924 .RE 3184 2925 … … 3196 2937 .sp 3197 2938 Default: 3198 \fI\fIenhanced browsing\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR2939 \fI\fIenhanced browsing\fR\fR\fI = \fR\fIyes\fR\fI \fR 3199 2940 .RE 3200 2941 … … 3203 2944 .PP 3204 2945 .RS 4 3205 The concept of a "port" is fairly foreign to UNIX hosts\&. Under Windows NT/2000 print servers, a port is associated with a port monitor and generally takes the form of a local port (i\&.e\&. LPT1:, COM1:, FILE:) or a remote port (i\&.e\&. LPD Port Monitor, etc\&.\&.\&.)\&. By default, Samba has only one port defined\-\-\fB"Samba Printer Port"\fR\&. Under Windows NT/2000, all printers must have a valid port name\&. If you wish to have a list of ports displayed ( \FCsmbd \F[]2946 The concept of a "port" is fairly foreign to UNIX hosts\&. Under Windows NT/2000 print servers, a port is associated with a port monitor and generally takes the form of a local port (i\&.e\&. LPT1:, COM1:, FILE:) or a remote port (i\&.e\&. LPD Port Monitor, etc\&.\&.\&.)\&. By default, Samba has only one port defined\-\-\fB"Samba Printer Port"\fR\&. Under Windows NT/2000, all printers must have a valid port name\&. If you wish to have a list of ports displayed (smbd 3206 2947 does not use a port name for anything) other than the default 3207 2948 \fB"Samba Printer Port"\fR, you can define … … 3210 2951 .sp 3211 2952 Default: 3212 \fI\fIenumports command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR3213 .sp 3214 Example: 3215 \fI\fIenumports command\fR\fR\fI = \fR\fI \FC/usr/bin/listports\F[]\fR\fI \fR2953 \fI\fIenumports command\fR\fR\fI = \fR\fI\fR\fI \fR 2954 .sp 2955 Example: 2956 \fI\fIenumports command\fR\fR\fI = \fR\fI/usr/bin/listports\fR\fI \fR 3216 2957 .RE 3217 2958 … … 3221 2962 .RS 4 3222 2963 This option defines a list of log names that Samba will report to the Microsoft EventViewer utility\&. The listed eventlogs will be associated with tdb file on disk in the 3223 \FC$(lockdir)/eventlog\F[]\&.2964 $(lockdir)/eventlog\&. 3224 2965 .sp 3225 2966 The administrator must use an external process to parse the normal Unix logs such as 3226 \FC/var/log/messages\F[] 2967 /var/log/messages 3227 2968 and write then entries to the eventlog tdb files\&. Refer to the eventlogadm(8) utility for how to write eventlog entries\&. 3228 2969 .sp 3229 2970 Default: 3230 \fI\fIeventlog list\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR3231 .sp 3232 Example: 3233 \fI\fIeventlog list\fR\fR\fI = \fR\fI \FCSecurity Application Syslog Apache\F[]\fR\fI \fR2971 \fI\fIeventlog list\fR\fR\fI = \fR\fI\fR\fI \fR 2972 .sp 2973 Example: 2974 \fI\fIeventlog list\fR\fR\fI = \fR\fISecurity Application Syslog Apache\fR\fI \fR 3234 2975 .RE 3235 2976 … … 3245 2986 .sp 3246 2987 Default: 3247 \fI\fIfake directory create times\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR2988 \fI\fIfake directory create times\fR\fR\fI = \fR\fIno\fR\fI \fR 3248 2989 .RE 3249 2990 … … 3255 2996 .sp 3256 2997 When you set 3257 \FCfake oplocks = yes\F[],2998 fake oplocks = yes, 3258 2999 \fBsmbd\fR(8) 3259 3000 will always grant oplock requests no matter how many clients are using the file\&. … … 3266 3007 .sp 3267 3008 Default: 3268 \fI\fIfake oplocks\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3009 \fI\fIfake oplocks\fR\fR\fI = \fR\fIno\fR\fI \fR 3269 3010 .RE 3270 3011 … … 3278 3019 \fBno\fR 3279 3020 prevents any file or directory that is a symbolic link from being followed (the user will get an error)\&. This option is very useful to stop users from adding a symbolic link to 3280 \FC/etc/passwd\F[] 3021 /etc/passwd 3281 3022 in their home directory for instance\&. However it will slow filename lookups down slightly\&. 3282 3023 .sp 3283 3024 This option is enabled (i\&.e\&. 3284 \FCsmbd\F[] 3025 smbd 3285 3026 will follow symbolic links) by default\&. 3286 3027 .sp 3287 3028 Default: 3288 \fI\fIfollow symlinks\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR3029 \fI\fIfollow symlinks\fR\fR\fI = \fR\fIyes\fR\fI \fR 3289 3030 .RE 3290 3031 … … 3302 3043 .sp 3303 3044 Default: 3304 \fI\fIforce create mode\fR\fR\fI = \fR\fI \FC000\F[]\fR\fI \fR3305 .sp 3306 Example: 3307 \fI\fIforce create mode\fR\fR\fI = \fR\fI \FC0755\F[]\fR\fI \fR3045 \fI\fIforce create mode\fR\fR\fI = \fR\fI000\fR\fI \fR 3046 .sp 3047 Example: 3048 \fI\fIforce create mode\fR\fR\fI = \fR\fI0755\fR\fI \fR 3308 3049 .RE 3309 3050 … … 3321 3062 .sp 3322 3063 Default: 3323 \fI\fIforce directory mode\fR\fR\fI = \fR\fI \FC000\F[]\fR\fI \fR3324 .sp 3325 Example: 3326 \fI\fIforce directory mode\fR\fR\fI = \fR\fI \FC0755\F[]\fR\fI \fR3064 \fI\fIforce directory mode\fR\fR\fI = \fR\fI000\fR\fI \fR 3065 .sp 3066 Example: 3067 \fI\fIforce directory mode\fR\fR\fI = \fR\fI0755\fR\fI \fR 3327 3068 .RE 3328 3069 … … 3343 3084 .\} 3344 3085 .RS 4 3345 .BM yellow3346 3086 .it 1 an-trap 3347 3087 .nr an-no-space-flag 1 … … 3354 3094 Users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems\&. Administrators of most normal systems will probably want to leave it set as 0000\&. 3355 3095 .sp .5v 3356 .EM yellow 3357 .RE 3358 Default: 3359 \fI\fIforce directory security mode\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR 3360 .sp 3361 Example: 3362 \fI\fIforce directory security mode\fR\fR\fI = \fR\fI\FC700\F[]\fR\fI \fR 3096 .RE 3097 Default: 3098 \fI\fIforce directory security mode\fR\fR\fI = \fR\fI0\fR\fI \fR 3099 .sp 3100 Example: 3101 \fI\fIforce directory security mode\fR\fR\fI = \fR\fI700\fR\fI \fR 3363 3102 .RE 3364 3103 … … 3378 3117 .sp 3379 3118 In Samba 2\&.0\&.5 and above this parameter has extended functionality in the following way\&. If the group name listed here has a \'+\' character prepended to it then the current user accessing the share only has the primary group default assigned to this group if they are already assigned as a member of that group\&. This allows an administrator to decide that only users who are already in a particular group will create files with group ownership set to that group\&. This gives a finer granularity of ownership assignment\&. For example, the setting 3380 \FCforce group = +sys\F[] 3119 force group = +sys 3381 3120 means that only users who are already in group sys will have their default primary group assigned to sys when accessing this Samba share\&. All other users will retain their ordinary primary group\&. 3382 3121 .sp … … 3389 3128 .sp 3390 3129 Default: 3391 \fI\fIforce group\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR3392 .sp 3393 Example: 3394 \fI\fIforce group\fR\fR\fI = \fR\fI \FCagroup\F[]\fR\fI \fR3130 \fI\fIforce group\fR\fR\fI = \fR\fI\fR\fI \fR 3131 .sp 3132 Example: 3133 \fI\fIforce group\fR\fR\fI = \fR\fIagroup\fR\fI \fR 3395 3134 .RE 3396 3135 … … 3400 3139 .RS 4 3401 3140 When printing from Windows NT (or later), each printer in 3402 \FCsmb\&.conf\F[] 3141 smb\&.conf 3403 3142 has two associated names which can be used by the client\&. The first is the sharename (or shortname) defined in smb\&.conf\&. This is the only printername available for use by Windows 9x clients\&. The second name associated with a printer can be seen when browsing to the "Printers" (or "Printers and Faxes") folder on the Samba server\&. This is referred to simply as the printername (not to be confused with the 3404 3143 \fIprinter name\fR … … 3413 3152 .sp 3414 3153 Default: 3415 \fI\fIforce printername\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3154 \fI\fIforce printername\fR\fR\fI = \fR\fIno\fR\fI \fR 3416 3155 .RE 3417 3156 … … 3433 3172 .sp 3434 3173 Default: 3435 \fI\fIforce security mode\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR3436 .sp 3437 Example: 3438 \fI\fIforce security mode\fR\fR\fI = \fR\fI \FC700\F[]\fR\fI \fR3174 \fI\fIforce security mode\fR\fR\fI = \fR\fI0\fR\fI \fR 3175 .sp 3176 Example: 3177 \fI\fIforce security mode\fR\fR\fI = \fR\fI700\fR\fI \fR 3439 3178 .RE 3440 3179 … … 3450 3189 .sp 3451 3190 Default: 3452 \fI\fIforce unknown acl user\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3191 \fI\fIforce unknown acl user\fR\fR\fI = \fR\fIno\fR\fI \fR 3453 3192 .RE 3454 3193 … … 3464 3203 .sp 3465 3204 Default: 3466 \fI\fIforce user\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR3467 .sp 3468 Example: 3469 \fI\fIforce user\fR\fR\fI = \fR\fI \FCauser\F[]\fR\fI \fR3205 \fI\fIforce user\fR\fR\fI = \fR\fI\fR\fI \fR 3206 .sp 3207 Example: 3208 \fI\fIforce user\fR\fR\fI = \fR\fIauser\fR\fI \fR 3470 3209 .RE 3471 3210 … … 3485 3224 .sp 3486 3225 Default: 3487 \fI\fIfstype\fR\fR\fI = \fR\fI \FCNTFS\F[]\fR\fI \fR3488 .sp 3489 Example: 3490 \fI\fIfstype\fR\fR\fI = \fR\fI \FCSamba\F[]\fR\fI \fR3226 \fI\fIfstype\fR\fR\fI = \fR\fINTFS\fR\fI \fR 3227 .sp 3228 Example: 3229 \fI\fIfstype\fR\fR\fI = \fR\fISamba\fR\fI \fR 3491 3230 .RE 3492 3231 … … 3496 3235 .RS 4 3497 3236 The 3498 \FCget quota command\F[] 3237 get quota command 3499 3238 should only be used whenever there is no operating system API available from the OS that samba can use\&. 3500 3239 .sp 3501 3240 This option is only available you have compiled Samba with the 3502 \ FC\-\-with\-sys\-quotas\F[]3241 \-\-with\-sys\-quotas 3503 3242 option or on Linux with 3504 \ FC\-\-with\-quotas\F[]3243 \-\-with\-quotas 3505 3244 and a working quota api was found in the system\&. 3506 3245 .sp … … 3679 3418 .RE 3680 3419 Default: 3681 \fI\fIget quota command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR3682 .sp 3683 Example: 3684 \fI\fIget quota command\fR\fR\fI = \fR\fI \FC/usr/local/sbin/query_quota\F[]\fR\fI \fR3420 \fI\fIget quota command\fR\fR\fI = \fR\fI\fR\fI \fR 3421 .sp 3422 Example: 3423 \fI\fIget quota command\fR\fR\fI = \fR\fI/usr/local/sbin/query_quota\fR\fI \fR 3685 3424 .RE 3686 3425 … … 3695 3434 .sp 3696 3435 Default: 3697 \fI\fIgetwd cache\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR3436 \fI\fIgetwd cache\fR\fR\fI = \fR\fIyes\fR\fI \fR 3698 3437 .RE 3699 3438 … … 3707 3446 .sp 3708 3447 On some systems the default guest account "nobody" may not be able to print\&. Use another account in this case\&. You should test this by trying to log in as your guest user (perhaps by using the 3709 \FCsu \-\F[] 3448 su \- 3710 3449 command) and trying to print using the system print command such as 3711 \FClpr(1)\F[] 3450 lpr(1) 3712 3451 or 3713 \FC lp(1)\F[]\&.3452 lp(1)\&. 3714 3453 .sp 3715 3454 This parameter does not accept % macros, because many parts of the system require this value to be constant for correct operation\&. 3716 3455 .sp 3717 3456 Default: 3718 \fI\fIguest account\fR\fR\fI = \fR\fI \FCnobody # default can be changed at compile\-time\F[]\fR\fI \fR3719 .sp 3720 Example: 3721 \fI\fIguest account\fR\fR\fI = \fR\fI \FCftp\F[]\fR\fI \fR3457 \fI\fIguest account\fR\fR\fI = \fR\fInobody # default can be changed at compile\-time\fR\fI \fR 3458 .sp 3459 Example: 3460 \fI\fIguest account\fR\fR\fI = \fR\fIftp\fR\fI \fR 3722 3461 .RE 3723 3462 … … 3747 3486 .sp 3748 3487 Default: 3749 \fI\fIguest ok\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3488 \fI\fIguest ok\fR\fR\fI = \fR\fIno\fR\fI \fR 3750 3489 .RE 3751 3490 … … 3773 3512 .sp 3774 3513 Default: 3775 \fI\fIguest only\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3514 \fI\fIguest only\fR\fR\fI = \fR\fIno\fR\fI \fR 3776 3515 .RE 3777 3516 … … 3783 3522 .sp 3784 3523 Default: 3785 \fI\fIhide dot files\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR3524 \fI\fIhide dot files\fR\fR\fI = \fR\fIyes\fR\fI \fR 3786 3525 .RE 3787 3526 … … 3809 3548 .RS 4 3810 3549 .\} 3811 .fam C3812 .ps -13813 3550 .nf 3814 .if t \{\3815 .sp -13816 .\}3817 .BB lightgray adjust-for-leading-newline3818 .sp -13819 3820 3551 hide files = /\&.*/DesktopFolderDB/TrashFor%m/resource\&.frk/ 3821 .EB lightgray adjust-for-leading-newline3822 .if t \{\3823 .sp 13824 .\}3825 3552 .fi 3826 .fam3827 .ps +13828 3553 .if n \{\ 3829 3554 .RE … … 3831 3556 .sp 3832 3557 Default: 3833 \fI\fIhide files\fR\fR\fI = \fR\fI \FC # no file are hidden\F[]\fR\fI \fR3558 \fI\fIhide files\fR\fR\fI = \fR\fI # no file are hidden\fR\fI \fR 3834 3559 .RE 3835 3560 … … 3841 3566 .sp 3842 3567 Default: 3843 \fI\fIhide special files\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3568 \fI\fIhide special files\fR\fR\fI = \fR\fIno\fR\fI \fR 3844 3569 .RE 3845 3570 … … 3851 3576 .sp 3852 3577 Default: 3853 \fI\fIhide unreadable\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3578 \fI\fIhide unreadable\fR\fR\fI = \fR\fIno\fR\fI \fR 3854 3579 .RE 3855 3580 … … 3861 3586 .sp 3862 3587 Default: 3863 \fI\fIhide unwriteable files\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3588 \fI\fIhide unwriteable files\fR\fR\fI = \fR\fIno\fR\fI \fR 3864 3589 .RE 3865 3590 … … 3880 3605 .RS 4 3881 3606 .\} 3882 .fam C3883 .ps -13884 3607 .nf 3885 .if t \{\ 3886 .sp -1 3887 .\} 3888 .BB lightgray adjust-for-leading-newline 3889 .sp -1 3890 3891 \FCusername server:/some/file/system\F[] 3892 .EB lightgray adjust-for-leading-newline 3893 .if t \{\ 3894 .sp 1 3895 .\} 3608 username server:/some/file/system 3896 3609 .fi 3897 .fam3898 .ps +13899 3610 .if n \{\ 3900 3611 .RE … … 3906 3617 .\} 3907 3618 .RS 4 3908 .BM yellow3909 3619 .it 1 an-trap 3910 3620 .nr an-no-space-flag 1 … … 3917 3627 A working NIS client is required on the system for this option to work\&. 3918 3628 .sp .5v 3919 .EM yellow 3920 .RE 3921 Default: 3922 \fI\fIhomedir map\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR 3923 .sp 3924 Example: 3925 \fI\fIhomedir map\fR\fR\fI = \fR\fI\FCamd\&.homedir\F[]\fR\fI \fR 3629 .RE 3630 Default: 3631 \fI\fIhomedir map\fR\fR\fI = \fR\fI\fR\fI \fR 3632 .sp 3633 Example: 3634 \fI\fIhomedir map\fR\fR\fI = \fR\fIamd\&.homedir\fR\fI \fR 3926 3635 .RE 3927 3636 … … 3938 3647 .sp 3939 3648 Default: 3940 \fI\fIhost msdfs\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR3649 \fI\fIhost msdfs\fR\fR\fI = \fR\fIyes\fR\fI \fR 3941 3650 .RE 3942 3651 … … 3946 3655 .RS 4 3947 3656 Specifies whether samba should use (expensive) hostname lookups or use the ip addresses instead\&. An example place where hostname lookups are currently used is when checking the 3948 \FChosts deny\F[] 3657 hosts deny 3949 3658 and 3950 \FChosts allow\F[]\&.3951 .sp 3952 Default: 3953 \fI\fIhostname lookups\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3954 .sp 3955 Example: 3956 \fI\fIhostname lookups\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR3659 hosts allow\&. 3660 .sp 3661 Default: 3662 \fI\fIhostname lookups\fR\fR\fI = \fR\fIno\fR\fI \fR 3663 .sp 3664 Example: 3665 \fI\fIhostname lookups\fR\fR\fI = \fR\fIyes\fR\fI \fR 3957 3666 .RE 3958 3667 … … 3977 3686 .sp 3978 3687 You can specify the hosts by name or IP number\&. For example, you could restrict access to only the hosts on a Class C subnet with something like 3979 \FCallow hosts = 150\&.203\&.5\&.\F[]\&. The full syntax of the list is described in the man page3980 \FChosts_access(5)\F[]\&. Note that this man page may not be present on your system, so a brief description will be given here also\&.3688 allow hosts = 150\&.203\&.5\&.\&. The full syntax of the list is described in the man page 3689 hosts_access(5)\&. Note that this man page may not be present on your system, so a brief description will be given here also\&. 3981 3690 .sp 3982 3691 Note that the localhost address 127\&.0\&.0\&.1 will always be allowed access unless specifically denied by a … … 3990 3699 Example 1: allow all IPs in 150\&.203\&.*\&.*; except one 3991 3700 .sp 3992 \FChosts allow = 150\&.203\&. EXCEPT 150\&.203\&.6\&.66\F[] 3701 hosts allow = 150\&.203\&. EXCEPT 150\&.203\&.6\&.66 3993 3702 .sp 3994 3703 Example 2: allow hosts that match the given network/netmask 3995 3704 .sp 3996 \FChosts allow = 150\&.203\&.15\&.0/255\&.255\&.255\&.0\F[] 3705 hosts allow = 150\&.203\&.15\&.0/255\&.255\&.255\&.0 3997 3706 .sp 3998 3707 Example 3: allow a couple of hosts 3999 3708 .sp 4000 \FChosts allow = lapland, arvidsjaur\F[] 3709 hosts allow = lapland, arvidsjaur 4001 3710 .sp 4002 3711 Example 4: allow only hosts in NIS netgroup "foonet", but deny access from one particular host 4003 3712 .sp 4004 \FChosts allow = @foonet\F[] 4005 .sp 4006 \FChosts deny = pirate\F[] 3713 hosts allow = @foonet 3714 .sp 3715 hosts deny = pirate 4007 3716 .if n \{\ 4008 3717 .sp 4009 3718 .\} 4010 3719 .RS 4 4011 .BM yellow4012 3720 .it 1 an-trap 4013 3721 .nr an-no-space-flag 1 … … 4020 3728 Note that access still requires suitable user\-level passwords\&. 4021 3729 .sp .5v 4022 .EM yellow4023 3730 .RE 4024 3731 See … … 4027 3734 .sp 4028 3735 Default: 4029 \fI\fIhosts allow\fR\fR\fI = \fR\fI \FC # none (i\&.e\&., all hosts permitted access)\F[]\fR\fI \fR4030 .sp 4031 Example: 4032 \fI\fIhosts allow\fR\fR\fI = \fR\fI \FC150\&.203\&.5\&. myhost\&.mynet\&.edu\&.au\F[]\fR\fI \fR3736 \fI\fIhosts allow\fR\fR\fI = \fR\fI # none (i\&.e\&., all hosts permitted access)\fR\fI \fR 3737 .sp 3738 Example: 3739 \fI\fIhosts allow\fR\fR\fI = \fR\fI150\&.203\&.5\&. myhost\&.mynet\&.edu\&.au\fR\fI \fR 4033 3740 .RE 4034 3741 … … 4054 3761 .sp 4055 3762 In the event that it is necessary to deny all by default, use the keyword ALL (or the netmask 4056 \FC0\&.0\&.0\&.0/0\F[]) and then explicitly specify to the3763 0\&.0\&.0\&.0/0) and then explicitly specify to the 4057 3764 \m[blue]\fBhosts allow = hosts allow\fR\m[] 4058 3765 parameter those hosts that should be permitted access\&. 4059 3766 .sp 4060 3767 Default: 4061 \fI\fIhosts deny\fR\fR\fI = \fR\fI \FC # none (i\&.e\&., no hosts specifically excluded)\F[]\fR\fI \fR4062 .sp 4063 Example: 4064 \fI\fIhosts deny\fR\fR\fI = \fR\fI \FC150\&.203\&.4\&. badhost\&.mynet\&.edu\&.au\F[]\fR\fI \fR3768 \fI\fIhosts deny\fR\fR\fI = \fR\fI # none (i\&.e\&., no hosts specifically excluded)\fR\fI \fR 3769 .sp 3770 Example: 3771 \fI\fIhosts deny\fR\fR\fI = \fR\fI150\&.203\&.4\&. badhost\&.mynet\&.edu\&.au\fR\fI \fR 4065 3772 .RE 4066 3773 … … 4082 3789 .sp 4083 3790 Example: 4084 \fI\fIidmap alloc backend\fR\fR\fI = \fR\fI \FCtdb\F[]\fR\fI \fR3791 \fI\fIidmap alloc backend\fR\fR\fI = \fR\fItdb\fR\fI \fR 4085 3792 .RE 4086 3793 … … 4124 3831 .sp 4125 3832 Default: 4126 \fI\fIidmap backend\fR\fR\fI = \fR\fI \FCtdb\F[]\fR\fI \fR3833 \fI\fIidmap backend\fR\fR\fI = \fR\fItdb\fR\fI \fR 4127 3834 .RE 4128 3835 … … 4134 3841 .sp 4135 3842 Default: 4136 \fI\fIidmap cache time\fR\fR\fI = \fR\fI \FC604800 (one week)\F[]\fR\fI \fR3843 \fI\fIidmap cache time\fR\fR\fI = \fR\fI604800 (one week)\fR\fI \fR 4137 3844 .RE 4138 3845 … … 4167 3874 .RS 4 4168 3875 .\} 4169 .fam C4170 .ps -14171 3876 .nf 4172 .if t \{\4173 .sp -14174 .\}4175 .BB lightgray adjust-for-leading-newline4176 .sp -14177 4178 3877 idmap backend = tdb 4179 3878 idmap uid = 1000000\-1999999 … … 4183 3882 idmap config CORP : range = 1000\-999999 4184 3883 4185 .EB lightgray adjust-for-leading-newline4186 .if t \{\4187 .sp 14188 .\}4189 3884 .fi 4190 .fam4191 .ps +14192 3885 .if n \{\ 4193 3886 .RE … … 4217 3910 .sp 4218 3911 Default: 4219 \fI\fIidmap gid\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4220 .sp 4221 Example: 4222 \fI\fIidmap gid\fR\fR\fI = \fR\fI \FC10000\-20000\F[]\fR\fI \fR3912 \fI\fIidmap gid\fR\fR\fI = \fR\fI\fR\fI \fR 3913 .sp 3914 Example: 3915 \fI\fIidmap gid\fR\fR\fI = \fR\fI10000\-20000\fR\fI \fR 4223 3916 .RE 4224 3917 … … 4230 3923 .sp 4231 3924 Default: 4232 \fI\fIidmap negative cache time\fR\fR\fI = \fR\fI \FC120\F[]\fR\fI \fR3925 \fI\fIidmap negative cache time\fR\fR\fI = \fR\fI120\fR\fI \fR 4233 3926 .RE 4234 3927 … … 4254 3947 .sp 4255 3948 Default: 4256 \fI\fIidmap uid\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4257 .sp 4258 Example: 4259 \fI\fIidmap uid\fR\fR\fI = \fR\fI \FC10000\-20000\F[]\fR\fI \fR3949 \fI\fIidmap uid\fR\fR\fI = \fR\fI\fR\fI \fR 3950 .sp 3951 Example: 3952 \fI\fIidmap uid\fR\fR\fI = \fR\fI10000\-20000\fR\fI \fR 4260 3953 .RE 4261 3954 … … 4281 3974 .sp 4282 3975 Default: 4283 \fI\fIinclude\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4284 .sp 4285 Example: 4286 \fI\fIinclude\fR\fR\fI = \fR\fI \FC/usr/local/samba/lib/admin_smb\&.conf\F[]\fR\fI \fR3976 \fI\fIinclude\fR\fR\fI = \fR\fI\fR\fI \fR 3977 .sp 3978 Example: 3979 \fI\fIinclude\fR\fR\fI = \fR\fI/usr/local/samba/lib/admin_smb\&.conf\fR\fI \fR 4287 3980 .RE 4288 3981 … … 4294 3987 .sp 4295 3988 Default: 4296 \fI\fIinherit acls\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR3989 \fI\fIinherit acls\fR\fR\fI = \fR\fIno\fR\fI \fR 4297 3990 .RE 4298 3991 … … 4306 3999 .sp 4307 4000 Default: 4308 \fI\fIinherit owner\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4001 \fI\fIinherit owner\fR\fR\fI = \fR\fIno\fR\fI \fR 4309 4002 .RE 4310 4003 … … 4337 4030 .sp 4338 4031 Default: 4339 \fI\fIinherit permissions\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4032 \fI\fIinherit permissions\fR\fR\fI = \fR\fIno\fR\fI \fR 4340 4033 .RE 4341 4034 … … 4351 4044 .sp 4352 4045 Default: 4353 \fI\fIinit logon delayed hosts\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4354 .sp 4355 Example: 4356 \fI\fIinit logon delayed hosts\fR\fR\fI = \fR\fI \FC150\&.203\&.5\&. myhost\&.mynet\&.de\F[]\fR\fI \fR4046 \fI\fIinit logon delayed hosts\fR\fR\fI = \fR\fI\fR\fI \fR 4047 .sp 4048 Example: 4049 \fI\fIinit logon delayed hosts\fR\fR\fI = \fR\fI150\&.203\&.5\&. myhost\&.mynet\&.de\fR\fI \fR 4357 4050 .RE 4358 4051 … … 4365 4058 .sp 4366 4059 Default: 4367 \fI\fIinit logon delay\fR\fR\fI = \fR\fI \FC100\F[]\fR\fI \fR4060 \fI\fIinit logon delay\fR\fR\fI = \fR\fI100\fR\fI \fR 4368 4061 .RE 4369 4062 … … 4429 4122 .sp 4430 4123 Default: 4431 \fI\fIinterfaces\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4432 .sp 4433 Example: 4434 \fI\fIinterfaces\fR\fR\fI = \fR\fI \FCeth0 192\&.168\&.2\&.10/24 192\&.168\&.3\&.10/255\&.255\&.255\&.0\F[]\fR\fI \fR4124 \fI\fIinterfaces\fR\fR\fI = \fR\fI\fR\fI \fR 4125 .sp 4126 Example: 4127 \fI\fIinterfaces\fR\fR\fI = \fR\fIeth0 192\&.168\&.2\&.10/24 192\&.168\&.3\&.10/255\&.255\&.255\&.0\fR\fI \fR 4435 4128 .RE 4436 4129 … … 4455 4148 .sp 4456 4149 Default: 4457 \fI\fIinvalid users\fR\fR\fI = \fR\fI \FC # no invalid users\F[]\fR\fI \fR4458 .sp 4459 Example: 4460 \fI\fIinvalid users\fR\fR\fI = \fR\fI \FCroot fred admin @wheel\F[]\fR\fI \fR4150 \fI\fIinvalid users\fR\fR\fI = \fR\fI # no invalid users\fR\fI \fR 4151 .sp 4152 Example: 4153 \fI\fIinvalid users\fR\fR\fI = \fR\fIroot fred admin @wheel\fR\fI \fR 4461 4154 .RE 4462 4155 … … 4471 4164 .sp 4472 4165 If set, this option overrides the ServerName option in the CUPS 4473 \FCclient\&.conf\F[]\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&.4474 .sp 4475 Default: 4476 \fI\fIiprint server\fR\fR\fI = \fR\fI \FC""\F[]\fR\fI \fR4477 .sp 4478 Example: 4479 \fI\fIiprint server\fR\fR\fI = \fR\fI \FCMYCUPSSERVER\F[]\fR\fI \fR4166 client\&.conf\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&. 4167 .sp 4168 Default: 4169 \fI\fIiprint server\fR\fR\fI = \fR\fI""\fR\fI \fR 4170 .sp 4171 Example: 4172 \fI\fIiprint server\fR\fR\fI = \fR\fIMYCUPSSERVER\fR\fI \fR 4480 4173 .RE 4481 4174 … … 4492 4185 .sp 4493 4186 Default: 4494 \fI\fIkeepalive\fR\fR\fI = \fR\fI \FC300\F[]\fR\fI \fR4495 .sp 4496 Example: 4497 \fI\fIkeepalive\fR\fR\fI = \fR\fI \FC600\F[]\fR\fI \fR4187 \fI\fIkeepalive\fR\fR\fI = \fR\fI300\fR\fI \fR 4188 .sp 4189 Example: 4190 \fI\fIkeepalive\fR\fR\fI = \fR\fI600\fR\fI \fR 4498 4191 .RE 4499 4192 … … 4507 4200 .sp 4508 4201 Default: 4509 \fI\fIkernel change notify\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4202 \fI\fIkernel change notify\fR\fR\fI = \fR\fIyes\fR\fI \fR 4510 4203 .RE 4511 4204 … … 4530 4223 .sp 4531 4224 Default: 4532 \fI\fIkernel oplocks\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4225 \fI\fIkernel oplocks\fR\fR\fI = \fR\fIyes\fR\fI \fR 4533 4226 .RE 4534 4227 … … 4544 4237 .sp 4545 4238 Unlike the 4546 \FCencrypt passwords\F[] 4239 encrypt passwords 4547 4240 option, this parameter cannot alter client behaviour, and the LANMAN response will still be sent over the network\&. See the 4548 \FCclient lanman auth\F[] 4241 client lanman auth 4549 4242 to disable this for Samba\'s clients (such as smbclient) 4550 4243 .sp 4551 4244 If this option, and 4552 \FCntlm auth\F[] 4245 ntlm auth 4553 4246 are both disabled, then only NTLMv2 logins will be permited\&. Not all clients support NTLMv2, and most will require special configuration to use it\&. 4554 4247 .sp 4555 4248 Default: 4556 \fI\fIlanman auth\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4249 \fI\fIlanman auth\fR\fR\fI = \fR\fIno\fR\fI \fR 4557 4250 .RE 4558 4251 … … 4566 4259 .sp 4567 4260 Default: 4568 \fI\fIlarge readwrite\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4261 \fI\fIlarge readwrite\fR\fR\fI = \fR\fIyes\fR\fI \fR 4569 4262 .RE 4570 4263 … … 4578 4271 \m[blue]\fBldap admin dn\fR\m[] 4579 4272 is used in conjunction with the admin dn password stored in the 4580 \FCprivate/secrets\&.tdb\F[] 4273 private/secrets\&.tdb 4581 4274 file\&. See the 4582 4275 \fBsmbpasswd\fR(8) … … 4604 4297 .sp 4605 4298 Default: 4606 \fI\fIldap connection timeout\fR\fR\fI = \fR\fI \FC2\F[]\fR\fI \fR4299 \fI\fIldap connection timeout\fR\fR\fI = \fR\fI2\fR\fI \fR 4607 4300 .RE 4608 4301 … … 4621 4314 .sp 4622 4315 Default: 4623 \fI\fIldap debug level\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR4624 .sp 4625 Example: 4626 \fI\fIldap debug level\fR\fR\fI = \fR\fI \FC1\F[]\fR\fI \fR4316 \fI\fIldap debug level\fR\fR\fI = \fR\fI0\fR\fI \fR 4317 .sp 4318 Example: 4319 \fI\fIldap debug level\fR\fR\fI = \fR\fI1\fR\fI \fR 4627 4320 .RE 4628 4321 … … 4636 4329 .sp 4637 4330 Default: 4638 \fI\fIldap debug threshold\fR\fR\fI = \fR\fI \FC10\F[]\fR\fI \fR4639 .sp 4640 Example: 4641 \fI\fIldap debug threshold\fR\fR\fI = \fR\fI \FC5\F[]\fR\fI \fR4331 \fI\fIldap debug threshold\fR\fR\fI = \fR\fI10\fR\fI \fR 4332 .sp 4333 Example: 4334 \fI\fIldap debug threshold\fR\fR\fI = \fR\fI5\fR\fI \fR 4642 4335 .RE 4643 4336 … … 4649 4342 .sp 4650 4343 Default: 4651 \fI\fIldap delete dn\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4344 \fI\fIldap delete dn\fR\fR\fI = \fR\fIno\fR\fI \fR 4652 4345 .RE 4653 4346 … … 4663 4356 .sp 4664 4357 Default: 4665 \fI\fIldap group suffix\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4666 .sp 4667 Example: 4668 \fI\fIldap group suffix\fR\fR\fI = \fR\fI \FCou=Groups\F[]\fR\fI \fR4358 \fI\fIldap group suffix\fR\fR\fI = \fR\fI\fR\fI \fR 4359 .sp 4360 Example: 4361 \fI\fIldap group suffix\fR\fR\fI = \fR\fIou=Groups\fR\fI \fR 4669 4362 .RE 4670 4363 … … 4680 4373 .sp 4681 4374 Default: 4682 \fI\fIldap idmap suffix\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR4683 .sp 4684 Example: 4685 \fI\fIldap idmap suffix\fR\fR\fI = \fR\fI \FCou=Idmap\F[]\fR\fI \fR4375 \fI\fIldap idmap suffix\fR\fR\fI = \fR\fI\fR\fI \fR 4376 .sp 4377 Example: 4378 \fI\fIldap idmap suffix\fR\fR\fI = \fR\fIou=Idmap\fR\fI \fR 4686 4379 .RE 4687 4380 … … 4697 4390 .sp 4698 4391 Default: 4699 \fI\fIldap machine suffix\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR 4700 .sp 4701 Example: 4702 \fI\fIldap machine suffix\fR\fR\fI = \fR\fI\FCou=Computers\F[]\fR\fI \fR 4392 \fI\fIldap machine suffix\fR\fR\fI = \fR\fI\fR\fI \fR 4393 .sp 4394 Example: 4395 \fI\fIldap machine suffix\fR\fR\fI = \fR\fIou=Computers\fR\fI \fR 4396 .RE 4397 4398 ldap page size (G) 4399 .\" ldap page size 4400 .PP 4401 .RS 4 4402 This parameter specifies the number of entries per page\&. 4403 .sp 4404 If the LDAP server supports paged results, clients can request subsets of search results (pages) instead of the entire list\&. This parameter specifies the size of these pages\&. 4405 .sp 4406 Default: 4407 \fI\fIldap page size\fR\fR\fI = \fR\fI1024\fR\fI \fR 4408 .sp 4409 Example: 4410 \fI\fIldap page size\fR\fR\fI = \fR\fI512\fR\fI \fR 4703 4411 .RE 4704 4412 … … 4750 4458 .RE 4751 4459 Default: 4752 \fI\fIldap passwd sync\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4460 \fI\fIldap passwd sync\fR\fR\fI = \fR\fIno\fR\fI \fR 4753 4461 .RE 4754 4462 … … 4764 4472 .sp 4765 4473 Default: 4766 \fI\fIldap replication sleep\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR4474 \fI\fIldap replication sleep\fR\fR\fI = \fR\fI1000\fR\fI \fR 4767 4475 .RE 4768 4476 … … 4774 4482 .sp 4775 4483 To use this option, a basic ldap tree must be provided and the ldap suffix parameters must be properly configured\&. On virgin servers the default users and groups (Administrator, Guest, Domain Users, Domain Admins, Domain Guests) can be precreated with the command 4776 \FCnet sam provision\F[]\&. To run this command the ldap server must be running, Winindd must be running and the smb\&.conf ldap options must be properly configured\&. The typical ldap setup used with the4484 net sam provision\&. To run this command the ldap server must be running, Winindd must be running and the smb\&.conf ldap options must be properly configured\&. The typical ldap setup used with the 4777 4485 \m[blue]\fBldapsam:trusted = yes\fR\m[] 4778 4486 option is usually sufficient to use … … 4785 4493 .RS 4 4786 4494 .\} 4787 .fam C4788 .ps -14789 4495 .nf 4790 .if t \{\4791 .sp -14792 .\}4793 .BB lightgray adjust-for-leading-newline4794 .sp -14795 4796 4496 encrypt passwords = true 4797 4497 passdb backend = ldapsam … … 4813 4513 idmap gid = 5000\-50000 4814 4514 4815 .EB lightgray adjust-for-leading-newline4816 .if t \{\4817 .sp 14818 .\}4819 4515 .fi 4820 .fam4821 .ps +14822 4516 .if n \{\ 4823 4517 .RE … … 4829 4523 .RS 4 4830 4524 .\} 4831 .fam C4832 .ps -14833 4525 .nf 4834 .if t \{\4835 .sp -14836 .\}4837 .BB lightgray adjust-for-leading-newline4838 .sp -14839 4840 4526 dn: dc=samba,dc=org 4841 4527 objectClass: top … … 4872 4558 ou: computers 4873 4559 4874 .EB lightgray adjust-for-leading-newline4875 .if t \{\4876 .sp 14877 .\}4878 4560 .fi 4879 .fam4880 .ps +14881 4561 .if n \{\ 4882 4562 .RE … … 4884 4564 .sp 4885 4565 Default: 4886 \fI\fIldapsam:editposix\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4566 \fI\fIldapsam:editposix\fR\fR\fI = \fR\fIno\fR\fI \fR 4887 4567 .RE 4888 4568 … … 4900 4580 .sp 4901 4581 Default: 4902 \fI\fIldapsam:trusted\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4582 \fI\fIldapsam:trusted\fR\fR\fI = \fR\fIno\fR\fI \fR 4903 4583 .RE 4904 4584 … … 4920 4600 .sp 4921 4601 Default: 4922 \fI\fIldap ssl ads\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR4602 \fI\fIldap ssl ads\fR\fR\fI = \fR\fIno\fR\fI \fR 4923 4603 .RE 4924 4604 … … 4930 4610 \fINOT\fR 4931 4611 related to Samba\'s previous SSL support which was enabled by specifying the 4932 \ FC\-\-with\-ssl\F[]4612 \-\-with\-ssl 4933 4613 option to the 4934 \FCconfigure\F[] 4614 configure 4935 4615 script\&. 4936 4616 .sp … … 4985 4665 .sp 4986 4666 Default: 4987 \fI\fIldap ssl\fR\fR\fI = \fR\fI \FCstart tls\F[]\fR\fI \fR4667 \fI\fIldap ssl\fR\fR\fI = \fR\fIstart tls\fR\fI \fR 4988 4668 .RE 4989 4669 … … 5002 4682 .sp 5003 4683 Default: 5004 \fI\fIldap suffix\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR5005 .sp 5006 Example: 5007 \fI\fIldap suffix\fR\fR\fI = \fR\fI \FCdc=samba,dc=org\F[]\fR\fI \fR4684 \fI\fIldap suffix\fR\fR\fI = \fR\fI\fR\fI \fR 4685 .sp 4686 Example: 4687 \fI\fIldap suffix\fR\fR\fI = \fR\fIdc=samba,dc=org\fR\fI \fR 5008 4688 .RE 5009 4689 … … 5015 4695 .sp 5016 4696 Default: 5017 \fI\fIldap timeout\fR\fR\fI = \fR\fI \FC15\F[]\fR\fI \fR4697 \fI\fIldap timeout\fR\fR\fI = \fR\fI15\fR\fI \fR 5018 4698 .RE 5019 4699 … … 5029 4709 .sp 5030 4710 Default: 5031 \fI\fIldap user suffix\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR5032 .sp 5033 Example: 5034 \fI\fIldap user suffix\fR\fR\fI = \fR\fI \FCou=people\F[]\fR\fI \fR4711 \fI\fIldap user suffix\fR\fR\fI = \fR\fI\fR\fI \fR 4712 .sp 4713 Example: 4714 \fI\fIldap user suffix\fR\fR\fI = \fR\fIou=people\fR\fI \fR 5035 4715 .RE 5036 4716 … … 5059 4739 .sp 5060 4740 Default: 5061 \fI\fIlevel2 oplocks\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4741 \fI\fIlevel2 oplocks\fR\fR\fI = \fR\fIyes\fR\fI \fR 5062 4742 .RE 5063 4743 … … 5083 4763 .sp 5084 4764 Default: 5085 \fI\fIlm announce\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR5086 .sp 5087 Example: 5088 \fI\fIlm announce\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4765 \fI\fIlm announce\fR\fR\fI = \fR\fIauto\fR\fI \fR 4766 .sp 4767 Example: 4768 \fI\fIlm announce\fR\fR\fI = \fR\fIyes\fR\fI \fR 5089 4769 .RE 5090 4770 … … 5100 4780 .sp 5101 4781 Default: 5102 \fI\fIlm interval\fR\fR\fI = \fR\fI \FC60\F[]\fR\fI \fR5103 .sp 5104 Example: 5105 \fI\fIlm interval\fR\fR\fI = \fR\fI \FC120\F[]\fR\fI \fR4782 \fI\fIlm interval\fR\fR\fI = \fR\fI60\fR\fI \fR 4783 .sp 4784 Example: 4785 \fI\fIlm interval\fR\fR\fI = \fR\fI120\fR\fI \fR 5106 4786 .RE 5107 4787 … … 5115 4795 .sp 5116 4796 Default: 5117 \fI\fIload printers\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4797 \fI\fIload printers\fR\fR\fI = \fR\fIyes\fR\fI \fR 5118 4798 .RE 5119 4799 … … 5127 4807 \fBno\fR 5128 4808 then 5129 \FC nmbd\F[] 4809 nmbd 5130 4810 will not attempt to become a local master browser on a subnet and will also lose in all browsing elections\&. By default this value is set to 5131 4811 \fByes\fR\&. Setting this value to … … 5134 4814 \fIbecome\fR 5135 4815 the local master browser on a subnet, just that 5136 \FCnmbd\F[] 4816 nmbd 5137 4817 will 5138 4818 \fIparticipate\fR … … 5142 4822 \fBno\fR 5143 4823 will cause 5144 \FCnmbd\F[] 4824 nmbd 5145 4825 \fInever\fR 5146 4826 to become a local master browser\&. 5147 4827 .sp 5148 4828 Default: 5149 \fI\fIlocal master\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR4829 \fI\fIlocal master\fR\fR\fI = \fR\fIyes\fR\fI \fR 5150 4830 .RE 5151 4831 … … 5169 4849 .sp 5170 4850 Default: 5171 \fI\fIlock directory\fR\fR\fI = \fR\fI \FC${prefix}/var/locks\F[]\fR\fI \fR5172 .sp 5173 Example: 5174 \fI\fIlock directory\fR\fR\fI = \fR\fI \FC/var/run/samba/locks\F[]\fR\fI \fR4851 \fI\fIlock directory\fR\fR\fI = \fR\fI${prefix}/var/locks\fR\fI \fR 4852 .sp 4853 Example: 4854 \fI\fIlock directory\fR\fR\fI = \fR\fI/var/run/samba/locks\fR\fI \fR 5175 4855 .RE 5176 4856 … … 5182 4862 .sp 5183 4863 If 5184 \FClocking = no\F[], all lock and unlock requests will appear to succeed and all lock queries will report that the file in question is available for locking\&.4864 locking = no, all lock and unlock requests will appear to succeed and all lock queries will report that the file in question is available for locking\&. 5185 4865 .sp 5186 4866 If 5187 \FClocking = yes\F[], real locking will be performed by the server\&.4867 locking = yes, real locking will be performed by the server\&. 5188 4868 .sp 5189 4869 This option … … 5208 4888 .sp 5209 4889 Default: 5210 \fI\fIlock spin count\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR4890 \fI\fIlock spin count\fR\fR\fI = \fR\fI0\fR\fI \fR 5211 4891 .RE 5212 4892 … … 5220 4900 .sp 5221 4901 Default: 5222 \fI\fIlock spin time\fR\fR\fI = \fR\fI \FC200\F[]\fR\fI \fR4902 \fI\fIlock spin time\fR\fR\fI = \fR\fI200\fR\fI \fR 5223 4903 .RE 5224 4904 … … 5234 4914 .sp 5235 4915 Example: 5236 \fI\fIlog file\fR\fR\fI = \fR\fI \FC/usr/local/samba/var/log\&.%m\F[]\fR\fI \fR4916 \fI\fIlog file\fR\fR\fI = \fR\fI/usr/local/samba/var/log\&.%m\fR\fI \fR 5237 4917 .RE 5238 4918 … … 5250 4930 .RS 4 5251 4931 The value of the parameter (a astring) allows the debug level (logging level) to be specified in the 5252 \FCsmb\&.conf\F[] 4932 smb\&.conf 5253 4933 file\&. 5254 4934 .sp … … 5476 5156 .RE 5477 5157 Default: 5478 \fI\fIlog level\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR5479 .sp 5480 Example: 5481 \fI\fIlog level\fR\fR\fI = \fR\fI \FC3 passdb:5 auth:10 winbind:2\F[]\fR\fI \fR5158 \fI\fIlog level\fR\fR\fI = \fR\fI0\fR\fI \fR 5159 .sp 5160 Example: 5161 \fI\fIlog level\fR\fR\fI = \fR\fI3 passdb:5 auth:10 winbind:2\fR\fI \fR 5482 5162 .RE 5483 5163 … … 5492 5172 .sp 5493 5173 Default: 5494 \fI\fIlogon drive\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR5495 .sp 5496 Example: 5497 \fI\fIlogon drive\fR\fR\fI = \fR\fI \FCh:\F[]\fR\fI \fR5174 \fI\fIlogon drive\fR\fR\fI = \fR\fI\fR\fI \fR 5175 .sp 5176 Example: 5177 \fI\fIlogon drive\fR\fR\fI = \fR\fIh:\fR\fI \fR 5498 5178 .RE 5499 5179 … … 5505 5185 .sp 5506 5186 5507 \FCC:\e>\F[]\fBNET USE H: /HOME\fR5187 C:\e>\fBNET USE H: /HOME\fR 5508 5188 .sp 5509 5189 from a command prompt, for example\&. … … 5514 5194 .sp 5515 5195 5516 \FClogon home = \e\e%N\e%U\eprofile\F[] 5196 logon home = \e\e%N\e%U\eprofile 5517 5197 .sp 5518 5198 This tells Samba to return the above string, with substitutions made when a client requests the info, generally in a NetUserGetInfo request\&. Win9X clients truncate the info to \e\eserver\eshare when a user does 5519 \FCnet use /home\F[] 5199 net use /home 5520 5200 but use the whole string when dealing with profiles\&. 5521 5201 .sp … … 5524 5204 was returned rather than 5525 5205 \fIlogon home\fR\&. This broke 5526 \FCnet use /home\F[] 5206 net use /home 5527 5207 but allowed profiles outside the home directory\&. The current implementation is correct, and can be used for profiles if you use the above trick\&. 5528 5208 .sp … … 5534 5214 .sp 5535 5215 Default: 5536 \fI\fIlogon home\fR\fR\fI = \fR\fI\ FC\e\e%N\e%U\F[]\fR\fI \fR5537 .sp 5538 Example: 5539 \fI\fIlogon home\fR\fR\fI = \fR\fI\ FC\e\eremote_smb_server\e%U\F[]\fR\fI \fR5216 \fI\fIlogon home\fR\fR\fI = \fR\fI\e\e%N\e%U\fR\fI \fR 5217 .sp 5218 Example: 5219 \fI\fIlogon home\fR\fR\fI = \fR\fI\e\eremote_smb_server\e%U\fR\fI \fR 5540 5220 .RE 5541 5221 … … 5549 5229 .sp 5550 5230 This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine\&. It also specifies the directory from which the "Application Data", 5551 \FCdesktop\F[],5552 \FCstart menu\F[],5553 \FCnetwork neighborhood\F[],5554 \FCprograms\F[] 5231 desktop, 5232 start menu, 5233 network neighborhood, 5234 programs 5555 5235 and other folders, and their contents, are loaded and displayed on your Windows NT client\&. 5556 5236 .sp … … 5565 5245 .\} 5566 5246 .RS 4 5567 .BM yellow5568 5247 .it 1 an-trap 5569 5248 .nr an-no-space-flag 1 … … 5578 5257 will break profile handling\&. Where the tdbsam or ldapsam passdb backend is used, at the time the user account is created the value configured for this parameter is written to the passdb backend and that value will over\-ride the parameter value present in the smb\&.conf file\&. Any error present in the passdb backend account record must be editted using the appropriate tool (pdbedit on the command\-line, or any other locally provided system tool)\&. 5579 5258 .sp .5v 5580 .EM yellow5581 5259 .RE 5582 5260 Note that this option is only useful if Samba is set up as a domain controller\&. … … 5590 5268 .RS 4 5591 5269 .\} 5592 .fam C5593 .ps -15594 5270 .nf 5595 .if t \{\5596 .sp -15597 .\}5598 .BB lightgray adjust-for-leading-newline5599 .sp -15600 5601 5271 logon path = \e\ePROFILESERVER\ePROFILE\e%U 5602 .EB lightgray adjust-for-leading-newline5603 .if t \{\5604 .sp 15605 .\}5606 5272 .fi 5607 .fam5608 .ps +15609 5273 .if n \{\ 5610 5274 .RE … … 5612 5276 .sp 5613 5277 Default: 5614 \fI\fIlogon path\fR\fR\fI = \fR\fI\ FC\e\e%N\e%U\eprofile\F[]\fR\fI \fR5278 \fI\fIlogon path\fR\fR\fI = \fR\fI\e\e%N\e%U\eprofile\fR\fI \fR 5615 5279 .RE 5616 5280 … … 5619 5283 .PP 5620 5284 .RS 4 5621 This parameter specifies the batch file (\ FC\&.bat\F[]) or NT command file (\FC\&.cmd\F[]) to be downloaded and run on a machine when a user successfully logs in\&. The file must contain the DOS style CR/LF line endings\&. Using a DOS\-style editor to create the file is recommended\&.5285 This parameter specifies the batch file (\&.bat) or NT command file (\&.cmd) to be downloaded and run on a machine when a user successfully logs in\&. The file must contain the DOS style CR/LF line endings\&. Using a DOS\-style editor to create the file is recommended\&. 5622 5286 .sp 5623 5287 The script must be a relative path to the … … 5626 5290 \m[blue]\fBpath\fR\m[] 5627 5291 of 5628 \FC/usr/local/samba/netlogon\F[], and5292 /usr/local/samba/netlogon, and 5629 5293 \m[blue]\fBlogon script = STARTUP\&.BAT\fR\m[], then the file that will be downloaded is: 5630 5294 .sp … … 5632 5296 .RS 4 5633 5297 .\} 5634 .fam C5635 .ps -15636 5298 .nf 5637 .if t \{\5638 .sp -15639 .\}5640 .BB lightgray adjust-for-leading-newline5641 .sp -15642 5643 5299 /usr/local/samba/netlogon/STARTUP\&.BAT 5644 .EB lightgray adjust-for-leading-newline5645 .if t \{\5646 .sp 15647 .\}5648 5300 .fi 5649 .fam5650 .ps +15651 5301 .if n \{\ 5652 5302 .RE … … 5654 5304 .sp 5655 5305 The contents of the batch file are entirely your choice\&. A suggested command would be to add 5656 \FCNET TIME \e\eSERVER /SET /YES\F[], to force every machine to synchronize clocks with the same time server\&. Another use would be to add5657 \FCNET USE U: \e\eSERVER\eUTILS\F[] 5306 NET TIME \e\eSERVER /SET /YES, to force every machine to synchronize clocks with the same time server\&. Another use would be to add 5307 NET USE U: \e\eSERVER\eUTILS 5658 5308 for commonly used utilities, or 5659 5309 .sp … … 5661 5311 .RS 4 5662 5312 .\} 5663 .fam C5664 .ps -15665 5313 .nf 5666 .if t \{\5667 .sp -15668 .\}5669 .BB lightgray adjust-for-leading-newline5670 .sp -15671 5672 5314 \fBNET USE Q: \e\eSERVER\eISO9001_QA\fR 5673 .EB lightgray adjust-for-leading-newline5674 .if t \{\5675 .sp 15676 .\}5677 5315 .fi 5678 .fam5679 .ps +15680 5316 .if n \{\ 5681 5317 .RE … … 5691 5327 .sp 5692 5328 Default: 5693 \fI\fIlogon script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR5694 .sp 5695 Example: 5696 \fI\fIlogon script\fR\fR\fI = \fR\fI \FCscripts\e%U\&.bat\F[]\fR\fI \fR5329 \fI\fIlogon script\fR\fR\fI = \fR\fI\fR\fI \fR 5330 .sp 5331 Example: 5332 \fI\fIlogon script\fR\fR\fI = \fR\fIscripts\e%U\&.bat\fR\fI \fR 5697 5333 .RE 5698 5334 … … 5717 5353 .sp 5718 5354 Default: 5719 \fI\fIlppause command\fR\fR\fI = \fR\fI \FC # Currently no default value is given to this string, unless the value of the \m[blue]\fBprinting\fR\m[] parameter is \fBSYSV\fR, in which case the default is : \FClp \-i %p\-%j \-H hold\F[] or if the value of the \fIprinting\fR parameter is \fBSOFTQ\fR, then the default is: \FCqstat \-s \-j%j \-h\F[]\&. \F[]\fR\fI \fR5720 .sp 5721 Example: 5722 \fI\fIlppause command\fR\fR\fI = \fR\fI \FC/usr/bin/lpalt %p\-%j \-p0\F[]\fR\fI \fR5355 \fI\fIlppause command\fR\fR\fI = \fR\fI # Currently no default value is given to this string, unless the value of the \m[blue]\fBprinting\fR\m[] parameter is \fBSYSV\fR, in which case the default is : lp \-i %p\-%j \-H hold or if the value of the \fIprinting\fR parameter is \fBSOFTQ\fR, then the default is: qstat \-s \-j%j \-h\&. \fR\fI \fR 5356 .sp 5357 Example: 5358 \fI\fIlppause command\fR\fR\fI = \fR\fI/usr/bin/lpalt %p\-%j \-p0\fR\fI \fR 5723 5359 .RE 5724 5360 … … 5728 5364 .RS 4 5729 5365 This controls how long lpq info will be cached for to prevent the 5730 \FClpq\F[] 5366 lpq 5731 5367 command being called too often\&. A separate cache is kept for each variation of the 5732 \FC lpq\F[] 5368 lpq 5733 5369 command used by the system, so if you use different 5734 \FClpq\F[] 5370 lpq 5735 5371 commands for different users then they won\'t share cache information\&. 5736 5372 .sp 5737 5373 The cache files are stored in 5738 \FC/tmp/lpq\&.xxxx\F[] 5374 /tmp/lpq\&.xxxx 5739 5375 where xxxx is a hash of the 5740 \FClpq\F[] 5376 lpq 5741 5377 command in use\&. 5742 5378 .sp 5743 5379 The default is 30 seconds, meaning that the cached results of a previous identical 5744 \FClpq\F[] 5380 lpq 5745 5381 command will be used if the cached data is less than 30 seconds old\&. A large value may be advisable if your 5746 \FClpq\F[] 5382 lpq 5747 5383 command is very slow\&. 5748 5384 .sp … … 5750 5386 .sp 5751 5387 Default: 5752 \fI\fIlpq cache time\fR\fR\fI = \fR\fI \FC30\F[]\fR\fI \fR5753 .sp 5754 Example: 5755 \fI\fIlpq cache time\fR\fR\fI = \fR\fI \FC10\F[]\fR\fI \fR5388 \fI\fIlpq cache time\fR\fR\fI = \fR\fI30\fR\fI \fR 5389 .sp 5390 Example: 5391 \fI\fIlpq cache time\fR\fR\fI = \fR\fI10\fR\fI \fR 5756 5392 .RE 5757 5393 … … 5761 5397 .RS 4 5762 5398 This parameter specifies the command to be executed on the server host in order to obtain 5763 \FClpq \F[]\-style printer status information\&.5399 lpq\-style printer status information\&. 5764 5400 .sp 5765 5401 This command should be a program or script which takes a printer name as its only parameter and outputs printer status information\&. … … 5784 5420 .sp 5785 5421 Default: 5786 \fI\fIlpq command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR5787 .sp 5788 Example: 5789 \fI\fIlpq command\fR\fR\fI = \fR\fI \FC/usr/bin/lpq \-P%p\F[]\fR\fI \fR5422 \fI\fIlpq command\fR\fR\fI = \fR\fI\fR\fI \fR 5423 .sp 5424 Example: 5425 \fI\fIlpq command\fR\fR\fI = \fR\fI/usr/bin/lpq \-P%p\fR\fI \fR 5790 5426 .RE 5791 5427 … … 5819 5455 \fBSYSV\fR, in which case the default is: 5820 5456 .sp 5821 \FClp \-i %p\-%j \-H resume\F[] 5457 lp \-i %p\-%j \-H resume 5822 5458 .sp 5823 5459 or if the value of the … … 5826 5462 \fBSOFTQ\fR, then the default is: 5827 5463 .sp 5828 \FCqstat \-s \-j%j \-r\F[] 5464 qstat \-s \-j%j \-r 5829 5465 .sp 5830 5466 \fINo default\fR 5831 5467 .sp 5832 5468 Example: 5833 \fI\fIlpresume command\fR\fR\fI = \fR\fI \FC/usr/bin/lpalt %p\-%j \-p2\F[]\fR\fI \fR5469 \fI\fIlpresume command\fR\fR\fI = \fR\fI/usr/bin/lpalt %p\-%j \-p2\fR\fI \fR 5834 5470 .RE 5835 5471 … … 5857 5493 .RS 4 5858 5494 .\} 5859 .fam C5860 .ps -15861 5495 .nf 5862 .if t \{\5863 .sp -15864 .\}5865 .BB lightgray adjust-for-leading-newline5866 .sp -15867 5868 5496 lprm command = /usr/bin/lprm \-P%p %j 5869 5497 … … 5871 5499 5872 5500 lprm command = /usr/bin/cancel %p\-%j 5873 .EB lightgray adjust-for-leading-newline5874 .if t \{\5875 .sp 15876 .\}5877 5501 .fi 5878 .fam5879 .ps +15880 5502 .if n \{\ 5881 5503 .RE … … 5883 5505 .sp 5884 5506 Default: 5885 \fI\fIlprm command\fR\fR\fI = \fR\fI \FC determined by printing parameter\F[]\fR\fI \fR5507 \fI\fIlprm command\fR\fR\fI = \fR\fI determined by printing parameter\fR\fI \fR 5886 5508 .RE 5887 5509 … … 5893 5515 \m[blue]\fBsecurity = domain\fR\m[] 5894 5516 parameter) then periodically a running smbd process will try and change the MACHINE ACCOUNT PASSWORD stored in the TDB called 5895 \FCprivate/secrets\&.tdb \F[]\&. This parameter specifies how often this password will be changed, in seconds\&. The default is one week (expressed in seconds), the same as a Windows NT Domain member server\&.5517 private/secrets\&.tdb\&. This parameter specifies how often this password will be changed, in seconds\&. The default is one week (expressed in seconds), the same as a Windows NT Domain member server\&. 5896 5518 .sp 5897 5519 See also … … 5901 5523 .sp 5902 5524 Default: 5903 \fI\fImachine password timeout\fR\fR\fI = \fR\fI \FC604800\F[]\fR\fI \fR5525 \fI\fImachine password timeout\fR\fR\fI = \fR\fI604800\fR\fI \fR 5904 5526 .RE 5905 5527 … … 5915 5537 .\} 5916 5538 .RS 4 5917 .BM yellow5918 5539 .it 1 an-trap 5919 5540 .nr an-no-space-flag 1 … … 5928 5549 in the same directory the output file content is undefined\&. 5929 5550 .sp .5v 5930 .EM yellow 5931 .RE 5932 Default: 5933 \fI\fImagic output\fR\fR\fI = \fR\fI\FC<magic script name>\&.out\F[]\fR\fI \fR 5934 .sp 5935 Example: 5936 \fI\fImagic output\fR\fR\fI = \fR\fI\FCmyfile\&.txt\F[]\fR\fI \fR 5551 .RE 5552 Default: 5553 \fI\fImagic output\fR\fR\fI = \fR\fI<magic script name>\&.out\fR\fI \fR 5554 .sp 5555 Example: 5556 \fI\fImagic output\fR\fR\fI = \fR\fImyfile\&.txt\fR\fI \fR 5937 5557 .RE 5938 5558 … … 5960 5580 .sp 5961 5581 Default: 5962 \fI\fImagic script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR5963 .sp 5964 Example: 5965 \fI\fImagic script\fR\fR\fI = \fR\fI \FCuser\&.csh\F[]\fR\fI \fR5582 \fI\fImagic script\fR\fR\fI = \fR\fI\fR\fI \fR 5583 .sp 5584 Example: 5585 \fI\fImagic script\fR\fR\fI = \fR\fIuser\&.csh\fR\fI \fR 5966 5586 .RE 5967 5587 … … 6022 5642 .sp 6023 5643 Default: 6024 \fI\fImangled names\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR5644 \fI\fImangled names\fR\fR\fI = \fR\fIyes\fR\fI \fR 6025 5645 .RE 6026 5646 … … 6034 5654 .sp 6035 5655 Default: 6036 \fI\fImangle prefix\fR\fR\fI = \fR\fI \FC1\F[]\fR\fI \fR6037 .sp 6038 Example: 6039 \fI\fImangle prefix\fR\fR\fI = \fR\fI \FC4\F[]\fR\fI \fR5656 \fI\fImangle prefix\fR\fR\fI = \fR\fI1\fR\fI \fR 5657 .sp 5658 Example: 5659 \fI\fImangle prefix\fR\fR\fI = \fR\fI4\fR\fI \fR 6040 5660 .RE 6041 5661 … … 6050 5670 .sp 6051 5671 Default: 6052 \fI\fImangling char\fR\fR\fI = \fR\fI \FC~\F[]\fR\fI \fR6053 .sp 6054 Example: 6055 \fI\fImangling char\fR\fR\fI = \fR\fI \FC^\F[]\fR\fI \fR5672 \fI\fImangling char\fR\fR\fI = \fR\fI~\fR\fI \fR 5673 .sp 5674 Example: 5675 \fI\fImangling char\fR\fR\fI = \fR\fI^\fR\fI \fR 6056 5676 .RE 6057 5677 … … 6063 5683 .sp 6064 5684 Default: 6065 \fI\fImangling method\fR\fR\fI = \fR\fI \FChash2\F[]\fR\fI \fR6066 .sp 6067 Example: 6068 \fI\fImangling method\fR\fR\fI = \fR\fI \FChash\F[]\fR\fI \fR5685 \fI\fImangling method\fR\fR\fI = \fR\fIhash2\fR\fI \fR 5686 .sp 5687 Example: 5688 \fI\fImangling method\fR\fR\fI = \fR\fIhash\fR\fI \fR 6069 5689 .RE 6070 5690 … … 6078 5698 .sp 6079 5699 Default: 6080 \fI\fImap acl inherit\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR5700 \fI\fImap acl inherit\fR\fR\fI = \fR\fIno\fR\fI \fR 6081 5701 .RE 6082 5702 … … 6094 5714 .sp 6095 5715 Default: 6096 \fI\fImap archive\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR5716 \fI\fImap archive\fR\fR\fI = \fR\fIyes\fR\fI \fR 6097 5717 .RE 6098 5718 … … 6176 5796 .RE 6177 5797 Default: 6178 \fI\fImap read only\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR5798 \fI\fImap read only\fR\fR\fI = \fR\fIyes\fR\fI \fR 6179 5799 .RE 6180 5800 … … 6192 5812 .sp 6193 5813 Default: 6194 \fI\fImap system\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR5814 \fI\fImap system\fR\fR\fI = \fR\fIno\fR\fI \fR 6195 5815 .RE 6196 5816 … … 6282 5902 .sp 6283 5903 Default: 6284 \fI\fImap to guest\fR\fR\fI = \fR\fI \FCNever\F[]\fR\fI \fR6285 .sp 6286 Example: 6287 \fI\fImap to guest\fR\fR\fI = \fR\fI \FCBad User\F[]\fR\fI \fR5904 \fI\fImap to guest\fR\fR\fI = \fR\fINever\fR\fI \fR 5905 .sp 5906 Example: 5907 \fI\fImap to guest\fR\fR\fI = \fR\fIBad User\fR\fI \fR 6288 5908 .RE 6289 5909 … … 6301 5921 .sp 6302 5922 Default: 6303 \fI\fImax connections\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6304 .sp 6305 Example: 6306 \fI\fImax connections\fR\fR\fI = \fR\fI \FC10\F[]\fR\fI \fR5923 \fI\fImax connections\fR\fR\fI = \fR\fI0\fR\fI \fR 5924 .sp 5925 Example: 5926 \fI\fImax connections\fR\fR\fI = \fR\fI10\fR\fI \fR 6307 5927 .RE 6308 5928 … … 6323 5943 .sp 6324 5944 Default: 6325 \fI\fImax disk size\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6326 .sp 6327 Example: 6328 \fI\fImax disk size\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR5945 \fI\fImax disk size\fR\fR\fI = \fR\fI0\fR\fI \fR 5946 .sp 5947 Example: 5948 \fI\fImax disk size\fR\fR\fI = \fR\fI1000\fR\fI \fR 6329 5949 .RE 6330 5950 … … 6334 5954 .RS 4 6335 5955 This option (an integer in kilobytes) specifies the max size the log file should grow to\&. Samba periodically checks the size and if it is exceeded it will rename the file, adding a 6336 \ FC\&.old\F[]5956 \&.old 6337 5957 extension\&. 6338 5958 .sp … … 6340 5960 .sp 6341 5961 Default: 6342 \fI\fImax log size\fR\fR\fI = \fR\fI \FC5000\F[]\fR\fI \fR6343 .sp 6344 Example: 6345 \fI\fImax log size\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR5962 \fI\fImax log size\fR\fR\fI = \fR\fI5000\fR\fI \fR 5963 .sp 5964 Example: 5965 \fI\fImax log size\fR\fR\fI = \fR\fI1000\fR\fI \fR 6346 5966 .RE 6347 5967 … … 6353 5973 .sp 6354 5974 Default: 6355 \fI\fImax mux\fR\fR\fI = \fR\fI \FC50\F[]\fR\fI \fR5975 \fI\fImax mux\fR\fR\fI = \fR\fI50\fR\fI \fR 6356 5976 .RE 6357 5977 … … 6367 5987 .sp 6368 5988 Default: 6369 \fI\fImax open files\fR\fR\fI = \fR\fI \FC10000\F[]\fR\fI \fR5989 \fI\fImax open files\fR\fR\fI = \fR\fI10000\fR\fI \fR 6370 5990 .RE 6371 5991 … … 6379 5999 .sp 6380 6000 Default: 6381 \fI\fImax print jobs\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR6382 .sp 6383 Example: 6384 \fI\fImax print jobs\fR\fR\fI = \fR\fI \FC5000\F[]\fR\fI \fR6001 \fI\fImax print jobs\fR\fR\fI = \fR\fI1000\fR\fI \fR 6002 .sp 6003 Example: 6004 \fI\fImax print jobs\fR\fR\fI = \fR\fI5000\fR\fI \fR 6385 6005 .RE 6386 6006 … … 6461 6081 .sp 6462 6082 Default: 6463 \fI\fImax protocol\fR\fR\fI = \fR\fI \FCNT1\F[]\fR\fI \fR6464 .sp 6465 Example: 6466 \fI\fImax protocol\fR\fR\fI = \fR\fI \FCLANMAN1\F[]\fR\fI \fR6083 \fI\fImax protocol\fR\fR\fI = \fR\fINT1\fR\fI \fR 6084 .sp 6085 Example: 6086 \fI\fImax protocol\fR\fR\fI = \fR\fILANMAN1\fR\fI \fR 6467 6087 .RE 6468 6088 … … 6474 6094 .sp 6475 6095 Default: 6476 \fI\fImax reported print jobs\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6477 .sp 6478 Example: 6479 \fI\fImax reported print jobs\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR6096 \fI\fImax reported print jobs\fR\fR\fI = \fR\fI0\fR\fI \fR 6097 .sp 6098 Example: 6099 \fI\fImax reported print jobs\fR\fR\fI = \fR\fI1000\fR\fI \fR 6480 6100 .RE 6481 6101 … … 6491 6111 .sp 6492 6112 Default: 6493 \fI\fImax smbd processes\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6494 .sp 6495 Example: 6496 \fI\fImax smbd processes\fR\fR\fI = \fR\fI \FC1000\F[]\fR\fI \fR6113 \fI\fImax smbd processes\fR\fR\fI = \fR\fI0\fR\fI \fR 6114 .sp 6115 Example: 6116 \fI\fImax smbd processes\fR\fR\fI = \fR\fI1000\fR\fI \fR 6497 6117 .RE 6498 6118 … … 6506 6126 .sp 6507 6127 Default: 6508 \fI\fImax stat cache size\fR\fR\fI = \fR\fI \FC256\F[]\fR\fI \fR6509 .sp 6510 Example: 6511 \fI\fImax stat cache size\fR\fR\fI = \fR\fI \FC100\F[]\fR\fI \fR6128 \fI\fImax stat cache size\fR\fR\fI = \fR\fI256\fR\fI \fR 6129 .sp 6130 Example: 6131 \fI\fImax stat cache size\fR\fR\fI = \fR\fI100\fR\fI \fR 6512 6132 .RE 6513 6133 … … 6519 6139 \fBnmbd\fR(8) 6520 6140 what the default \'time to live\' of NetBIOS names should be (in seconds) when 6521 \FCnmbd\F[] 6141 nmbd 6522 6142 is requesting a name using either a broadcast packet or from a WINS server\&. You should never need to change this parameter\&. The default is 3 days\&. 6523 6143 .sp 6524 6144 Default: 6525 \fI\fImax ttl\fR\fR\fI = \fR\fI \FC259200\F[]\fR\fI \fR6145 \fI\fImax ttl\fR\fR\fI = \fR\fI259200\fR\fI \fR 6526 6146 .RE 6527 6147 … … 6533 6153 \fBsmbd\fR(8) 6534 6154 when acting as a WINS server (\m[blue]\fBwins support = yes\fR\m[]) what the maximum \'time to live\' of NetBIOS names that 6535 \FCnmbd\F[] 6155 nmbd 6536 6156 will grant will be (in seconds)\&. You should never need to change this parameter\&. The default is 6 days (518400 seconds)\&. 6537 6157 .sp 6538 6158 Default: 6539 \fI\fImax wins ttl\fR\fR\fI = \fR\fI \FC518400\F[]\fR\fI \fR6159 \fI\fImax wins ttl\fR\fR\fI = \fR\fI518400\fR\fI \fR 6540 6160 .RE 6541 6161 … … 6547 6167 .sp 6548 6168 Default: 6549 \fI\fImax xmit\fR\fR\fI = \fR\fI \FC16644\F[]\fR\fI \fR6550 .sp 6551 Example: 6552 \fI\fImax xmit\fR\fR\fI = \fR\fI \FC8192\F[]\fR\fI \fR6169 \fI\fImax xmit\fR\fR\fI = \fR\fI16644\fR\fI \fR 6170 .sp 6171 Example: 6172 \fI\fImax xmit\fR\fR\fI = \fR\fI8192\fR\fI \fR 6553 6173 .RE 6554 6174 … … 6566 6186 .RS 4 6567 6187 .\} 6568 .fam C6569 .ps -16570 6188 .nf 6571 .if t \{\ 6572 .sp -1 6573 .\} 6574 .BB lightgray adjust-for-leading-newline 6575 .sp -1 6576 6577 \FCmessage command = csh \-c \'xedit %s;rm %s\' &\F[] 6578 .EB lightgray adjust-for-leading-newline 6579 .if t \{\ 6580 .sp 1 6581 .\} 6189 message command = csh \-c \'xedit %s;rm %s\' & 6582 6190 .fi 6583 .fam6584 .ps +16585 6191 .if n \{\ 6586 6192 .RE … … 6588 6194 .sp 6589 6195 This delivers the message using 6590 \FCxedit\F[], then removes it afterwards\&.6196 xedit, then removes it afterwards\&. 6591 6197 \fINOTE THAT IT IS VERY IMPORTANT THAT THIS COMMAND RETURN IMMEDIATELY\fR\&. That\'s why I have the \'&\' on the end\&. If it doesn\'t return immediately then your PCs may freeze when sending messages (they should recover after 30 seconds, hopefully)\&. 6592 6198 .sp … … 6641 6247 .RS 4 6642 6248 .\} 6643 .fam C6644 .ps -16645 6249 .nf 6646 .if t \{\ 6647 .sp -1 6648 .\} 6649 .BB lightgray adjust-for-leading-newline 6650 .sp -1 6651 6652 \FCmessage command = /bin/mail \-s \'message from %f on %m\' root < %s; rm %s\F[] 6653 .EB lightgray adjust-for-leading-newline 6654 .if t \{\ 6655 .sp 1 6656 .\} 6250 message command = /bin/mail \-s \'message from %f on %m\' root < %s; rm %s 6657 6251 .fi 6658 .fam6659 .ps +16660 6252 .if n \{\ 6661 6253 .RE … … 6669 6261 .RS 4 6670 6262 .\} 6671 .fam C6672 .ps -16673 6263 .nf 6674 .if t \{\ 6675 .sp -1 6676 .\} 6677 .BB lightgray adjust-for-leading-newline 6678 .sp -1 6679 6680 \FCmessage command = rm %s\F[] 6681 .EB lightgray adjust-for-leading-newline 6682 .if t \{\ 6683 .sp 1 6684 .\} 6264 message command = rm %s 6685 6265 .fi 6686 .fam6687 .ps +16688 6266 .if n \{\ 6689 6267 .RE … … 6691 6269 .sp 6692 6270 Default: 6693 \fI\fImessage command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR6694 .sp 6695 Example: 6696 \fI\fImessage command\fR\fR\fI = \fR\fI \FCcsh \-c \'xedit %s; rm %s\' &\F[]\fR\fI \fR6271 \fI\fImessage command\fR\fR\fI = \fR\fI\fR\fI \fR 6272 .sp 6273 Example: 6274 \fI\fImessage command\fR\fR\fI = \fR\fIcsh \-c \'xedit %s; rm %s\' &\fR\fI \fR 6697 6275 .RE 6698 6276 … … 6704 6282 .sp 6705 6283 Default: 6706 \fI\fImin print space\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6707 .sp 6708 Example: 6709 \fI\fImin print space\fR\fR\fI = \fR\fI \FC2000\F[]\fR\fI \fR6284 \fI\fImin print space\fR\fR\fI = \fR\fI0\fR\fI \fR 6285 .sp 6286 Example: 6287 \fI\fImin print space\fR\fR\fI = \fR\fI2000\fR\fI \fR 6710 6288 .RE 6711 6289 … … 6717 6295 \m[blue]\fBmax protocol\fR\m[] 6718 6296 parameter for a list of valid protocol names and a brief description of each\&. You may also wish to refer to the C source code in 6719 \FCsource/smbd/negprot\&.c\F[] 6297 source/smbd/negprot\&.c 6720 6298 for a listing of known protocol dialects supported by clients\&. 6721 6299 .sp … … 6725 6303 .sp 6726 6304 Default: 6727 \fI\fImin protocol\fR\fR\fI = \fR\fI \FCCORE\F[]\fR\fI \fR6728 .sp 6729 Example: 6730 \fI\fImin protocol\fR\fR\fI = \fR\fI \FCNT1\F[]\fR\fI \fR6305 \fI\fImin protocol\fR\fR\fI = \fR\fICORE\fR\fI \fR 6306 .sp 6307 Example: 6308 \fI\fImin protocol\fR\fR\fI = \fR\fINT1\fR\fI \fR 6731 6309 .RE 6732 6310 … … 6744 6322 .sp 6745 6323 Default: 6746 \fI\fImin receivefile size\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6324 \fI\fImin receivefile size\fR\fR\fI = \fR\fI0\fR\fI \fR 6747 6325 .RE 6748 6326 … … 6754 6332 \fBnmbd\fR(8) 6755 6333 when acting as a WINS server (\m[blue]\fBwins support = yes\fR\m[]) what the minimum \'time to live\' of NetBIOS names that 6756 \FCnmbd\F[] 6334 nmbd 6757 6335 will grant will be (in seconds)\&. You should never need to change this parameter\&. The default is 6 hours (21600 seconds)\&. 6758 6336 .sp 6759 6337 Default: 6760 \fI\fImin wins ttl\fR\fR\fI = \fR\fI \FC21600\F[]\fR\fI \fR6338 \fI\fImin wins ttl\fR\fR\fI = \fR\fI21600\fR\fI \fR 6761 6339 .RE 6762 6340 … … 6776 6354 .sp 6777 6355 Example: 6778 \fI\fImsdfs proxy\fR\fR\fI = \fR\fI\ FC\eotherserver\esomeshare\F[]\fR\fI \fR6356 \fI\fImsdfs proxy\fR\fR\fI = \fR\fI\eotherserver\esomeshare\fR\fI \fR 6779 6357 .RE 6780 6358 … … 6785 6363 If set to 6786 6364 \fByes\fR, Samba treats the share as a Dfs root and allows clients to browse the distributed file system tree rooted at the share directory\&. Dfs links are specified in the share directory by symbolic links of the form 6787 \FCmsdfs:serverA\e\eshareA,serverB\e\eshareB\F[] 6365 msdfs:serverA\e\eshareA,serverB\e\eshareB 6788 6366 and so on\&. For more information on setting up a Dfs tree on Samba, refer to the MSDFS chapter in the Samba3\-HOWTO book\&. 6789 6367 .sp 6790 6368 Default: 6791 \fI\fImsdfs root\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6369 \fI\fImsdfs root\fR\fR\fI = \fR\fIno\fR\fI \fR 6792 6370 .RE 6793 6371 … … 6799 6377 .sp 6800 6378 Default: 6801 \fI\fIname cache timeout\fR\fR\fI = \fR\fI \FC660\F[]\fR\fI \fR6802 .sp 6803 Example: 6804 \fI\fIname cache timeout\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR6379 \fI\fIname cache timeout\fR\fR\fI = \fR\fI660\fR\fI \fR 6380 .sp 6381 Example: 6382 \fI\fIname cache timeout\fR\fR\fI = \fR\fI0\fR\fI \fR 6805 6383 .RE 6806 6384 … … 6837 6415 \fBhost\fR 6838 6416 : Do a standard host name to IP address resolution, using the system 6839 \FC/etc/hosts \F[], NIS, or DNS lookups\&. This method of name resolution is operating system depended for instance on IRIX or Solaris this may be controlled by the6840 \FC/etc/nsswitch\&.conf\F[] 6417 /etc/hosts, NIS, or DNS lookups\&. This method of name resolution is operating system depended for instance on IRIX or Solaris this may be controlled by the 6418 /etc/nsswitch\&.conf 6841 6419 file\&. Note that this method is used only if the NetBIOS name type being queried is the 0x20 (server) name type or 0x1c (domain controllers)\&. The latter case is only useful for active directory domains and results in a DNS query for the SRV RR entry matching _ldap\&._tcp\&.domain\&. 6842 6420 .RE … … 6872 6450 The example below will cause the local lmhosts file to be examined first, followed by a broadcast attempt, followed by a normal system hostname lookup\&. 6873 6451 .sp 6874 When Samba is functioning in ADS security mode ( \FCsecurity = ads\F[]) it is advised to use following settings for6452 When Samba is functioning in ADS security mode (security = ads) it is advised to use following settings for 6875 6453 \fIname resolve order\fR: 6876 6454 .sp 6877 \FCname resolve order = wins bcast\F[] 6455 name resolve order = wins bcast 6878 6456 .sp 6879 6457 DC lookups will still be done via DNS, but fallbacks to netbios names will not inundate your DNS servers with needless querys for DOMAIN<0x1c> lookups\&. 6880 6458 .sp 6881 6459 Default: 6882 \fI\fIname resolve order\fR\fR\fI = \fR\fI \FClmhosts host wins bcast\F[]\fR\fI \fR6883 .sp 6884 Example: 6885 \fI\fIname resolve order\fR\fR\fI = \fR\fI \FClmhosts bcast host\F[]\fR\fI \fR6460 \fI\fIname resolve order\fR\fR\fI = \fR\fIlmhosts host wins bcast\fR\fI \fR 6461 .sp 6462 Example: 6463 \fI\fIname resolve order\fR\fR\fI = \fR\fIlmhosts bcast host\fR\fI \fR 6886 6464 .RE 6887 6465 … … 6893 6471 .sp 6894 6472 Default: 6895 \fI\fInetbios aliases\fR\fR\fI = \fR\fI \FC # empty string (no additional names)\F[]\fR\fI \fR6896 .sp 6897 Example: 6898 \fI\fInetbios aliases\fR\fR\fI = \fR\fI \FCTEST TEST1 TEST2\F[]\fR\fI \fR6473 \fI\fInetbios aliases\fR\fR\fI = \fR\fI # empty string (no additional names)\fR\fI \fR 6474 .sp 6475 Example: 6476 \fI\fInetbios aliases\fR\fR\fI = \fR\fITEST TEST1 TEST2\fR\fI \fR 6899 6477 .RE 6900 6478 … … 6906 6484 .sp 6907 6485 There is a bug in Samba\-3 that breaks operation of browsing and access to shares if the netbios name is set to the literal name 6908 \FCPIPE\F[]\&. To avoid this problem, do not name your Samba\-3 server6909 \FCPIPE\F[]\&.6910 .sp 6911 Default: 6912 \fI\fInetbios name\fR\fR\fI = \fR\fI \FC # machine DNS name\F[]\fR\fI \fR6913 .sp 6914 Example: 6915 \fI\fInetbios name\fR\fR\fI = \fR\fI \FCMYNAME\F[]\fR\fI \fR6486 PIPE\&. To avoid this problem, do not name your Samba\-3 server 6487 PIPE\&. 6488 .sp 6489 Default: 6490 \fI\fInetbios name\fR\fR\fI = \fR\fI # machine DNS name\fR\fI \fR 6491 .sp 6492 Example: 6493 \fI\fInetbios name\fR\fR\fI = \fR\fIMYNAME\fR\fI \fR 6916 6494 .RE 6917 6495 … … 6923 6501 .sp 6924 6502 Default: 6925 \fI\fInetbios scope\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR6503 \fI\fInetbios scope\fR\fR\fI = \fR\fI\fR\fI \fR 6926 6504 .RE 6927 6505 … … 6941 6519 .sp 6942 6520 Default: 6943 \fI\fInis homedir\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6521 \fI\fInis homedir\fR\fR\fI = \fR\fIno\fR\fI \fR 6944 6522 .RE 6945 6523 … … 6953 6531 .sp 6954 6532 Default: 6955 \fI\fInt acl support\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR6533 \fI\fInt acl support\fR\fR\fI = \fR\fIyes\fR\fI \fR 6956 6534 .RE 6957 6535 … … 6965 6543 .sp 6966 6544 If this option, and 6967 \FClanman auth\F[] 6545 lanman auth 6968 6546 are both disabled, then only NTLMv2 logins will be permited\&. Not all clients support NTLMv2, and most will require special configuration to use it\&. 6969 6547 .sp 6970 6548 Default: 6971 \fI\fIntlm auth\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR6549 \fI\fIntlm auth\fR\fR\fI = \fR\fIyes\fR\fI \fR 6972 6550 .RE 6973 6551 … … 6983 6561 .sp 6984 6562 Default: 6985 \fI\fInt pipe support\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR6563 \fI\fInt pipe support\fR\fR\fI = \fR\fIyes\fR\fI \fR 6986 6564 .RE 6987 6565 … … 6999 6577 .sp 7000 6578 Default: 7001 \fI\fInt status support\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR6579 \fI\fInt status support\fR\fR\fI = \fR\fIyes\fR\fI \fR 7002 6580 .RE 7003 6581 … … 7012 6590 .sp 7013 6591 Default: 7014 \fI\fInull passwords\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6592 \fI\fInull passwords\fR\fR\fI = \fR\fIno\fR\fI \fR 7015 6593 .RE 7016 6594 … … 7023 6601 .sp 7024 6602 Default: 7025 \fI\fIobey pam restrictions\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6603 \fI\fIobey pam restrictions\fR\fR\fI = \fR\fIno\fR\fI \fR 7026 6604 .RE 7027 6605 … … 7039 6617 .sp 7040 6618 Note that this also means Samba won\'t try to deduce usernames from the service name\&. This can be annoying for the [homes] section\&. To get around this you could use 7041 \FCuser = %S\F[] 6619 user = %S 7042 6620 which means your 7043 6621 \fIuser\fR … … 7045 6623 .sp 7046 6624 Default: 7047 \fI\fIonly user\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6625 \fI\fIonly user\fR\fR\fI = \fR\fIno\fR\fI \fR 7048 6626 .RE 7049 6627 … … 7057 6635 .\} 7058 6636 .RS 4 7059 .BM yellow7060 6637 .it 1 an-trap 7061 6638 .nr an-no-space-flag 1 … … 7068 6645 DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE\&. 7069 6646 .sp .5v 7070 .EM yellow 7071 .RE 7072 Default: 7073 \fI\fIoplock break wait time\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR 6647 .RE 6648 Default: 6649 \fI\fIoplock break wait time\fR\fR\fI = \fR\fI0\fR\fI \fR 7074 6650 .RE 7075 6651 … … 7086 6662 In brief it specifies a number, which causes 7087 6663 \fBsmbd\fR(8)not to grant an oplock even when requested if the approximate number of clients contending for an oplock on the same file goes over this limit\&. This causes 7088 \FCsmbd\F[] 6664 smbd 7089 6665 to behave in a similar way to Windows NT\&. 7090 6666 .if n \{\ … … 7092 6668 .\} 7093 6669 .RS 4 7094 .BM yellow7095 6670 .it 1 an-trap 7096 6671 .nr an-no-space-flag 1 … … 7103 6678 DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE\&. 7104 6679 .sp .5v 7105 .EM yellow 7106 .RE 7107 Default: 7108 \fI\fIoplock contention limit\fR\fR\fI = \fR\fI\FC2\F[]\fR\fI \fR 6680 .RE 6681 Default: 6682 \fI\fIoplock contention limit\fR\fR\fI = \fR\fI2\fR\fI \fR 7109 6683 .RE 7110 6684 … … 7114 6688 .RS 4 7115 6689 This boolean option tells 7116 \FCsmbd\F[] 6690 smbd 7117 6691 whether to issue oplocks (opportunistic locks) to file open requests on this share\&. The oplock code can dramatically (approx\&. 30% or more) improve the speed of access to files on Samba servers\&. It allows the clients to aggressively cache files locally and you may want to disable this option for unreliable network environments (it is turned on by default in Windows NT Servers)\&. For more information see the file 7118 \FCSpeed\&.txt\F[] 6692 Speed\&.txt 7119 6693 in the Samba 7120 \FCdocs/\F[] 6694 docs/ 7121 6695 directory\&. 7122 6696 .sp … … 7128 6702 .sp 7129 6703 Default: 7130 \fI\fIoplocks\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR6704 \fI\fIoplocks\fR\fR\fI = \fR\fIyes\fR\fI \fR 7131 6705 .RE 7132 6706 … … 7140 6714 .sp 7141 6715 For example, a valid entry using the HP LaserJet 5 printer driver would appear as 7142 \FCHP LaserJet 5L = LASERJET\&.HP LaserJet 5L\F[]\&.6716 HP LaserJet 5L = LASERJET\&.HP LaserJet 5L\&. 7143 6717 .sp 7144 6718 The need for the file is due to the printer driver namespace problem described in the chapter on Classical Printing in the Samba3\-HOWTO book\&. For more details on OS/2 clients, please refer to chapter on other clients in the Samba3\-HOWTO book\&. 7145 6719 .sp 7146 6720 Default: 7147 \fI\fIos2 driver map\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR6721 \fI\fIos2 driver map\fR\fR\fI = \fR\fI\fR\fI \fR 7148 6722 .RE 7149 6723 … … 7164 6738 .sp 7165 6739 Default: 7166 \fI\fIos level\fR\fR\fI = \fR\fI \FC20\F[]\fR\fI \fR7167 .sp 7168 Example: 7169 \fI\fIos level\fR\fR\fI = \fR\fI \FC65\F[]\fR\fI \fR6740 \fI\fIos level\fR\fR\fI = \fR\fI20\fR\fI \fR 6741 .sp 6742 Example: 6743 \fI\fIos level\fR\fR\fI = \fR\fI65\fR\fI \fR 7170 6744 .RE 7171 6745 … … 7180 6754 .sp 7181 6755 Default: 7182 \fI\fIpam password change\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6756 \fI\fIpam password change\fR\fR\fI = \fR\fIno\fR\fI \fR 7183 6757 .RE 7184 6758 … … 7194 6768 .sp 7195 6769 Default: 7196 \fI\fIpanic action\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7197 .sp 7198 Example: 7199 \fI\fIpanic action\fR\fR\fI = \fR\fI \FC"/bin/sleep 90000"\F[]\fR\fI \fR6770 \fI\fIpanic action\fR\fR\fI = \fR\fI\fR\fI \fR 6771 .sp 6772 Example: 6773 \fI\fIpanic action\fR\fR\fI = \fR\fI"/bin/sleep 90000"\fR\fI \fR 7200 6774 .RE 7201 6775 … … 7209 6783 .sp 7210 6784 Default: 7211 \fI\fIparanoid server security\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR6785 \fI\fIparanoid server security\fR\fR\fI = \fR\fIyes\fR\fI \fR 7212 6786 .RE 7213 6787 … … 7230 6804 .IP \(bu 2.3 7231 6805 .\} 7232 \FCsmbpasswd\F[] 6806 smbpasswd 7233 6807 \- The default smbpasswd backend\&. Takes a path to the smbpasswd file as an optional argument\&. 7234 6808 .RE … … 7242 6816 .IP \(bu 2.3 7243 6817 .\} 7244 \FCtdbsam\F[] 6818 tdbsam 7245 6819 \- The TDB based password storage backend\&. Takes a path to the TDB as an optional argument (defaults to passdb\&.tdb in the 7246 6820 \m[blue]\fBprivate dir\fR\m[] … … 7256 6830 .IP \(bu 2.3 7257 6831 .\} 7258 \FCldapsam\F[] 6832 ldapsam 7259 6833 \- The LDAP based passdb backend\&. Takes an LDAP URL as an optional argument (defaults to 7260 \FCldap://localhost\F[])6834 ldap://localhost) 7261 6835 .sp 7262 6836 LDAP connections should be secured where possible\&. This may be done using either Start\-TLS (see … … 7274 6848 .RS 4 7275 6849 .\} 7276 .fam C7277 .ps -17278 6850 .nf 7279 .if t \{\7280 .sp -17281 .\}7282 .BB lightgray adjust-for-leading-newline7283 .sp -17284 7285 6851 passdb backend = tdbsam:/etc/samba/private/passdb\&.tdb 7286 6852 … … 7292 6858 7293 6859 passdb backend = ldapsam:"ldap://ldap\-1\&.example\&.com ldap\-2\&.example\&.com" 7294 .EB lightgray adjust-for-leading-newline7295 .if t \{\7296 .sp 17297 .\}7298 6860 .fi 7299 .fam7300 .ps +17301 6861 .if n \{\ 7302 6862 .RE … … 7304 6864 .sp 7305 6865 Default: 7306 \fI\fIpassdb backend\fR\fR\fI = \fR\fI \FCsmbpasswd\F[]\fR\fI \fR6866 \fI\fIpassdb backend\fR\fR\fI = \fR\fIsmbpasswd\fR\fI \fR 7307 6867 .RE 7308 6868 … … 7314 6874 .sp 7315 6875 Default: 7316 \fI\fIpassdb expand explicit\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6876 \fI\fIpassdb expand explicit\fR\fR\fI = \fR\fIno\fR\fI \fR 7317 6877 .RE 7318 6878 … … 7328 6888 \m[blue]\fBdebug level\fR\m[] 7329 6889 of 100\&. This is a dangerous option as it will allow plaintext passwords to be seen in the 7330 \FCsmbd\F[] 6890 smbd 7331 6891 log\&. It is available to help Samba admins debug their 7332 6892 \fIpasswd chat\fR … … 7338 6898 .sp 7339 6899 Default: 7340 \fI\fIpasswd chat debug\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR6900 \fI\fIpasswd chat debug\fR\fR\fI = \fR\fIno\fR\fI \fR 7341 6901 .RE 7342 6902 … … 7348 6908 .sp 7349 6909 Default: 7350 \fI\fIpasswd chat timeout\fR\fR\fI = \fR\fI \FC2\F[]\fR\fI \fR6910 \fI\fIpasswd chat timeout\fR\fR\fI = \fR\fI2\fR\fI \fR 7351 6911 .RE 7352 6912 … … 7390 6950 .sp 7391 6951 Default: 7392 \fI\fIpasswd chat\fR\fR\fI = \fR\fI \FC*new*password* %n\en*new*password* %n\en *changed*\F[]\fR\fI \fR7393 .sp 7394 Example: 7395 \fI\fIpasswd chat\fR\fR\fI = \fR\fI \FC"*Enter NEW password*" %n\en "*Reenter NEW password*" %n\en "*Password changed*"\F[]\fR\fI \fR6952 \fI\fIpasswd chat\fR\fR\fI = \fR\fI*new*password* %n\en*new*password* %n\en *changed*\fR\fI \fR 6953 .sp 6954 Example: 6955 \fI\fIpasswd chat\fR\fR\fI = \fR\fI"*Enter NEW password*" %n\en "*Reenter NEW password*" %n\en "*Password changed*"\fR\fI \fR 7396 6956 .RE 7397 6957 … … 7416 6976 \fIAS ROOT\fR 7417 6977 before the SMB password in the smbpasswd file is changed\&. If this UNIX password change fails, then 7418 \FCsmbd\F[] 6978 smbd 7419 6979 will fail to change the SMB password also (this is by design)\&. 7420 6980 .sp … … 7431 6991 .sp 7432 6992 Default: 7433 \fI\fIpasswd program\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7434 .sp 7435 Example: 7436 \fI\fIpasswd program\fR\fR\fI = \fR\fI \FC/bin/passwd %u\F[]\fR\fI \fR6993 \fI\fIpasswd program\fR\fR\fI = \fR\fI\fR\fI \fR 6994 .sp 6995 Example: 6996 \fI\fIpasswd program\fR\fR\fI = \fR\fI/bin/passwd %u\fR\fI \fR 7437 6997 .RE 7438 6998 … … 7467 7027 .sp 7468 7028 Default: 7469 \fI\fIpassword level\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR7470 .sp 7471 Example: 7472 \fI\fIpassword level\fR\fR\fI = \fR\fI \FC4\F[]\fR\fI \fR7029 \fI\fIpassword level\fR\fR\fI = \fR\fI0\fR\fI \fR 7030 .sp 7031 Example: 7032 \fI\fIpassword level\fR\fR\fI = \fR\fI4\fR\fI \fR 7473 7033 .RE 7474 7034 … … 7478 7038 .RS 4 7479 7039 By specifying the name of another SMB server or Active Directory domain controller with this option, and using 7480 \FCsecurity = [ads|domain|server]\F[]7040 security = [ads|domain|server] 7481 7041 it is possible to get Samba to do all its username/password validation using a specific remote server\&. 7482 7042 .sp … … 7492 7052 .\} 7493 7053 .RS 4 7494 .BM yellow7495 7054 .it 1 an-trap 7496 7055 .nr an-no-space-flag 1 … … 7504 7063 \fIDO NOT CHOOSE A PASSWORD SERVER THAT YOU DON\'T COMPLETELY TRUST\fR\&. 7505 7064 .sp .5v 7506 .EM yellow7507 7065 .RE 7508 7066 Never point a Samba server at itself for password serving\&. This will cause a loop and could lock up your Samba server! … … 7517 7075 or 7518 7076 \fBads\fR, then the list of machines in this option must be a list of Primary or Backup Domain controllers for the Domain or the character \'*\', as the Samba server is effectively in that domain, and will use cryptographically authenticated RPC calls to authenticate the user logging on\&. The advantage of using 7519 \FC security = domain\F[] 7077 security = domain 7520 7078 is that if you list several hosts in the 7521 7079 \fIpassword server\fR 7522 7080 option then 7523 \FCsmbd \F[] 7081 smbd 7524 7082 will try each in turn till it finds one that responds\&. This is useful in case your primary server goes down\&. 7525 7083 .sp … … 7536 7094 parameter is set to 7537 7095 \fBserver\fR, then there are different restrictions that 7538 \FCsecurity = domain\F[] 7096 security = domain 7539 7097 doesn\'t suffer from: 7540 7098 .sp … … 7550 7108 \fIpassword server\fR 7551 7109 parameter, however if an 7552 \FCsmbd\F[] 7110 smbd 7553 7111 makes a connection to a password server, and then the password server fails, no more users will be able to be authenticated from this 7554 \FCsmbd\F[]\&. This is a restriction of the SMB/CIFS protocol when in7555 \FCsecurity = server \F[] 7112 smbd\&. This is a restriction of the SMB/CIFS protocol when in 7113 security = server 7556 7114 mode and cannot be fixed in Samba\&. 7557 7115 .RE … … 7566 7124 .\} 7567 7125 If you are using a Windows NT server as your password server then you will have to ensure that your users are able to login from the Samba server, as when in 7568 \FC security = server\F[] 7126 security = server 7569 7127 mode the network logon will appear to come from there rather than from the users workstation\&. 7570 7128 .sp 7571 7129 .RE 7572 7130 Default: 7573 \fI\fIpassword server\fR\fR\fI = \fR\fI \FC*\F[]\fR\fI \fR7574 .sp 7575 Example: 7576 \fI\fIpassword server\fR\fR\fI = \fR\fI \FCNT\-PDC, NT\-BDC1, NT\-BDC2, *\F[]\fR\fI \fR7577 .sp 7578 Example: 7579 \fI\fIpassword server\fR\fR\fI = \fR\fI \FCwindc\&.mydomain\&.com:389 192\&.168\&.1\&.101 *\F[]\fR\fI \fR7131 \fI\fIpassword server\fR\fR\fI = \fR\fI*\fR\fI \fR 7132 .sp 7133 Example: 7134 \fI\fIpassword server\fR\fR\fI = \fR\fINT\-PDC, NT\-BDC1, NT\-BDC2, *\fR\fI \fR 7135 .sp 7136 Example: 7137 \fI\fIpassword server\fR\fR\fI = \fR\fIwindc\&.mydomain\&.com:389 192\&.168\&.1\&.101 *\fR\fI \fR 7580 7138 .RE 7581 7139 … … 7607 7165 .sp 7608 7166 Default: 7609 \fI\fIpath\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7610 .sp 7611 Example: 7612 \fI\fIpath\fR\fR\fI = \fR\fI \FC/home/fred\F[]\fR\fI \fR7167 \fI\fIpath\fR\fR\fI = \fR\fI\fR\fI \fR 7168 .sp 7169 Example: 7170 \fI\fIpath\fR\fR\fI = \fR\fI/home/fred\fR\fI \fR 7613 7171 .RE 7614 7172 … … 7620 7178 .sp 7621 7179 Default: 7622 \fI\fIpid directory\fR\fR\fI = \fR\fI \FC${prefix}/var/locks\F[]\fR\fI \fR7623 .sp 7624 Example: 7625 \fI\fIpid directory\fR\fR\fI = \fR\fI \FCpid directory = /var/run/\F[]\fR\fI \fR7180 \fI\fIpid directory\fR\fR\fI = \fR\fI${prefix}/var/locks\fR\fI \fR 7181 .sp 7182 Example: 7183 \fI\fIpid directory\fR\fR\fI = \fR\fIpid directory = /var/run/\fR\fI \fR 7626 7184 .RE 7627 7185 … … 7635 7193 .sp 7636 7194 Default: 7637 \fI\fIposix locking\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR7195 \fI\fIposix locking\fR\fR\fI = \fR\fIyes\fR\fI \fR 7638 7196 .RE 7639 7197 … … 7646 7204 An interesting example may be to unmount server resources: 7647 7205 .sp 7648 \FCpostexec = /etc/umount /cdrom\F[] 7649 .sp 7650 Default: 7651 \fI\fIpostexec\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7652 .sp 7653 Example: 7654 \fI\fIpostexec\fR\fR\fI = \fR\fI \FCecho \e"%u disconnected from %S from %m (%I)\e" >> /tmp/log\F[]\fR\fI \fR7206 postexec = /etc/umount /cdrom 7207 .sp 7208 Default: 7209 \fI\fIpostexec\fR\fR\fI = \fR\fI\fR\fI \fR 7210 .sp 7211 Example: 7212 \fI\fIpostexec\fR\fR\fI = \fR\fIecho \e"%u disconnected from %S from %m (%I)\e" >> /tmp/log\fR\fI \fR 7655 7213 .RE 7656 7214 … … 7664 7222 .sp 7665 7223 Default: 7666 \fI\fIpreexec close\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR7224 \fI\fIpreexec close\fR\fR\fI = \fR\fIno\fR\fI \fR 7667 7225 .RE 7668 7226 … … 7684 7242 .sp 7685 7243 7686 \FCpreexec = csh \-c \'echo \e"Welcome to %S!\e" | /usr/local/samba/bin/smbclient \-M %m \-I %I\' & \F[] 7244 preexec = csh \-c \'echo \e"Welcome to %S!\e" | /usr/local/samba/bin/smbclient \-M %m \-I %I\' & 7687 7245 .sp 7688 7246 Of course, this could get annoying after a while :\-) … … 7694 7252 .sp 7695 7253 Default: 7696 \fI\fIpreexec\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7697 .sp 7698 Example: 7699 \fI\fIpreexec\fR\fR\fI = \fR\fI \FCecho \e"%u connected to %S from %m (%I)\e" >> /tmp/log\F[]\fR\fI \fR7254 \fI\fIpreexec\fR\fR\fI = \fR\fI\fR\fI \fR 7255 .sp 7256 Example: 7257 \fI\fIpreexec\fR\fR\fI = \fR\fIecho \e"%u connected to %S from %m (%I)\e" >> /tmp/log\fR\fI \fR 7700 7258 .RE 7701 7259 … … 7718 7276 If this is set to 7719 7277 \fByes\fR, on startup, 7720 \FCnmbd\F[] 7278 nmbd 7721 7279 will force an election, and it will have a slight advantage in winning the election\&. It is recommended that this parameter is used in conjunction with 7722 7280 \m[blue]\fBdomain master = yes\fR\m[], so that 7723 \FCnmbd\F[] 7281 nmbd 7724 7282 can guarantee becoming a domain master\&. 7725 7283 .sp … … 7727 7285 .sp 7728 7286 Default: 7729 \fI\fIpreferred master\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR7287 \fI\fIpreferred master\fR\fR\fI = \fR\fIauto\fR\fI \fR 7730 7288 .RE 7731 7289 … … 7737 7295 .sp 7738 7296 Default: 7739 \fI\fIpreload modules\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7740 .sp 7741 Example: 7742 \fI\fIpreload modules\fR\fR\fI = \fR\fI \FC/usr/lib/samba/passdb/mysql\&.so\F[]\fR\fI \fR7297 \fI\fIpreload modules\fR\fR\fI = \fR\fI\fR\fI \fR 7298 .sp 7299 Example: 7300 \fI\fIpreload modules\fR\fR\fI = \fR\fI/usr/lib/samba/passdb/mysql\&.so\fR\fI \fR 7743 7301 .RE 7744 7302 … … 7762 7320 .sp 7763 7321 Default: 7764 \fI\fIpreload\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7765 .sp 7766 Example: 7767 \fI\fIpreload\fR\fR\fI = \fR\fI \FCfred lp colorlp\F[]\fR\fI \fR7322 \fI\fIpreload\fR\fR\fI = \fR\fI\fR\fI \fR 7323 .sp 7324 Example: 7325 \fI\fIpreload\fR\fR\fI = \fR\fIfred lp colorlp\fR\fI \fR 7768 7326 .RE 7769 7327 … … 7780 7338 .sp 7781 7339 Default: 7782 \fI\fIpreserve case\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR7340 \fI\fIpreserve case\fR\fR\fI = \fR\fIyes\fR\fI \fR 7783 7341 .RE 7784 7342 … … 7803 7361 .sp 7804 7362 Default: 7805 \fI\fIprintable\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR7363 \fI\fIprintable\fR\fR\fI = \fR\fIno\fR\fI \fR 7806 7364 .RE 7807 7365 … … 7815 7373 .sp 7816 7374 Default: 7817 \fI\fIprintcap cache time\fR\fR\fI = \fR\fI \FC750\F[]\fR\fI \fR7818 .sp 7819 Example: 7820 \fI\fIprintcap cache time\fR\fR\fI = \fR\fI \FC600\F[]\fR\fI \fR7375 \fI\fIprintcap cache time\fR\fR\fI = \fR\fI750\fR\fI \fR 7376 .sp 7377 Example: 7378 \fI\fIprintcap cache time\fR\fR\fI = \fR\fI600\fR\fI \fR 7821 7379 .RE 7822 7380 … … 7834 7392 .RS 4 7835 7393 This parameter may be used to override the compiled\-in default printcap name used by the server (usually 7836 \FC /etc/printcap\F[])\&. See the discussion of the7394 /etc/printcap)\&. See the discussion of the 7837 7395 [printers] 7838 7396 section above for reasons why you might want to do this\&. 7839 7397 .sp 7840 7398 To use the CUPS printing interface set 7841 \FCprintcap name = cups \F[]\&. This should be supplemented by an addtional setting7399 printcap name = cups\&. This should be supplemented by an addtional setting 7842 7400 \m[blue]\fBprinting = cups\fR\m[] 7843 7401 in the [global] section\&. 7844 \FCprintcap name = cups\F[] 7402 printcap name = cups 7845 7403 will use the "dummy" printcap created by CUPS, as specified in your CUPS configuration file\&. 7846 7404 .sp 7847 7405 On System V systems that use 7848 \FClpstat\F[] 7406 lpstat 7849 7407 to list available printers you can use 7850 \FCprintcap name = lpstat \F[] 7408 printcap name = lpstat 7851 7409 to automatically obtain lists of available printers\&. This is the default for systems that define SYSV at configure time in Samba (this includes most System V based systems)\&. If 7852 7410 \fI printcap name\fR 7853 7411 is set to 7854 \FClpstat\F[] 7412 lpstat 7855 7413 on these systems then Samba will launch 7856 \FClpstat \-v\F[] 7414 lpstat \-v 7857 7415 and attempt to parse the output to obtain a printer list\&. 7858 7416 .sp … … 7862 7420 .RS 4 7863 7421 .\} 7864 .fam C7865 .ps -17866 7422 .nf 7867 .if t \{\7868 .sp -17869 .\}7870 .BB lightgray adjust-for-leading-newline7871 .sp -17872 7873 7423 print1|My Printer 1 7874 7424 print2|My Printer 2 … … 7876 7426 print4|My Printer 4 7877 7427 print5|My Printer 5 7878 .EB lightgray adjust-for-leading-newline7879 .if t \{\7880 .sp 17881 .\}7882 7428 .fi 7883 .fam7884 .ps +17885 7429 .if n \{\ 7886 7430 .RE … … 7892 7436 .\} 7893 7437 .RS 4 7894 .BM yellow7895 7438 .it 1 an-trap 7896 7439 .nr an-no-space-flag 1 … … 7902 7445 .br 7903 7446 Under AIX the default printcap name is 7904 \FC/etc/qconfig\F[]\&. Samba will assume the file is in AIX7905 \FCqconfig\F[] 7447 /etc/qconfig\&. Samba will assume the file is in AIX 7448 qconfig 7906 7449 format if the string 7907 \FCqconfig\F[] 7450 qconfig 7908 7451 appears in the printcap filename\&. 7909 7452 .sp .5v 7910 .EM yellow 7911 .RE 7912 Default: 7913 \fI\fIprintcap name\fR\fR\fI = \fR\fI\FC/etc/printcap\F[]\fR\fI \fR 7914 .sp 7915 Example: 7916 \fI\fIprintcap name\fR\fR\fI = \fR\fI\FC/etc/myprintcap\F[]\fR\fI \fR 7453 .RE 7454 Default: 7455 \fI\fIprintcap name\fR\fR\fI = \fR\fI/etc/printcap\fR\fI \fR 7456 .sp 7457 Example: 7458 \fI\fIprintcap name\fR\fR\fI = \fR\fI/etc/myprintcap\fR\fI \fR 7917 7459 .RE 7918 7460 … … 7922 7464 .RS 4 7923 7465 After a print job has finished spooling to a service, this command will be used via a 7924 \FCsystem()\F[] 7466 system() 7925 7467 call to process the spool file\&. Typically the command specified will submit the spool file to the host\'s printing subsystem, but there is no requirement that this be the case\&. The server will not remove the spool file, so whatever command you specify should remove the spool file when it has been processed, otherwise you will need to manually remove old spool files\&. 7926 7468 .sp … … 7961 7503 You can form quite complex print commands by realizing that they are just passed to a shell\&. For example the following will log a print job, print the file, then remove it\&. Note that \';\' is the usual separator for command in shell scripts\&. 7962 7504 .sp 7963 \FCprint command = echo Printing %s >> /tmp/print\&.log; lpr \-P %p %s; rm %s\F[] 7505 print command = echo Printing %s >> /tmp/print\&.log; lpr \-P %p %s; rm %s 7964 7506 .sp 7965 7507 You may have to vary this command considerably depending on how you normally print files on your system\&. The default for the parameter varies depending on the setting of the … … 7968 7510 .sp 7969 7511 Default: For 7970 \FCprinting = BSD, AIX, QNX, LPRNG or PLP :\F[] 7971 .sp 7972 \FCprint command = lpr \-r \-P%p %s\F[] 7512 printing = BSD, AIX, QNX, LPRNG or PLP : 7513 .sp 7514 print command = lpr \-r \-P%p %s 7973 7515 .sp 7974 7516 For 7975 \FCprinting = SYSV or HPUX :\F[] 7976 .sp 7977 \FCprint command = lp \-c \-d%p %s; rm %s\F[] 7517 printing = SYSV or HPUX : 7518 .sp 7519 print command = lp \-c \-d%p %s; rm %s 7978 7520 .sp 7979 7521 For 7980 \FCprinting = SOFTQ :\F[] 7981 .sp 7982 \FCprint command = lp \-d%p \-s %s; rm %s\F[] 7522 printing = SOFTQ : 7523 .sp 7524 print command = lp \-d%p \-s %s; rm %s 7983 7525 .sp 7984 7526 For printing = CUPS : If SAMBA is compiled against libcups, then 7985 7527 \m[blue]\fBprintcap = cups\fR\m[] 7986 7528 uses the CUPS API to submit jobs, etc\&. Otherwise it maps to the System V commands with the \-oraw option for printing, i\&.e\&. it uses 7987 \FClp \-c \-d%p \-oraw; rm %s\F[]\&. With7988 \FCprinting = cups\F[], and if SAMBA is compiled against libcups, any manually set print command will be ignored\&.7529 lp \-c \-d%p \-oraw; rm %s\&. With 7530 printing = cups, and if SAMBA is compiled against libcups, any manually set print command will be ignored\&. 7989 7531 .sp 7990 7532 \fINo default\fR 7991 7533 .sp 7992 7534 Example: 7993 \fI\fIprint command\fR\fR\fI = \fR\fI \FC/usr/local/samba/bin/myprintscript %p %s\F[]\fR\fI \fR7535 \fI\fIprint command\fR\fR\fI = \fR\fI/usr/local/samba/bin/myprintscript %p %s\fR\fI \fR 7994 7536 .RE 7995 7537 … … 8003 7545 .sp 8004 7546 Default: 8005 \fI\fIprinter admin\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8006 .sp 8007 Example: 8008 \fI\fIprinter admin\fR\fR\fI = \fR\fI \FCadmin, @staff\F[]\fR\fI \fR7547 \fI\fIprinter admin\fR\fR\fI = \fR\fI\fR\fI \fR 7548 .sp 7549 Example: 7550 \fI\fIprinter admin\fR\fR\fI = \fR\fIadmin, @staff\fR\fI \fR 8009 7551 .RE 8010 7552 … … 8028 7570 \m[blue]\fBprinter name\fR\m[] 8029 7571 may be 8030 \FClp\F[] 7572 lp 8031 7573 on many systems\&. 8032 7574 .sp 8033 7575 Default: 8034 \fI\fIprinter name\fR\fR\fI = \fR\fI \FCnone\F[]\fR\fI \fR8035 .sp 8036 Example: 8037 \fI\fIprinter name\fR\fR\fI = \fR\fI \FClaserwriter\F[]\fR\fI \fR7576 \fI\fIprinter name\fR\fR\fI = \fR\fInone\fR\fI \fR 7577 .sp 7578 Example: 7579 \fI\fIprinter name\fR\fR\fI = \fR\fIlaserwriter\fR\fI \fR 8038 7580 .RE 8039 7581 … … 8074 7616 .sp 8075 7617 Default: 8076 \fI\fIprinting\fR\fR\fI = \fR\fI \FCDepends on the operating system, see \FCtestparm \-v\&.\F[]\F[]\fR\fI \fR7618 \fI\fIprinting\fR\fR\fI = \fR\fIDepends on the operating system, see testparm \-v\&.\fR\fI \fR 8077 7619 .RE 8078 7620 … … 8084 7626 .sp 8085 7627 Default: 8086 \fI\fIprintjob username\fR\fR\fI = \fR\fI \FC%U\F[]\fR\fI \fR8087 .sp 8088 Example: 8089 \fI\fIprintjob username\fR\fR\fI = \fR\fI \FC%D\e%U\F[]\fR\fI \fR7628 \fI\fIprintjob username\fR\fR\fI = \fR\fI%U\fR\fI \fR 7629 .sp 7630 Example: 7631 \fI\fIprintjob username\fR\fR\fI = \fR\fI%D\e%U\fR\fI \fR 8090 7632 .RE 8091 7633 … … 8095 7637 .RS 4 8096 7638 This parameters defines the directory smbd will use for storing such files as 8097 \FCsmbpasswd\F[] 7639 smbpasswd 8098 7640 and 8099 \FCsecrets\&.tdb\F[]\&.8100 .sp 8101 Default: 8102 \fI\fIprivate dir\fR\fR\fI = \fR\fI \FC${prefix}/private\F[]\fR\fI \fR7641 secrets\&.tdb\&. 7642 .sp 7643 Default: 7644 \fI\fIprivate dir\fR\fR\fI = \fR\fI${prefix}/private\fR\fI \fR 8103 7645 .RE 8104 7646 … … 8114 7656 .sp 8115 7657 Default: 8116 \fI\fIprofile acls\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR7658 \fI\fIprofile acls\fR\fR\fI = \fR\fIno\fR\fI \fR 8117 7659 .RE 8118 7660 … … 8136 7678 .sp 8137 7679 Example: 8138 \fI\fIqueuepause command\fR\fR\fI = \fR\fI \FCdisable %p\F[]\fR\fI \fR7680 \fI\fIqueuepause command\fR\fR\fI = \fR\fIdisable %p\fR\fI \fR 8139 7681 .RE 8140 7682 … … 8156 7698 .sp 8157 7699 Default: 8158 \fI\fIqueueresume command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8159 .sp 8160 Example: 8161 \fI\fIqueueresume command\fR\fR\fI = \fR\fI \FCenable %p\F[]\fR\fI \fR7700 \fI\fIqueueresume command\fR\fR\fI = \fR\fI\fR\fI \fR 7701 .sp 7702 Example: 7703 \fI\fIqueueresume command\fR\fR\fI = \fR\fIenable %p\fR\fI \fR 8162 7704 .RE 8163 7705 … … 8177 7719 .sp 8178 7720 Default: 8179 \fI\fIread list\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8180 .sp 8181 Example: 8182 \fI\fIread list\fR\fR\fI = \fR\fI \FCmary, @students\F[]\fR\fI \fR7721 \fI\fIread list\fR\fR\fI = \fR\fI\fR\fI \fR 7722 .sp 7723 Example: 7724 \fI\fIread list\fR\fR\fI = \fR\fImary, @students\fR\fI \fR 8183 7725 .RE 8184 7726 … … 8193 7735 \fByes\fR, then users of a service may not create or modify files in the service\'s directory\&. 8194 7736 .sp 8195 Note that a printable service ( \FCprintable = yes\F[]) will7737 Note that a printable service (printable = yes) will 8196 7738 \fIALWAYS\fR 8197 7739 allow writing to the directory (user privileges permitting), but only via spooling operations\&. 8198 7740 .sp 8199 7741 Default: 8200 \fI\fIread only\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR7742 \fI\fIread only\fR\fR\fI = \fR\fIyes\fR\fI \fR 8201 7743 .RE 8202 7744 … … 8214 7756 .sp 8215 7757 Default: 8216 \fI\fIread raw\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR7758 \fI\fIread raw\fR\fR\fI = \fR\fIyes\fR\fI \fR 8217 7759 .RE 8218 7760 … … 8222 7764 .RS 4 8223 7765 This option specifies the kerberos realm to use\&. The realm is used as the ADS equivalent of the NT4 8224 \FCdomain\F[]\&. It is usually set to the DNS name of the kerberos server\&.8225 .sp 8226 Default: 8227 \fI\fIrealm\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8228 .sp 8229 Example: 8230 \fI\fIrealm\fR\fR\fI = \fR\fI \FCmysambabox\&.mycompany\&.com\F[]\fR\fI \fR7766 domain\&. It is usually set to the DNS name of the kerberos server\&. 7767 .sp 7768 Default: 7769 \fI\fIrealm\fR\fR\fI = \fR\fI\fR\fI \fR 7770 .sp 7771 Example: 7772 \fI\fIrealm\fR\fR\fI = \fR\fImysambabox\&.mycompany\&.com\fR\fI \fR 8231 7773 .RE 8232 7774 … … 8248 7790 .sp 8249 7791 Default: 8250 \fI\fIregistry shares\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR8251 .sp 8252 Example: 8253 \fI\fIregistry shares\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR7792 \fI\fIregistry shares\fR\fR\fI = \fR\fIno\fR\fI \fR 7793 .sp 7794 Example: 7795 \fI\fIregistry shares\fR\fR\fI = \fR\fIyes\fR\fI \fR 8254 7796 .RE 8255 7797 … … 8269 7811 .RS 4 8270 7812 .\} 8271 .fam C8272 .ps -18273 7813 .nf 8274 .if t \{\ 8275 .sp -1 8276 .\} 8277 .BB lightgray adjust-for-leading-newline 8278 .sp -1 8279 8280 \FCremote announce = 192\&.168\&.2\&.255/SERVERS 192\&.168\&.4\&.255/STAFF\F[] 8281 .EB lightgray adjust-for-leading-newline 8282 .if t \{\ 8283 .sp 1 8284 .\} 7814 remote announce = 192\&.168\&.2\&.255/SERVERS 192\&.168\&.4\&.255/STAFF 8285 7815 .fi 8286 .fam8287 .ps +18288 7816 .if n \{\ 8289 7817 .RE … … 8291 7819 .sp 8292 7820 the above line would cause 8293 \FCnmbd\F[] 7821 nmbd 8294 7822 to announce itself to the two given IP addresses using the given workgroup names\&. If you leave out the workgroup name, then the one given in the 8295 7823 \m[blue]\fBworkgroup\fR\m[] … … 8301 7829 .sp 8302 7830 Default: 8303 \fI\fIremote announce\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7831 \fI\fIremote announce\fR\fR\fI = \fR\fI\fR\fI \fR 8304 7832 .RE 8305 7833 … … 8319 7847 .RS 4 8320 7848 .\} 8321 .fam C8322 .ps -18323 7849 .nf 8324 .if t \{\8325 .sp -18326 .\}8327 .BB lightgray adjust-for-leading-newline8328 .sp -18329 8330 7850 \fIremote browse sync = 192\&.168\&.2\&.255 192\&.168\&.4\&.255\fR 8331 .EB lightgray adjust-for-leading-newline8332 .if t \{\8333 .sp 18334 .\}8335 7851 .fi 8336 .fam8337 .ps +18338 7852 .if n \{\ 8339 7853 .RE … … 8341 7855 .sp 8342 7856 the above line would cause 8343 \FCnmbd\F[] 7857 nmbd 8344 7858 to request the master browser on the specified subnets or addresses to synchronize their browse lists with the local server\&. 8345 7859 .sp … … 8351 7865 .sp 8352 7866 Default: 8353 \fI\fIremote browse sync\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR7867 \fI\fIremote browse sync\fR\fR\fI = \fR\fI\fR\fI \fR 8354 7868 .RE 8355 7869 … … 8363 7877 .sp 8364 7878 When a user with admin authority or SeAddUserPrivilege rights renames a user (e\&.g\&.: from the NT4 User Manager for Domains), this script will be run to rename the POSIX user\&. Two variables, 8365 \FC%uold\F[] 7879 %uold 8366 7880 and 8367 \FC%unew\F[], will be substituted with the old and new usernames, respectively\&. The script should return 0 upon successful completion, and nonzero otherwise\&.7881 %unew, will be substituted with the old and new usernames, respectively\&. The script should return 0 upon successful completion, and nonzero otherwise\&. 8368 7882 .if n \{\ 8369 7883 .sp 8370 7884 .\} 8371 7885 .RS 4 8372 .BM yellow8373 7886 .it 1 an-trap 8374 7887 .nr an-no-space-flag 1 … … 8381 7894 The script has all responsibility to rename all the necessary data that is accessible in this posix method\&. This can mean different requirements for different backends\&. The tdbsam and smbpasswd backends will take care of the contents of their respective files, so the script is responsible only for changing the POSIX username, and other data that may required for your circumstances, such as home directory\&. Please also consider whether or not you need to rename the actual home directories themselves\&. The ldapsam backend will not make any changes, because of the potential issues with renaming the LDAP naming attribute\&. In this case the script is responsible for changing the attribute that samba uses (uid) for locating users, as well as any data that needs to change for other applications using the same directory\&. 8382 7895 .sp .5v 8383 .EM yellow 8384 .RE 8385 Default: 8386 \fI\fIrename user script\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR 7896 .RE 7897 Default: 7898 \fI\fIrename user script\fR\fR\fI = \fR\fIno\fR\fI \fR 8387 7899 .RE 8388 7900 … … 8394 7906 .sp 8395 7907 Default: 8396 \fI\fIreset on zero vc\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR7908 \fI\fIreset on zero vc\fR\fR\fI = \fR\fIno\fR\fI \fR 8397 7909 .RE 8398 7910 … … 8406 7918 .RS 4 8407 7919 .\} 8408 .fam C8409 .ps -18410 7920 .nf 8411 .if t \{\8412 .sp -18413 .\}8414 .BB lightgray adjust-for-leading-newline8415 .sp -18416 8417 7921 HKEY_LOCAL_MACHINE\eSYSTEM\eCurrentControlSet\e 8418 7922 Control\eLSA\eRestrictAnonymous 8419 .EB lightgray adjust-for-leading-newline8420 .if t \{\8421 .sp 18422 .\}8423 7923 .fi 8424 .fam8425 .ps +18426 7924 .if n \{\ 8427 7925 .RE … … 8435 7933 .\} 8436 7934 .RS 4 8437 .BM yellow8438 7935 .it 1 an-trap 8439 7936 .nr an-no-space-flag 1 … … 8448 7945 on any share\&. 8449 7946 .sp .5v 8450 .EM yellow 8451 .RE 8452 Default: 8453 \fI\fIrestrict anonymous\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR 7947 .RE 7948 Default: 7949 \fI\fIrestrict anonymous\fR\fR\fI = \fR\fI0\fR\fI \fR 8454 7950 .RE 8455 7951 … … 8475 7971 .RS 4 8476 7972 The server will 8477 \FCchroot()\F[] 7973 chroot() 8478 7974 (i\&.e\&. Change its root directory) to this directory on startup\&. This is not strictly necessary for secure operation\&. Even without it the server will deny access to files not in one of the service entries\&. It may also check for, and deny access to, soft links to other parts of the filesystem, or attempts to use "\&.\&." in file names to access other directories (depending on the setting of the 8479 7975 \m[blue]\fBwide smbconfoptions\fR\m[] … … 8489 7985 \fIroot directory\fR 8490 7986 tree\&. In particular you will need to mirror 8491 \FC/etc/passwd\F[] 7987 /etc/passwd 8492 7988 (or a subset of it), and any binaries or configuration files needed for printing (if required)\&. The set of files that must be mirrored is operating system dependent\&. 8493 7989 .sp 8494 7990 Default: 8495 \fI\fIroot directory\fR\fR\fI = \fR\fI \FC/\F[]\fR\fI \fR8496 .sp 8497 Example: 8498 \fI\fIroot directory\fR\fR\fI = \fR\fI \FC/homes/smb\F[]\fR\fI \fR7991 \fI\fIroot directory\fR\fR\fI = \fR\fI/\fR\fI \fR 7992 .sp 7993 Example: 7994 \fI\fIroot directory\fR\fR\fI = \fR\fI/homes/smb\fR\fI \fR 8499 7995 .RE 8500 7996 … … 8508 8004 .sp 8509 8005 Default: 8510 \fI\fIroot postexec\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8006 \fI\fIroot postexec\fR\fR\fI = \fR\fI\fR\fI \fR 8511 8007 .RE 8512 8008 … … 8520 8016 .sp 8521 8017 Default: 8522 \fI\fIroot preexec close\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR8018 \fI\fIroot preexec close\fR\fR\fI = \fR\fIno\fR\fI \fR 8523 8019 .RE 8524 8020 … … 8532 8028 .sp 8533 8029 Default: 8534 \fI\fIroot preexec\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8030 \fI\fIroot preexec\fR\fR\fI = \fR\fI\fR\fI \fR 8535 8031 .RE 8536 8032 … … 8553 8049 .sp 8554 8050 Default: 8555 \fI\fIsecurity mask\fR\fR\fI = \fR\fI \FC0777\F[]\fR\fI \fR8556 .sp 8557 Example: 8558 \fI\fIsecurity mask\fR\fR\fI = \fR\fI \FC0770\F[]\fR\fI \fR8051 \fI\fIsecurity mask\fR\fR\fI = \fR\fI0777\fR\fI \fR 8052 .sp 8053 Example: 8054 \fI\fIsecurity mask\fR\fR\fI = \fR\fI0770\fR\fI \fR 8559 8055 .RE 8560 8056 … … 8564 8060 .RS 4 8565 8061 This option affects how clients respond to Samba and is one of the most important settings in the 8566 \FC smb\&.conf\F[] 8062 smb\&.conf 8567 8063 file\&. 8568 8064 .sp … … 8572 8068 .sp 8573 8069 The default is 8574 \FCsecurity = user\F[], as this is the most common setting needed when talking to Windows 98 and Windows NT\&.8070 security = user, as this is the most common setting needed when talking to Windows 98 and Windows NT\&. 8575 8071 .sp 8576 8072 The alternatives are 8577 \FCsecurity = share\F[],8578 \FCsecurity = server\F[] 8073 security = share, 8074 security = server 8579 8075 or 8580 \FCsecurity = domain \F[]\&.8076 security = domain\&. 8581 8077 .sp 8582 8078 In versions of Samba prior to 2\&.0\&.0, the default was 8583 \FCsecurity = share\F[] 8079 security = share 8584 8080 mainly because that was the only option at one stage\&. 8585 8081 .sp … … 8587 8083 .sp 8588 8084 If your PCs use usernames that are the same as their usernames on the UNIX machine then you will want to use 8589 \FCsecurity = user\F[]\&. If you mostly use usernames that don\'t exist on the UNIX box then use8590 \FCsecurity = share\F[]\&.8085 security = user\&. If you mostly use usernames that don\'t exist on the UNIX box then use 8086 security = share\&. 8591 8087 .sp 8592 8088 You should also use 8593 \FCsecurity = share\F[] 8089 security = share 8594 8090 if you want to mainly setup shares without a password (guest shares)\&. This is commonly used for a shared printer server\&. It is more difficult to setup guest shares with 8595 \FCsecurity = user\F[], see the8091 security = user, see the 8596 8092 \m[blue]\fBmap to guest\fR\m[] 8597 8093 parameter for details\&. 8598 8094 .sp 8599 8095 It is possible to use 8600 \FCsmbd\F[] 8096 smbd 8601 8097 in a 8602 8098 \fI hybrid mode\fR … … 8609 8105 .sp 8610 8106 When clients connect to a share level security server, they need not log onto the server with a valid username and password before attempting to connect to a shared resource (although modern clients such as Windows 95/98 and Windows NT will send a logon request with a username but no password when talking to a 8611 \FCsecurity = share \F[] 8107 security = share 8612 8108 server)\&. Instead, the clients send authentication information (passwords) on a per\-share basis, at the time they attempt to connect to that share\&. 8613 8109 .sp 8614 8110 Note that 8615 \FCsmbd\F[] 8111 smbd 8616 8112 \fIALWAYS\fR 8617 8113 uses a valid UNIX user to act on behalf of the client, even in 8618 \FCsecurity = share\F[] 8114 security = share 8619 8115 level security\&. 8620 8116 .sp 8621 8117 As clients are not required to send a username to the server in share level security, 8622 \FCsmbd\F[] 8118 smbd 8623 8119 uses several techniques to determine the correct UNIX user to use on behalf of the client\&. 8624 8120 .sp … … 8753 8249 \fINote\fR 8754 8250 that from the client\'s point of view 8755 \FCsecurity = domain\F[] 8251 security = domain 8756 8252 is the same as 8757 \FCsecurity = user\F[]\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&.8253 security = user\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&. 8758 8254 .sp 8759 8255 \fINote\fR … … 8777 8273 .sp 8778 8274 In this mode Samba will try to validate the username/password by passing it to another SMB server, such as an NT box\&. If this fails it will revert to 8779 \FCsecurity = user\F[]\&. It expects the8275 security = user\&. It expects the 8780 8276 \m[blue]\fBencrypted passwords\fR\m[] 8781 8277 parameter to be set to 8782 8278 \fByes\fR, unless the remote server does not support them\&. However note that if encrypted passwords have been negotiated then Samba cannot revert back to checking the UNIX password file, it must have a valid 8783 \FCsmbpasswd\F[] 8279 smbpasswd 8784 8280 file to check users against\&. See the chapter about the User Database in the Samba HOWTO Collection for details on how to set this up\&. 8785 8281 .if n \{\ … … 8787 8283 .\} 8788 8284 .RS 4 8789 .BM yellow8790 8285 .it 1 an-trap 8791 8286 .nr an-no-space-flag 1 … … 8798 8293 This mode of operation has significant pitfalls since it is more vulnerable to man\-in\-the\-middle attacks and server impersonation\&. In particular, this mode of operation can cause significant resource consuption on the PDC, as it must maintain an active connection for the duration of the user\'s session\&. Furthermore, if this connection is lost, there is no way to reestablish it, and futher authentications to the Samba server may fail (from a single client, till it disconnects)\&. 8799 8294 .sp .5v 8800 .EM yellow8801 8295 .RE 8802 8296 .if n \{\ … … 8804 8298 .\} 8805 8299 .RS 4 8806 .BM yellow8807 8300 .it 1 an-trap 8808 8301 .nr an-no-space-flag 1 … … 8814 8307 .br 8815 8308 From the client\'s point of view, 8816 \FCsecurity = server\F[] 8309 security = server 8817 8310 is the same as 8818 \FCsecurity = user\F[]\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&.8311 security = user\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&. 8819 8312 .sp .5v 8820 .EM yellow8821 8313 .RE 8822 8314 \fINote\fR … … 8846 8338 .sp 8847 8339 Default: 8848 \fI\fIsecurity\fR\fR\fI = \fR\fI \FCUSER\F[]\fR\fI \fR8849 .sp 8850 Example: 8851 \fI\fIsecurity\fR\fR\fI = \fR\fI \FCDOMAIN\F[]\fR\fI \fR8340 \fI\fIsecurity\fR\fR\fI = \fR\fIUSER\fR\fI \fR 8341 .sp 8342 Example: 8343 \fI\fIsecurity\fR\fR\fI = \fR\fIDOMAIN\fR\fI \fR 8852 8344 .RE 8853 8345 … … 8865 8357 .sp 8866 8358 Please note that with this set to 8867 \FCno\F[], you will have to apply the WindowsXP8868 \FCWinXP_SignOrSeal\&.reg\F[] 8359 no, you will have to apply the WindowsXP 8360 WinXP_SignOrSeal\&.reg 8869 8361 registry patch found in the docs/registry subdirectory of the Samba distribution tarball\&. 8870 8362 .sp 8871 8363 Default: 8872 \fI\fIserver schannel\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR8873 .sp 8874 Example: 8875 \fI\fIserver schannel\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR8364 \fI\fIserver schannel\fR\fR\fI = \fR\fIauto\fR\fI \fR 8365 .sp 8366 Example: 8367 \fI\fIserver schannel\fR\fR\fI = \fR\fIyes\fR\fI \fR 8876 8368 .RE 8877 8369 … … 8889 8381 .sp 8890 8382 Default: 8891 \fI\fIserver signing\fR\fR\fI = \fR\fI \FCDisabled\F[]\fR\fI \fR8383 \fI\fIserver signing\fR\fR\fI = \fR\fIDisabled\fR\fI \fR 8892 8384 .RE 8893 8385 … … 8897 8389 .RS 4 8898 8390 This controls what string will show up in the printer comment box in print manager and next to the IPC connection in 8899 \FCnet view\F[]\&. It can be any string that you wish to show to your users\&.8391 net view\&. It can be any string that you wish to show to your users\&. 8900 8392 .sp 8901 8393 It also sets what will appear in browse lists next to the machine name\&. … … 8910 8402 .sp 8911 8403 Default: 8912 \fI\fIserver string\fR\fR\fI = \fR\fI \FCSamba %v\F[]\fR\fI \fR8913 .sp 8914 Example: 8915 \fI\fIserver string\fR\fR\fI = \fR\fI \FCUniversity of GNUs Samba Server\F[]\fR\fI \fR8404 \fI\fIserver string\fR\fR\fI = \fR\fISamba %v\fR\fI \fR 8405 .sp 8406 Example: 8407 \fI\fIserver string\fR\fR\fI = \fR\fIUniversity of GNUs Samba Server\fR\fI \fR 8916 8408 .RE 8917 8409 … … 8921 8413 .RS 4 8922 8414 If 8923 \FCset directory = no\F[], then users of the service may not use the setdir command to change directory\&.8415 set directory = no, then users of the service may not use the setdir command to change directory\&. 8924 8416 .sp 8925 8417 The 8926 \FCsetdir\F[] 8418 setdir 8927 8419 command is only implemented in the Digital Pathworks client\&. See the Pathworks documentation for details\&. 8928 8420 .sp 8929 8421 Default: 8930 \fI\fIset directory\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR8422 \fI\fIset directory\fR\fR\fI = \fR\fIno\fR\fI \fR 8931 8423 .RE 8932 8424 … … 8936 8428 .RS 4 8937 8429 Thanks to the Posix subsystem in NT a Windows User has a primary group in addition to the auxiliary groups\&. This script sets the primary group in the unix userdatase when an administrator sets the primary group from the windows user manager or when fetching a SAM with 8938 \FCnet rpc vampire\F[]\&.8430 net rpc vampire\&. 8939 8431 \fI%u\fR 8940 8432 will be replaced with the user whose primary group is to be set\&. … … 8943 8435 .sp 8944 8436 Default: 8945 \fI\fIset primary group script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR8946 .sp 8947 Example: 8948 \fI\fIset primary group script\fR\fR\fI = \fR\fI \FC/usr/sbin/usermod \-g \'%g\' \'%u\'\F[]\fR\fI \fR8437 \fI\fIset primary group script\fR\fR\fI = \fR\fI\fR\fI \fR 8438 .sp 8439 Example: 8440 \fI\fIset primary group script\fR\fR\fI = \fR\fI/usr/sbin/usermod \-g \'%g\' \'%u\'\fR\fI \fR 8949 8441 .RE 8950 8442 … … 8954 8446 .RS 4 8955 8447 The 8956 \FCset quota command\F[] 8448 set quota command 8957 8449 should only be used whenever there is no operating system API available from the OS that samba can use\&. 8958 8450 .sp 8959 8451 This option is only available if Samba was configured with the argument 8960 \ FC\-\-with\-sys\-quotas\F[]8452 \-\-with\-sys\-quotas 8961 8453 or on linux when 8962 \ FC\&./configure \-\-with\-quotas\F[]8454 \&./configure \-\-with\-quotas 8963 8455 was used and a working quota api was found in the system\&. Most packages are configured with these options already\&. 8964 8456 .sp … … 9103 8595 .sp 9104 8596 Default: 9105 \fI\fIset quota command\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR9106 .sp 9107 Example: 9108 \fI\fIset quota command\fR\fR\fI = \fR\fI \FC/usr/local/sbin/set_quota\F[]\fR\fI \fR8597 \fI\fIset quota command\fR\fR\fI = \fR\fI\fR\fI \fR 8598 .sp 8599 Example: 8600 \fI\fIset quota command\fR\fR\fI = \fR\fI/usr/local/sbin/set_quota\fR\fI \fR 9109 8601 .RE 9110 8602 … … 9130 8622 .sp 9131 8623 Default: 9132 \fI\fIshare modes\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR8624 \fI\fIshare modes\fR\fR\fI = \fR\fIyes\fR\fI \fR 9133 8625 .RE 9134 8626 … … 9146 8638 .sp 9147 8639 Default: 9148 \fI\fIshort preserve case\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR8640 \fI\fIshort preserve case\fR\fR\fI = \fR\fIyes\fR\fI \fR 9149 8641 .RE 9150 8642 … … 9166 8658 .\} 9167 8659 .RS 4 9168 .BM yellow9169 8660 .it 1 an-trap 9170 8661 .nr an-no-space-flag 1 … … 9177 8668 This does not prevent the same user from having administrative privilege on an individual printer\&. 9178 8669 .sp .5v 9179 .EM yellow 9180 .RE 9181 Default: 9182 \fI\fIshow add printer wizard\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR 8670 .RE 8671 Default: 8672 \fI\fIshow add printer wizard\fR\fR\fI = \fR\fIyes\fR\fI \fR 9183 8673 .RE 9184 8674 … … 9251 8741 .RS 4 9252 8742 .\} 9253 .fam C9254 .ps -19255 8743 .nf 9256 .if t \{\9257 .sp -19258 .\}9259 .BB lightgray adjust-for-leading-newline9260 .sp -19261 9262 8744 #!/bin/bash 9263 8745 … … 9268 8750 /sbin/shutdown $3 $4 +$time $1 & 9269 8751 9270 .EB lightgray adjust-for-leading-newline9271 .if t \{\9272 .sp 19273 .\}9274 8752 .fi 9275 .fam9276 .ps +19277 8753 .if n \{\ 9278 8754 .RE … … 9282 8758 .sp 9283 8759 Default: 9284 \fI\fIshutdown script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR9285 .sp 9286 Example: 9287 \fI\fIshutdown script\fR\fR\fI = \fR\fI \FC/usr/local/samba/sbin/shutdown %m %t %r %f\F[]\fR\fI \fR8760 \fI\fIshutdown script\fR\fR\fI = \fR\fI\fR\fI \fR 8761 .sp 8762 Example: 8763 \fI\fIshutdown script\fR\fR\fI = \fR\fI/usr/local/samba/sbin/shutdown %m %t %r %f\fR\fI \fR 9288 8764 .RE 9289 8765 … … 9309 8785 .sp 9310 8786 Default: 9311 \fI\fIsmb encrypt\fR\fR\fI = \fR\fI \FCauto\F[]\fR\fI \fR8787 \fI\fIsmb encrypt\fR\fR\fI = \fR\fIauto\fR\fI \fR 9312 8788 .RE 9313 8789 … … 9323 8799 .RS 4 9324 8800 .\} 9325 .fam C9326 .ps -19327 8801 .nf 9328 .if t \{\9329 .sp -19330 .\}9331 .BB lightgray adjust-for-leading-newline9332 .sp -19333 9334 8802 smb passwd file = /etc/samba/smbpasswd 9335 .EB lightgray adjust-for-leading-newline9336 .if t \{\9337 .sp 19338 .\}9339 8803 .fi 9340 .fam9341 .ps +19342 8804 .if n \{\ 9343 8805 .RE … … 9345 8807 .sp 9346 8808 Default: 9347 \fI\fIsmb passwd file\fR\fR\fI = \fR\fI \FC${prefix}/private/smbpasswd\F[]\fR\fI \fR8809 \fI\fIsmb passwd file\fR\fR\fI = \fR\fI${prefix}/private/smbpasswd\fR\fI \fR 9348 8810 .RE 9349 8811 … … 9355 8817 .sp 9356 8818 Default: 9357 \fI\fIsmb ports\fR\fR\fI = \fR\fI \FC445 139\F[]\fR\fI \fR8819 \fI\fIsmb ports\fR\fR\fI = \fR\fI445 139\fR\fI \fR 9358 8820 .RE 9359 8821 … … 9369 8831 .sp 9370 8832 Default: 9371 \fI\fIsocket address\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR9372 .sp 9373 Example: 9374 \fI\fIsocket address\fR\fR\fI = \fR\fI \FC192\&.168\&.2\&.20\F[]\fR\fI \fR8833 \fI\fIsocket address\fR\fR\fI = \fR\fI\fR\fI \fR 8834 .sp 8835 Example: 8836 \fI\fIsocket address\fR\fR\fI = \fR\fI192\&.168\&.2\&.20\fR\fI \fR 9375 8837 .RE 9376 8838 … … 9384 8846 .sp 9385 8847 This option will typically be used to tune your Samba server for optimal performance for your local network\&. There is no way that Samba can know what the optimal parameters are for your net, so you must experiment and choose them yourself\&. We strongly suggest you read the appropriate documentation for your operating system first (perhaps 9386 \FCman setsockopt\F[] 8848 man setsockopt 9387 8849 will help)\&. 9388 8850 .sp … … 9509 8971 .sp 9510 8972 To specify an argument use the syntax SOME_OPTION = VALUE for example 9511 \FCSO_SNDBUF = 8192\F[]\&. Note that you must not have any spaces before or after the = sign\&.8973 SO_SNDBUF = 8192\&. Note that you must not have any spaces before or after the = sign\&. 9512 8974 .sp 9513 8975 If you are on a local network then a sensible option might be: 9514 8976 .sp 9515 \FCsocket options = IPTOS_LOWDELAY\F[] 8977 socket options = IPTOS_LOWDELAY 9516 8978 .sp 9517 8979 If you have a local network then you could try: 9518 8980 .sp 9519 \FCsocket options = IPTOS_LOWDELAY TCP_NODELAY\F[] 8981 socket options = IPTOS_LOWDELAY TCP_NODELAY 9520 8982 .sp 9521 8983 If you are on a wide area network then perhaps try setting IPTOS_THROUGHPUT\&. … … 9524 8986 .sp 9525 8987 Default: 9526 \fI\fIsocket options\fR\fR\fI = \fR\fI \FCTCP_NODELAY\F[]\fR\fI \fR9527 .sp 9528 Example: 9529 \fI\fIsocket options\fR\fR\fI = \fR\fI \FCIPTOS_LOWDELAY\F[]\fR\fI \fR8988 \fI\fIsocket options\fR\fR\fI = \fR\fITCP_NODELAY\fR\fI \fR 8989 .sp 8990 Example: 8991 \fI\fIsocket options\fR\fR\fI = \fR\fIIPTOS_LOWDELAY\fR\fI \fR 9530 8992 .RE 9531 8993 … … 9539 9001 .sp 9540 9002 Default: 9541 \fI\fIstat cache\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9003 \fI\fIstat cache\fR\fR\fI = \fR\fIyes\fR\fI \fR 9542 9004 .RE 9543 9005 … … 9558 9020 .sp 9559 9021 Default: 9560 \fI\fIstore dos attributes\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9022 \fI\fIstore dos attributes\fR\fR\fI = \fR\fIno\fR\fI \fR 9561 9023 .RE 9562 9024 … … 9578 9040 .sp 9579 9041 Default: 9580 \fI\fIstrict allocate\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9042 \fI\fIstrict allocate\fR\fR\fI = \fR\fIno\fR\fI \fR 9581 9043 .RE 9582 9044 … … 9593 9055 .sp 9594 9056 Well\-behaved clients always ask for lock checks when it is important\&. So in the vast majority of cases, 9595 \FCstrict locking = Auto\F[] 9057 strict locking = Auto 9596 9058 or 9597 \FCstrict locking = no\F[] 9059 strict locking = no 9598 9060 is acceptable\&. 9599 9061 .sp 9600 9062 Default: 9601 \fI\fIstrict locking\fR\fR\fI = \fR\fI \FCAuto\F[]\fR\fI \fR9063 \fI\fIstrict locking\fR\fR\fI = \fR\fIAuto\fR\fI \fR 9602 9064 .RE 9603 9065 … … 9613 9075 .sp 9614 9076 Default: 9615 \fI\fIstrict sync\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9077 \fI\fIstrict sync\fR\fR\fI = \fR\fIno\fR\fI \fR 9616 9078 .RE 9617 9079 … … 9623 9085 .sp 9624 9086 The administrator must create a directory name 9625 \FCsvcctl\F[] 9087 svcctl 9626 9088 in Samba\'s $(libdir) and create symbolic links to the init scripts in 9627 \FC/etc/init\&.d/\F[]\&. The name of the links must match the names given as part of the9089 /etc/init\&.d/\&. The name of the links must match the names given as part of the 9628 9090 \fIsvcctl list\fR\&. 9629 9091 .sp 9630 9092 Default: 9631 \fI\fIsvcctl list\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR9632 .sp 9633 Example: 9634 \fI\fIsvcctl list\fR\fR\fI = \fR\fI \FCcups postfix portmap httpd\F[]\fR\fI \fR9093 \fI\fIsvcctl list\fR\fR\fI = \fR\fI\fR\fI \fR 9094 .sp 9095 Example: 9096 \fI\fIsvcctl list\fR\fR\fI = \fR\fIcups postfix portmap httpd\fR\fI \fR 9635 9097 .RE 9636 9098 … … 9644 9106 \fByes\fR 9645 9107 then every write will be followed by a 9646 \FCfsync() \F[] 9108 fsync() 9647 9109 call to ensure the data is written to disk\&. Note that the 9648 9110 \fIstrict sync\fR … … 9652 9114 .sp 9653 9115 Default: 9654 \fI\fIsync always\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9116 \fI\fIsync always\fR\fR\fI = \fR\fIno\fR\fI \fR 9655 9117 .RE 9656 9118 … … 9664 9126 .sp 9665 9127 Default: 9666 \fI\fIsyslog only\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9128 \fI\fIsyslog only\fR\fR\fI = \fR\fIno\fR\fI \fR 9667 9129 .RE 9668 9130 … … 9682 9144 .sp 9683 9145 Default: 9684 \fI\fIsyslog\fR\fR\fI = \fR\fI \FC1\F[]\fR\fI \fR9146 \fI\fIsyslog\fR\fR\fI = \fR\fI1\fR\fI \fR 9685 9147 .RE 9686 9148 … … 9698 9160 .sp 9699 9161 Default: 9700 \fI\fItemplate homedir\fR\fR\fI = \fR\fI \FC/home/%D/%U\F[]\fR\fI \fR9162 \fI\fItemplate homedir\fR\fR\fI = \fR\fI/home/%D/%U\fR\fI \fR 9701 9163 .RE 9702 9164 … … 9719 9181 .sp 9720 9182 Default: 9721 \fI\fItime offset\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR9722 .sp 9723 Example: 9724 \fI\fItime offset\fR\fR\fI = \fR\fI \FC60\F[]\fR\fI \fR9183 \fI\fItime offset\fR\fR\fI = \fR\fI0\fR\fI \fR 9184 .sp 9185 Example: 9186 \fI\fItime offset\fR\fR\fI = \fR\fI60\fR\fI \fR 9725 9187 .RE 9726 9188 … … 9734 9196 .sp 9735 9197 Default: 9736 \fI\fItime server\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9198 \fI\fItime server\fR\fR\fI = \fR\fIno\fR\fI \fR 9737 9199 .RE 9738 9200 … … 9746 9208 .sp 9747 9209 Default: 9748 \fI\fIunix charset\fR\fR\fI = \fR\fI \FCUTF8\F[]\fR\fI \fR9749 .sp 9750 Example: 9751 \fI\fIunix charset\fR\fR\fI = \fR\fI \FCASCII\F[]\fR\fI \fR9210 \fI\fIunix charset\fR\fR\fI = \fR\fIUTF8\fR\fI \fR 9211 .sp 9212 Example: 9213 \fI\fIunix charset\fR\fR\fI = \fR\fIASCII\fR\fI \fR 9752 9214 .RE 9753 9215 … … 9759 9221 .sp 9760 9222 Default: 9761 \fI\fIunix extensions\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9223 \fI\fIunix extensions\fR\fR\fI = \fR\fIyes\fR\fI \fR 9762 9224 .RE 9763 9225 … … 9775 9237 .sp 9776 9238 Default: 9777 \fI\fIunix password sync\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9239 \fI\fIunix password sync\fR\fR\fI = \fR\fIno\fR\fI \fR 9778 9240 .RE 9779 9241 … … 9796 9258 .sp 9797 9259 Note that even when this parameter is set, a user authenticating to 9798 \FCsmbd\F[] 9260 smbd 9799 9261 must still enter a valid password in order to connect correctly, and to update their hashed (smbpasswd) passwords\&. 9800 9262 .sp 9801 9263 Default: 9802 \fI\fIupdate encrypted\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9264 \fI\fIupdate encrypted\fR\fR\fI = \fR\fIno\fR\fI \fR 9803 9265 .RE 9804 9266 … … 9808 9270 .RS 4 9809 9271 This parameter applies only to Windows NT/2000 clients\&. It has no effect on Windows 95/98/ME clients\&. When serving a printer to Windows NT/2000 clients without first installing a valid printer driver on the Samba host, the client will be required to install a local printer driver\&. From this point on, the client will treat the print as a local printer and not a network printer connection\&. This is much the same behavior that will occur when 9810 \FCdisable spoolss = yes\F[]\&.9272 disable spoolss = yes\&. 9811 9273 .sp 9812 9274 The differentiating factor is that under normal circumstances, the NT/2000 client will attempt to open the network printer using MS\-RPC\&. The problem is that because the client considers the printer to be local, it will attempt to issue the OpenPrinterEx() call requesting access rights associated with the logged on user\&. If the user possesses local administator rights but not root privilege on the Samba host (often the case), the OpenPrinterEx() call will fail\&. The result is that the client will now display an "Access Denied; Unable to connect" message in the printer queue window (even though jobs may successfully be printed)\&. … … 9816 9278 .sp 9817 9279 Default: 9818 \fI\fIuse client driver\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9280 \fI\fIuse client driver\fR\fR\fI = \fR\fIno\fR\fI \fR 9819 9281 .RE 9820 9282 … … 9829 9291 .sp 9830 9292 When you are using the heimdal Kerberos libraries, you must also specify the following in 9831 \FC/etc/krb5\&.conf\F[]:9293 /etc/krb5\&.conf: 9832 9294 .sp 9833 9295 .if n \{\ 9834 9296 .RS 4 9835 9297 .\} 9836 .fam C9837 .ps -19838 9298 .nf 9839 .if t \{\9840 .sp -19841 .\}9842 .BB lightgray adjust-for-leading-newline9843 .sp -19844 9845 9299 [libdefaults] 9846 9300 default_keytab_name = FILE:/etc/krb5\&.keytab 9847 .EB lightgray adjust-for-leading-newline9848 .if t \{\9849 .sp 19850 .\}9851 9301 .fi 9852 .fam9853 .ps +19854 9302 .if n \{\ 9855 9303 .RE … … 9857 9305 .sp 9858 9306 Default: 9859 \fI\fIuse kerberos keytab\fR\fR\fI = \fR\fI \FCFalse\F[]\fR\fI \fR9307 \fI\fIuse kerberos keytab\fR\fR\fI = \fR\fIFalse\fR\fI \fR 9860 9308 .RE 9861 9309 … … 9869 9317 .sp 9870 9318 Default: 9871 \fI\fIuse mmap\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9319 \fI\fIuse mmap\fR\fR\fI = \fR\fIyes\fR\fI \fR 9872 9320 .RE 9873 9321 … … 9884 9332 .sp 9885 9333 Default: 9886 \fI\fIusername level\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR9887 .sp 9888 Example: 9889 \fI\fIusername level\fR\fR\fI = \fR\fI \FC5\F[]\fR\fI \fR9334 \fI\fIusername level\fR\fR\fI = \fR\fI0\fR\fI \fR 9335 .sp 9336 Example: 9337 \fI\fIusername level\fR\fR\fI = \fR\fI5\fR\fI \fR 9890 9338 .RE 9891 9339 … … 9899 9347 .sp 9900 9348 Default: 9901 \fI\fIusername map script\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR9902 .sp 9903 Example: 9904 \fI\fIusername map script\fR\fR\fI = \fR\fI \FC/etc/samba/scripts/mapusers\&.sh\F[]\fR\fI \fR9349 \fI\fIusername map script\fR\fR\fI = \fR\fI\fR\fI \fR 9350 .sp 9351 Example: 9352 \fI\fIusername map script\fR\fR\fI = \fR\fI/etc/samba/scripts/mapusers\&.sh\fR\fI \fR 9905 9353 .RE 9906 9354 … … 9912 9360 .sp 9913 9361 Please note that for user or share mode security, the username map is applied prior to validating the user credentials\&. Domain member servers (domain or ads) apply the username map after the user has been successfully authenticated by the domain controller and require fully qualified enties in the map table (e\&.g\&. biddle = 9914 \FCDOMAIN\efoo\F[])\&.9362 DOMAIN\efoo)\&. 9915 9363 .sp 9916 9364 The map file is parsed line by line\&. Each line should contain a single UNIX username on the left then a \'=\' followed by a list of usernames on the right\&. The list of usernames on the right may contain names of the form @group in which case they will match any UNIX username in that group\&. The special client name \'*\' is a wildcard and matches any name\&. Each line of the map file may be up to 1023 characters long\&. … … 9933 9381 .RS 4 9934 9382 .\} 9935 .fam C9936 .ps -19937 9383 .nf 9938 .if t \{\ 9939 .sp -1 9940 .\} 9941 .BB lightgray adjust-for-leading-newline 9942 .sp -1 9943 9944 \FCroot = admin administrator\F[] 9945 .EB lightgray adjust-for-leading-newline 9946 .if t \{\ 9947 .sp 1 9948 .\} 9384 root = admin administrator 9949 9385 .fi 9950 .fam9951 .ps +19952 9386 .if n \{\ 9953 9387 .RE … … 9963 9397 .RS 4 9964 9398 .\} 9965 .fam C9966 .ps -19967 9399 .nf 9968 .if t \{\ 9969 .sp -1 9970 .\} 9971 .BB lightgray adjust-for-leading-newline 9972 .sp -1 9973 9974 \FCsys = @system\F[] 9975 .EB lightgray adjust-for-leading-newline 9976 .if t \{\ 9977 .sp 1 9978 .\} 9400 sys = @system 9979 9401 .fi 9980 .fam9981 .ps +19982 9402 .if n \{\ 9983 9403 .RE … … 9987 9407 .sp 9988 9408 If your system supports the NIS NETGROUP option then the netgroup database is checked before the 9989 \FC/etc/group \F[] 9409 /etc/group 9990 9410 database for matching groups\&. 9991 9411 .sp … … 9995 9415 .RS 4 9996 9416 .\} 9997 .fam C9998 .ps -19999 9417 .nf 10000 .if t \{\ 10001 .sp -1 10002 .\} 10003 .BB lightgray adjust-for-leading-newline 10004 .sp -1 10005 10006 \FCtridge = "Andrew Tridgell"\F[] 10007 .EB lightgray adjust-for-leading-newline 10008 .if t \{\ 10009 .sp 1 10010 .\} 9418 tridge = "Andrew Tridgell" 10011 9419 .fi 10012 .fam10013 .ps +110014 9420 .if n \{\ 10015 9421 .RE … … 10023 9429 .RS 4 10024 9430 .\} 10025 .fam C10026 .ps -110027 9431 .nf 10028 .if t \{\10029 .sp -110030 .\}10031 .BB lightgray adjust-for-leading-newline10032 .sp -110033 10034 9432 !sys = mary fred 10035 9433 guest = * 10036 .EB lightgray adjust-for-leading-newline10037 .if t \{\10038 .sp 110039 .\}10040 9434 .fi 10041 .fam10042 .ps +110043 9435 .if n \{\ 10044 9436 .RE … … 10059 9451 .sp 10060 9452 Samba versions prior to 3\&.0\&.8 would only support reading the fully qualified username (e\&.g\&.: 10061 \FCDOMAIN\euser\F[]) from the username map when performing a kerberos login from a client\&. However, when looking up a map entry for a user authenticated by NTLM[SSP], only the login name would be used for matches\&. This resulted in inconsistent behavior sometimes even on the same server\&.9453 DOMAIN\euser) from the username map when performing a kerberos login from a client\&. However, when looking up a map entry for a user authenticated by NTLM[SSP], only the login name would be used for matches\&. This resulted in inconsistent behavior sometimes even on the same server\&. 10062 9454 .sp 10063 9455 The following functionality is obeyed in version 3\&.0\&.8 and later: … … 10066 9458 .sp 10067 9459 When relying upon a external domain controller for validating authentication requests, smbd will apply the username map to the fully qualified username (i\&.e\&. 10068 \FCDOMAIN\euser\F[]) only after the user has been successfully authenticated\&.9460 DOMAIN\euser) only after the user has been successfully authenticated\&. 10069 9461 .sp 10070 9462 An example of use is: … … 10073 9465 .RS 4 10074 9466 .\} 10075 .fam C10076 .ps -110077 9467 .nf 10078 .if t \{\10079 .sp -110080 .\}10081 .BB lightgray adjust-for-leading-newline10082 .sp -110083 10084 9468 username map = /usr/local/samba/lib/users\&.map 10085 .EB lightgray adjust-for-leading-newline10086 .if t \{\10087 .sp 110088 .\}10089 9469 .fi 10090 .fam10091 .ps +110092 9470 .if n \{\ 10093 9471 .RE … … 10095 9473 .sp 10096 9474 Default: 10097 \fI\fIusername map\fR\fR\fI = \fR\fI \FC # no username map\F[]\fR\fI \fR9475 \fI\fIusername map\fR\fR\fI = \fR\fI # no username map\fR\fI \fR 10098 9476 .RE 10099 9477 … … 10149 9527 .sp 10150 9528 Default: 10151 \fI\fIusername\fR\fR\fI = \fR\fI \FC # The guest account if a guest service, else <empty string>\&.\F[]\fR\fI \fR10152 .sp 10153 Example: 10154 \fI\fIusername\fR\fR\fI = \fR\fI \FCfred, mary, jack, jane, @users, @pcgroup\F[]\fR\fI \fR9529 \fI\fIusername\fR\fR\fI = \fR\fI # The guest account if a guest service, else <empty string>\&.\fR\fI \fR 9530 .sp 9531 Example: 9532 \fI\fIusername\fR\fR\fI = \fR\fIfred, mary, jack, jane, @users, @pcgroup\fR\fI \fR 10155 9533 .RE 10156 9534 … … 10164 9542 .sp 10165 9543 Default: 10166 \fI\fIusershare allow guests\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9544 \fI\fIusershare allow guests\fR\fR\fI = \fR\fIno\fR\fI \fR 10167 9545 .RE 10168 9546 … … 10174 9552 .sp 10175 9553 Default: 10176 \fI\fIusershare max shares\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR9554 \fI\fIusershare max shares\fR\fR\fI = \fR\fI0\fR\fI \fR 10177 9555 .RE 10178 9556 … … 10184 9562 .sp 10185 9563 Default: 10186 \fI\fIusershare owner only\fR\fR\fI = \fR\fI \FCTrue\F[]\fR\fI \fR9564 \fI\fIusershare owner only\fR\fR\fI = \fR\fITrue\fR\fI \fR 10187 9565 .RE 10188 9566 … … 10200 9578 .RS 4 10201 9579 .\} 10202 .fam C10203 .ps -110204 9580 .nf 10205 .if t \{\10206 .sp -110207 .\}10208 .BB lightgray adjust-for-leading-newline10209 .sp -110210 10211 9581 ls \-ld /usr/local/samba/lib/usershares/ 10212 9582 drwxrwx\-\-T 2 root power_users 4096 2006\-05\-05 12:27 /usr/local/samba/lib/usershares/ 10213 9583 10214 .EB lightgray adjust-for-leading-newline10215 .if t \{\10216 .sp 110217 .\}10218 9584 .fi 10219 .fam10220 .ps +110221 9585 .if n \{\ 10222 9586 .RE … … 10226 9590 .sp 10227 9591 Default: 10228 \fI\fIusershare path\fR\fR\fI = \fR\fI \FCNULL\F[]\fR\fI \fR9592 \fI\fIusershare path\fR\fR\fI = \fR\fINULL\fR\fI \fR 10229 9593 .RE 10230 9594 … … 10238 9602 .sp 10239 9603 Default: 10240 \fI\fIusershare prefix allow list\fR\fR\fI = \fR\fI \FCNULL\F[]\fR\fI \fR10241 .sp 10242 Example: 10243 \fI\fIusershare prefix allow list\fR\fR\fI = \fR\fI \FC/home /data /space\F[]\fR\fI \fR9604 \fI\fIusershare prefix allow list\fR\fR\fI = \fR\fINULL\fR\fI \fR 9605 .sp 9606 Example: 9607 \fI\fIusershare prefix allow list\fR\fR\fI = \fR\fI/home /data /space\fR\fI \fR 10244 9608 .RE 10245 9609 … … 10253 9617 .sp 10254 9618 Default: 10255 \fI\fIusershare prefix deny list\fR\fR\fI = \fR\fI \FCNULL\F[]\fR\fI \fR10256 .sp 10257 Example: 10258 \fI\fIusershare prefix deny list\fR\fR\fI = \fR\fI \FC/etc /dev /private\F[]\fR\fI \fR9619 \fI\fIusershare prefix deny list\fR\fR\fI = \fR\fINULL\fR\fI \fR 9620 .sp 9621 Example: 9622 \fI\fIusershare prefix deny list\fR\fR\fI = \fR\fI/etc /dev /private\fR\fI \fR 10259 9623 .RE 10260 9624 … … 10268 9632 .sp 10269 9633 Default: 10270 \fI\fIusershare template share\fR\fR\fI = \fR\fI \FCNULL\F[]\fR\fI \fR10271 .sp 10272 Example: 10273 \fI\fIusershare template share\fR\fR\fI = \fR\fI \FCtemplate_share\F[]\fR\fI \fR9634 \fI\fIusershare template share\fR\fR\fI = \fR\fINULL\fR\fI \fR 9635 .sp 9636 Example: 9637 \fI\fIusershare template share\fR\fR\fI = \fR\fItemplate_share\fR\fI \fR 10274 9638 .RE 10275 9639 … … 10284 9648 .sp 10285 9649 Default: 10286 \fI\fIuse sendfile\fR\fR\fI = \fR\fI \FCfalse\F[]\fR\fI \fR9650 \fI\fIuse sendfile\fR\fR\fI = \fR\fIfalse\fR\fI \fR 10287 9651 .RE 10288 9652 … … 10296 9660 .sp 10297 9661 Default: 10298 \fI\fIuse spnego\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9662 \fI\fIuse spnego\fR\fR\fI = \fR\fIyes\fR\fI \fR 10299 9663 .RE 10300 9664 … … 10304 9668 .RS 4 10305 9669 This parameter is only available if Samba has been configured and compiled with the option 10306 \ FC \-\-with\-utmp\F[]\&. It specifies a directory pathname that is used to store the utmp or utmpx files (depending on the UNIX system) that record user connections to a Samba server\&. By default this is not set, meaning the system will use whatever utmp file the native system is set to use (usually10307 \FC/var/run/utmp\F[] 9670 \-\-with\-utmp\&. It specifies a directory pathname that is used to store the utmp or utmpx files (depending on the UNIX system) that record user connections to a Samba server\&. By default this is not set, meaning the system will use whatever utmp file the native system is set to use (usually 9671 /var/run/utmp 10308 9672 on Linux)\&. 10309 9673 .sp 10310 9674 Default: 10311 \fI\fIutmp directory\fR\fR\fI = \fR\fI \FC # Determined automatically\F[]\fR\fI \fR10312 .sp 10313 Example: 10314 \fI\fIutmp directory\fR\fR\fI = \fR\fI \FC/var/run/utmp\F[]\fR\fI \fR9675 \fI\fIutmp directory\fR\fR\fI = \fR\fI # Determined automatically\fR\fI \fR 9676 .sp 9677 Example: 9678 \fI\fIutmp directory\fR\fR\fI = \fR\fI/var/run/utmp\fR\fI \fR 10315 9679 .RE 10316 9680 … … 10320 9684 .RS 4 10321 9685 This boolean parameter is only available if Samba has been configured and compiled with the option 10322 \ FC\-\-with\-utmp\F[]\&. If set to9686 \-\-with\-utmp\&. If set to 10323 9687 \fByes\fR 10324 9688 then Samba will attempt to add utmp or utmpx records (depending on the UNIX system) whenever a connection is made to a Samba server\&. Sites may use this to record the user connecting to a Samba share\&. … … 10327 9691 .sp 10328 9692 Default: 10329 \fI\fIutmp\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR9693 \fI\fIutmp\fR\fR\fI = \fR\fIno\fR\fI \fR 10330 9694 .RE 10331 9695 … … 10346 9710 .sp 10347 9711 Default: 10348 \fI\fIvalid users\fR\fR\fI = \fR\fI \FC # No valid users list (anyone can login) \F[]\fR\fI \fR10349 .sp 10350 Example: 10351 \fI\fIvalid users\fR\fR\fI = \fR\fI \FCgreg, @pcusers\F[]\fR\fI \fR9712 \fI\fIvalid users\fR\fR\fI = \fR\fI # No valid users list (anyone can login) \fR\fI \fR 9713 .sp 9714 Example: 9715 \fI\fIvalid users\fR\fR\fI = \fR\fIgreg, @pcusers\fR\fI \fR 10352 9716 .RE 10353 9717 … … 10361 9725 .sp 10362 9726 Default: 10363 \fI\fI\-valid\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9727 \fI\fI\-valid\fR\fR\fI = \fR\fIyes\fR\fI \fR 10364 9728 .RE 10365 9729 … … 10392 9756 .RS 4 10393 9757 .\} 10394 .fam C10395 .ps -110396 9758 .nf 10397 .if t \{\10398 .sp -110399 .\}10400 .BB lightgray adjust-for-leading-newline10401 .sp -110402 10403 9759 ; Veto any files containing the word Security, 10404 9760 ; any ending in \&.tmp, and any directory containing the … … 10409 9765 ; creates\&. 10410 9766 veto files = /\&.AppleDouble/\&.bin/\&.AppleDesktop/Network Trash Folder/ 10411 .EB lightgray adjust-for-leading-newline10412 .if t \{\10413 .sp 110414 .\}10415 9767 .fi 10416 .fam10417 .ps +110418 9768 .if n \{\ 10419 9769 .RE … … 10421 9771 .sp 10422 9772 Default: 10423 \fI\fIveto files\fR\fR\fI = \fR\fI \FCNo files or directories are vetoed\&.\F[]\fR\fI \fR9773 \fI\fIveto files\fR\fR\fI = \fR\fINo files or directories are vetoed\&.\fR\fI \fR 10424 9774 .RE 10425 9775 … … 10435 9785 .sp 10436 9786 You might want to do this on files that you know will be heavily contended for by clients\&. A good example of this is in the NetBench SMB benchmark program, which causes heavy client contention for files ending in 10437 \ FC\&.SEM\F[]\&. To cause Samba not to grant oplocks on these files you would use the line (either in the [global] section or in the section for the particular NetBench share\&.9787 \&.SEM\&. To cause Samba not to grant oplocks on these files you would use the line (either in the [global] section or in the section for the particular NetBench share\&. 10438 9788 .sp 10439 9789 An example of use is: … … 10442 9792 .RS 4 10443 9793 .\} 10444 .fam C10445 .ps -110446 9794 .nf 10447 .if t \{\10448 .sp -110449 .\}10450 .BB lightgray adjust-for-leading-newline10451 .sp -110452 10453 9795 veto oplock files = /\&.*SEM/ 10454 .EB lightgray adjust-for-leading-newline10455 .if t \{\10456 .sp 110457 .\}10458 9796 .fi 10459 .fam10460 .ps +110461 9797 .if n \{\ 10462 9798 .RE … … 10464 9800 .sp 10465 9801 Default: 10466 \fI\fIveto oplock files\fR\fR\fI = \fR\fI \FC # No files are vetoed for oplock grants\F[]\fR\fI \fR9802 \fI\fIveto oplock files\fR\fR\fI = \fR\fI # No files are vetoed for oplock grants\fR\fI \fR 10467 9803 .RE 10468 9804 … … 10482 9818 .sp 10483 9819 Default: 10484 \fI\fIvfs objects\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR10485 .sp 10486 Example: 10487 \fI\fIvfs objects\fR\fR\fI = \fR\fI \FCextd_audit recycle\F[]\fR\fI \fR9820 \fI\fIvfs objects\fR\fR\fI = \fR\fI\fR\fI \fR 9821 .sp 9822 Example: 9823 \fI\fIvfs objects\fR\fR\fI = \fR\fIextd_audit recycle\fR\fI \fR 10488 9824 .RE 10489 9825 … … 10495 9831 .sp 10496 9832 Default: 10497 \fI\fIvolume\fR\fR\fI = \fR\fI \FC # the name of the share\F[]\fR\fI \fR9833 \fI\fIvolume\fR\fR\fI = \fR\fI # the name of the share\fR\fI \fR 10498 9834 .RE 10499 9835 … … 10507 9843 .sp 10508 9844 Default: 10509 \fI\fIwide links\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9845 \fI\fIwide links\fR\fR\fI = \fR\fIyes\fR\fI \fR 10510 9846 .RE 10511 9847 … … 10523 9859 .sp 10524 9860 Default: 10525 \fI\fIwinbind cache time\fR\fR\fI = \fR\fI \FC300\F[]\fR\fI \fR9861 \fI\fIwinbind cache time\fR\fR\fI = \fR\fI300\fR\fI \fR 10526 9862 .RE 10527 9863 … … 10533 9869 \fBwinbindd\fR(8) 10534 9870 it may be necessary to suppress the enumeration of groups through the 10535 \FCsetgrent()\F[],10536 \FCgetgrent()\F[] 9871 setgrent(), 9872 getgrent() 10537 9873 and 10538 \FCendgrent()\F[] 9874 endgrent() 10539 9875 group of system calls\&. If the 10540 9876 \fIwinbind enum groups\fR 10541 9877 parameter is 10542 9878 \fBno\fR, calls to the 10543 \FCgetgrent()\F[] 9879 getgrent() 10544 9880 system call will not return any data\&. 10545 9881 .if n \{\ … … 10547 9883 .\} 10548 9884 .RS 4 10549 .BM yellow10550 9885 .it 1 an-trap 10551 9886 .nr an-no-space-flag 1 … … 10558 9893 Turning off group enumeration may cause some programs to behave oddly\&. 10559 9894 .sp .5v 10560 .EM yellow 10561 .RE 10562 Default: 10563 \fI\fIwinbind enum groups\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR 9895 .RE 9896 Default: 9897 \fI\fIwinbind enum groups\fR\fR\fI = \fR\fIno\fR\fI \fR 10564 9898 .RE 10565 9899 … … 10571 9905 \fBwinbindd\fR(8) 10572 9906 it may be necessary to suppress the enumeration of users through the 10573 \FCsetpwent()\F[],10574 \FCgetpwent()\F[] 9907 setpwent(), 9908 getpwent() 10575 9909 and 10576 \FCendpwent()\F[] 9910 endpwent() 10577 9911 group of system calls\&. If the 10578 9912 \fIwinbind enum users\fR 10579 9913 parameter is 10580 9914 \fBno\fR, calls to the 10581 \FCgetpwent\F[] 9915 getpwent 10582 9916 system call will not return any data\&. 10583 9917 .if n \{\ … … 10585 9919 .\} 10586 9920 .RS 4 10587 .BM yellow10588 9921 .it 1 an-trap 10589 9922 .nr an-no-space-flag 1 … … 10596 9929 Turning off user enumeration may cause some programs to behave oddly\&. For example, the finger program relies on having access to the full user list when searching for matching usernames\&. 10597 9930 .sp .5v 10598 .EM yellow 10599 .RE 10600 Default: 10601 \fI\fIwinbind enum users\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR 9931 .RE 9932 Default: 9933 \fI\fIwinbind enum users\fR\fR\fI = \fR\fIno\fR\fI \fR 10602 9934 .RE 10603 9935 … … 10613 9945 .sp 10614 9946 Default: 10615 \fI\fIwinbind expand groups\fR\fR\fI = \fR\fI \FC1\F[]\fR\fI \fR9947 \fI\fIwinbind expand groups\fR\fR\fI = \fR\fI1\fR\fI \fR 10616 9948 .RE 10617 9949 … … 10623 9955 .sp 10624 9956 Default: 10625 \fI\fIwinbind nested groups\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9957 \fI\fIwinbind nested groups\fR\fR\fI = \fR\fIyes\fR\fI \fR 10626 9958 .RE 10627 9959 … … 10635 9967 .sp 10636 9968 Default: 10637 \fI\fIwinbind normalize names\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10638 .sp 10639 Example: 10640 \fI\fIwinbind normalize names\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR9969 \fI\fIwinbind normalize names\fR\fR\fI = \fR\fIno\fR\fI \fR 9970 .sp 9971 Example: 9972 \fI\fIwinbind normalize names\fR\fR\fI = \fR\fIyes\fR\fI \fR 10641 9973 .RE 10642 9974 … … 10680 10012 .sp 10681 10013 Default: 10682 \fI\fIwinbind nss info\fR\fR\fI = \fR\fI \FCtemplate\F[]\fR\fI \fR10683 .sp 10684 Example: 10685 \fI\fIwinbind nss info\fR\fR\fI = \fR\fI \FCtemplate sfu\F[]\fR\fI \fR10014 \fI\fIwinbind nss info\fR\fR\fI = \fR\fItemplate\fR\fI \fR 10015 .sp 10016 Example: 10017 \fI\fIwinbind nss info\fR\fR\fI = \fR\fItemplate sfu\fR\fI \fR 10686 10018 .RE 10687 10019 … … 10695 10027 .sp 10696 10028 Default: 10697 \fI\fIwinbind offline logon\fR\fR\fI = \fR\fI \FCfalse\F[]\fR\fI \fR10698 .sp 10699 Example: 10700 \fI\fIwinbind offline logon\fR\fR\fI = \fR\fI \FCtrue\F[]\fR\fI \fR10029 \fI\fIwinbind offline logon\fR\fR\fI = \fR\fIfalse\fR\fI \fR 10030 .sp 10031 Example: 10032 \fI\fIwinbind offline logon\fR\fR\fI = \fR\fItrue\fR\fI \fR 10701 10033 .RE 10702 10034 … … 10710 10042 .sp 10711 10043 Default: 10712 \fI\fIwinbind reconnect delay\fR\fR\fI = \fR\fI \FC30\F[]\fR\fI \fR10044 \fI\fIwinbind reconnect delay\fR\fR\fI = \fR\fI30\fR\fI \fR 10713 10045 .RE 10714 10046 … … 10722 10054 .sp 10723 10055 Default: 10724 \fI\fIwinbind refresh tickets\fR\fR\fI = \fR\fI \FCfalse\F[]\fR\fI \fR10725 .sp 10726 Example: 10727 \fI\fIwinbind refresh tickets\fR\fR\fI = \fR\fI \FCtrue\F[]\fR\fI \fR10056 \fI\fIwinbind refresh tickets\fR\fR\fI = \fR\fIfalse\fR\fI \fR 10057 .sp 10058 Example: 10059 \fI\fIwinbind refresh tickets\fR\fR\fI = \fR\fItrue\fR\fI \fR 10728 10060 .RE 10729 10061 … … 10733 10065 .RS 4 10734 10066 Setting this parameter to 10735 \FCyes\F[] 10067 yes 10736 10068 forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers\&. 10737 10069 .sp 10738 10070 Default: 10739 \fI\fIwinbind rpc only\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10071 \fI\fIwinbind rpc only\fR\fR\fI = \fR\fIno\fR\fI \fR 10740 10072 .RE 10741 10073 … … 10746 10078 This parameter allows an admin to define the character used when listing a username of the form of 10747 10079 \fIDOMAIN \fR\e\fIuser\fR\&. This parameter is only applicable when using the 10748 \FCpam_winbind\&.so\F[] 10080 pam_winbind\&.so 10749 10081 and 10750 \FCnss_winbind\&.so\F[] 10082 nss_winbind\&.so 10751 10083 modules for UNIX services\&. 10752 10084 .sp … … 10754 10086 .sp 10755 10087 Default: 10756 \fI\fIwinbind separator\fR\fR\fI = \fR\fI\ FC\'\e\'\F[]\fR\fI \fR10757 .sp 10758 Example: 10759 \fI\fIwinbind separator\fR\fR\fI = \fR\fI \FC+\F[]\fR\fI \fR10088 \fI\fIwinbind separator\fR\fR\fI = \fR\fI\'\e\'\fR\fI \fR 10089 .sp 10090 Example: 10091 \fI\fIwinbind separator\fR\fR\fI = \fR\fI+\fR\fI \fR 10760 10092 .RE 10761 10093 … … 10765 10097 .RS 4 10766 10098 This parameter is designed to allow Samba servers that are members of a Samba controlled domain to use UNIX accounts distributed via NIS, rsync, or LDAP as the uid\'s for winbindd users in the hosts primary domain\&. Therefore, the user 10767 \FCDOMAIN\euser1\F[] 10099 DOMAIN\euser1 10768 10100 would be mapped to the account user1 in /etc/passwd instead of allocating a new uid for him or her\&. 10769 10101 .sp … … 10773 10105 .sp 10774 10106 Default: 10775 \fI\fIwinbind trusted domains only\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10107 \fI\fIwinbind trusted domains only\fR\fR\fI = \fR\fIno\fR\fI \fR 10776 10108 .RE 10777 10109 … … 10785 10117 .sp 10786 10118 Default: 10787 \fI\fIwinbind use default domain\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10788 .sp 10789 Example: 10790 \fI\fIwinbind use default domain\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR10119 \fI\fIwinbind use default domain\fR\fR\fI = \fR\fIno\fR\fI \fR 10120 .sp 10121 Example: 10122 \fI\fIwinbind use default domain\fR\fR\fI = \fR\fIyes\fR\fI \fR 10791 10123 .RE 10792 10124 … … 10799 10131 The wins hook parameter specifies the name of a script or executable that will be called as follows: 10800 10132 .sp 10801 \FCwins_hook operation name nametype ttl IP_list\F[] 10133 wins_hook operation name nametype ttl IP_list 10802 10134 .sp 10803 10135 .RS 4 … … 10857 10189 .RE 10858 10190 An example script that calls the BIND dynamic DNS update program 10859 \FCnsupdate\F[] 10191 nsupdate 10860 10192 is provided in the examples directory of the Samba source code\&. 10861 10193 .sp … … 10874 10206 .sp 10875 10207 Default: 10876 \fI\fIwins proxy\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10208 \fI\fIwins proxy\fR\fR\fI = \fR\fIno\fR\fI \fR 10877 10209 .RE 10878 10210 … … 10892 10224 .\} 10893 10225 .RS 4 10894 .BM yellow10895 10226 .it 1 an-trap 10896 10227 .nr an-no-space-flag 1 … … 10903 10234 You need to set up Samba to point to a WINS server if you have multiple subnets and wish cross\-subnet browsing to work correctly\&. 10904 10235 .sp .5v 10905 .EM yellow10906 10236 .RE 10907 10237 See the chapter in the Samba3\-HOWTO on Network Browsing\&. 10908 10238 .sp 10909 10239 Default: 10910 \fI\fIwins server\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR10911 .sp 10912 Example: 10913 \fI\fIwins server\fR\fR\fI = \fR\fI \FCmary:192\&.9\&.200\&.1 fred:192\&.168\&.3\&.199 mary:192\&.168\&.2\&.61 # For this example when querying a certain name, 192\&.19\&.200\&.1 will be asked first and if that doesn\'t respond 192\&.168\&.2\&.61\&. If either of those doesn\'t know the name 192\&.168\&.3\&.199 will be queried\&.\F[]\fR\fI \fR10914 .sp 10915 Example: 10916 \fI\fIwins server\fR\fR\fI = \fR\fI \FC192\&.9\&.200\&.1 192\&.168\&.2\&.61\F[]\fR\fI \fR10240 \fI\fIwins server\fR\fR\fI = \fR\fI\fR\fI \fR 10241 .sp 10242 Example: 10243 \fI\fIwins server\fR\fR\fI = \fR\fImary:192\&.9\&.200\&.1 fred:192\&.168\&.3\&.199 mary:192\&.168\&.2\&.61 # For this example when querying a certain name, 192\&.19\&.200\&.1 will be asked first and if that doesn\'t respond 192\&.168\&.2\&.61\&. If either of those doesn\'t know the name 192\&.168\&.3\&.199 will be queried\&.\fR\fI \fR 10244 .sp 10245 Example: 10246 \fI\fIwins server\fR\fR\fI = \fR\fI192\&.9\&.200\&.1 192\&.168\&.2\&.61\fR\fI \fR 10917 10247 .RE 10918 10248 … … 10926 10256 \fByes\fR 10927 10257 unless you have a multi\-subnetted network and you wish a particular 10928 \FCnmbd\F[] 10258 nmbd 10929 10259 to be your WINS server\&. Note that you should 10930 10260 \fINEVER\fR … … 10934 10264 .sp 10935 10265 Default: 10936 \fI\fIwins support\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10266 \fI\fIwins support\fR\fR\fI = \fR\fIno\fR\fI \fR 10937 10267 .RE 10938 10268 … … 10946 10276 .sp 10947 10277 Default: 10948 \fI\fIworkgroup\fR\fR\fI = \fR\fI \FCWORKGROUP\F[]\fR\fI \fR10949 .sp 10950 Example: 10951 \fI\fIworkgroup\fR\fR\fI = \fR\fI \FCMYGROUP\F[]\fR\fI \fR10278 \fI\fIworkgroup\fR\fR\fI = \fR\fIWORKGROUP\fR\fI \fR 10279 .sp 10280 Example: 10281 \fI\fIworkgroup\fR\fR\fI = \fR\fIMYGROUP\fR\fI \fR 10952 10282 .RE 10953 10283 … … 10968 10298 .sp 10969 10299 Default: 10970 \fI\fIwriteable\fR\fR\fI = \fR\fI \FCno\F[]\fR\fI \fR10300 \fI\fIwriteable\fR\fR\fI = \fR\fIno\fR\fI \fR 10971 10301 .RE 10972 10302 … … 10984 10314 .sp 10985 10315 Default: 10986 \fI\fIwrite cache size\fR\fR\fI = \fR\fI \FC0\F[]\fR\fI \fR10987 .sp 10988 Example: 10989 \fI\fIwrite cache size\fR\fR\fI = \fR\fI \FC262144 # for a 256k cache size per file\F[]\fR\fI \fR10316 \fI\fIwrite cache size\fR\fR\fI = \fR\fI0\fR\fI \fR 10317 .sp 10318 Example: 10319 \fI\fIwrite cache size\fR\fR\fI = \fR\fI262144 # for a 256k cache size per file\fR\fI \fR 10990 10320 .RE 10991 10321 … … 11005 10335 .sp 11006 10336 Default: 11007 \fI\fIwrite list\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR11008 .sp 11009 Example: 11010 \fI\fIwrite list\fR\fR\fI = \fR\fI \FCadmin, root, @staff\F[]\fR\fI \fR10337 \fI\fIwrite list\fR\fR\fI = \fR\fI\fR\fI \fR 10338 .sp 10339 Example: 10340 \fI\fIwrite list\fR\fR\fI = \fR\fIadmin, root, @staff\fR\fI \fR 11011 10341 .RE 11012 10342 … … 11018 10348 .sp 11019 10349 Default: 11020 \fI\fIwrite raw\fR\fR\fI = \fR\fI \FCyes\F[]\fR\fI \fR10350 \fI\fIwrite raw\fR\fR\fI = \fR\fIyes\fR\fI \fR 11021 10351 .RE 11022 10352 … … 11026 10356 .RS 4 11027 10357 This parameter is only available if Samba has been configured and compiled with the option 11028 \ FC \-\-with\-utmp\F[]\&. It specifies a directory pathname that is used to store the wtmp or wtmpx files (depending on the UNIX system) that record user connections to a Samba server\&. The difference with the utmp directory is the fact that user info is kept after a user has logged out\&.10358 \-\-with\-utmp\&. It specifies a directory pathname that is used to store the wtmp or wtmpx files (depending on the UNIX system) that record user connections to a Samba server\&. The difference with the utmp directory is the fact that user info is kept after a user has logged out\&. 11029 10359 .sp 11030 10360 By default this is not set, meaning the system will use whatever utmp file the native system is set to use (usually 11031 \FC/var/run/wtmp\F[] 10361 /var/run/wtmp 11032 10362 on Linux)\&. 11033 10363 .sp 11034 10364 Default: 11035 \fI\fIwtmp directory\fR\fR\fI = \fR\fI\ FC\F[]\fR\fI \fR11036 .sp 11037 Example: 11038 \fI\fIwtmp directory\fR\fR\fI = \fR\fI \FC/var/log/wtmp\F[]\fR\fI \fR10365 \fI\fIwtmp directory\fR\fR\fI = \fR\fI\fR\fI \fR 10366 .sp 10367 Example: 10368 \fI\fIwtmp directory\fR\fR\fI = \fR\fI/var/log/wtmp\fR\fI \fR 11039 10369 .RE 11040 10370 .SH "WARNINGS" … … 11047 10377 .PP 11048 10378 Use of the 11049 \FC[homes]\F[]10379 [homes] 11050 10380 and 11051 \FC[printers]\F[]10381 [printers] 11052 10382 special sections make life for an administrator easy, but the various combinations of default attributes can be tricky\&. Take extreme care when designing these sections\&. In particular, ensure that the permissions on spool directories are correct\&. 11053 10383 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/smbcacls.1
r342 r368 1 '\" t 1 2 .\" Title: smbcacls 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBCACLS" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBCACLS" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbcacls \- Set or get ACLs on an NT file or directory names 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbcacls\F[] {//server/share} {filename} [\-D\ acls] [\-M\ acls] [\-a\ acls] [\-S\ acls] [\-C\ name] [\-G\ name] [\-\-numeric] [\-t] [\-U\ username] [\-h] [\-d] 175 .fam 25 smbcacls {//server/share} {filename} [\-D\ acls] [\-M\ acls] [\-a\ acls] [\-S\ acls] [\-C\ name] [\-G\ name] [\-\-numeric] [\-t] [\-U\ username] [\-h] [\-d] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCsmbcacls\F[] 33 smbcacls 184 34 program manipulates NT Access Control Lists (ACLs) on SMB file shares\&. 185 35 .SH "OPTIONS" 186 36 .PP 187 37 The following options are available to the 188 \FCsmbcacls\F[] 38 smbcacls 189 39 program\&. The format of ACLs is described in the section ACL FORMAT 190 40 .PP … … 259 109 .sp 260 110 Note that specifying this parameter here will override the 261 \m[blue]\fB log level\fR\m[]111 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 262 112 parameter in the 263 \FCsmb\&.conf\F[] 113 smb\&.conf 264 114 file\&. 265 115 .RE 266 116 .PP 267 \-V 117 \-V|\-\-version 268 118 .RS 4 269 119 Prints the program version number\&. 270 120 .RE 271 121 .PP 272 \-s <configuration file>122 \-s|\-\-configfile <configuration file> 273 123 .RS 4 274 124 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 275 \FCsmb\&.conf\F[] 125 smb\&.conf 276 126 for more information\&. The default configuration file name is determined at compile time\&. 277 127 .RE … … 290 140 .RS 4 291 141 .\} 292 .fam C293 .ps -1294 142 .nf 295 .BB lightgray296 143 297 144 REVISION:<revision number> … … 299 146 GROUP:<sid or name> 300 147 ACL:<sid or name>:<type>/<flags>/<mask> 301 .EB lightgray302 148 .fi 303 .fam304 .ps +1305 149 .if n \{\ 306 150 .RE … … 476 320 .PP 477 321 The 478 \FCsmbcacls\F[] 322 smbcacls 479 323 program sets the exit status depending on the success or otherwise of the operations performed\&. The exit status may be one of the following values\&. 480 324 .PP 481 325 If the operation succeeded, smbcacls returns and exit status of 0\&. If 482 \FCsmbcacls\F[] 326 smbcacls 483 327 couldn\'t connect to the specified server, or there was an error getting or setting the ACLs, an exit status of 1 is returned\&. If there was an error parsing any command line arguments, an exit status of 2 is returned\&. 484 328 .SH "VERSION" … … 489 333 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\&. 490 334 .PP 491 \FCsmbcacls\F[] 335 smbcacls 492 336 was written by Andrew Tridgell and Tim Potter\&. 493 337 .PP -
branches/samba-3.3.x/docs/manpages/smbclient.1
r342 r368 1 '\" t 1 2 .\" Title: smbclient 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBCLIENT" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBCLIENT" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbclient \- ftp\-like client to access SMB/CIFS resources on servers 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbclient\F[] [\-b\ <buffer\ size>] [\-d\ debuglevel] [\-e] [\-L\ <netbios\ name>] [\-U\ username] [\-I\ destinationIP] [\-M\ <netbios\ name>] [\-m\ maxprotocol] [\-A\ authfile] [\-N] [\-g] [\-i\ scope] [\-O\ <socket\ options>] [\-p\ port] [\-R\ <name\ resolve\ order>] [\-s\ <smb\ config\ file>] [\-k] [\-P] [\-c\ <command>] 175 .fam 176 .fam C 25 smbclient [\-b\ <buffer\ size>] [\-d\ debuglevel] [\-e] [\-L\ <netbios\ name>] [\-U\ username] [\-I\ destinationIP] [\-M\ <netbios\ name>] [\-m\ maxprotocol] [\-A\ authfile] [\-N] [\-g] [\-i\ scope] [\-O\ <socket\ options>] [\-p\ port] [\-R\ <name\ resolve\ order>] [\-s\ <smb\ config\ file>] [\-k] [\-P] [\-c\ <command>] 177 26 .HP \w'\ 'u 178 \FCsmbclient\F[] {servicename} [password] [\-b\ <buffer\ size>] [\-d\ debuglevel] [\-e] [\-D\ Directory] [\-U\ username] [\-W\ workgroup] [\-M\ <netbios\ name>] [\-m\ maxprotocol] [\-A\ authfile] [\-N] [\-g] [\-l\ log\-basename] [\-I\ destinationIP] [\-E] [\-c\ <command\ string>] [\-i\ scope] [\-O\ <socket\ options>] [\-p\ port] [\-R\ <name\ resolve\ order>] [\-s\ <smb\ config\ file>] [\-T<c|x>IXFqgbNan] [\-k] 179 .fam 27 smbclient {servicename} [password] [\-b\ <buffer\ size>] [\-d\ debuglevel] [\-e] [\-D\ Directory] [\-U\ username] [\-W\ workgroup] [\-M\ <netbios\ name>] [\-m\ maxprotocol] [\-A\ authfile] [\-N] [\-g] [\-l\ log\-basename] [\-I\ destinationIP] [\-E] [\-c\ <command\ string>] [\-i\ scope] [\-O\ <socket\ options>] [\-p\ port] [\-R\ <name\ resolve\ order>] [\-s\ <smb\ config\ file>] [\-T<c|x>IXFqgbNan] [\-k] 180 28 .SH "DESCRIPTION" 181 29 .PP … … 184 32 suite\&. 185 33 .PP 186 \FCsmbclient\F[] 34 smbclient 187 35 is a client that can \'talk\' to an SMB/CIFS server\&. It offers an interface similar to that of the ftp program (see 188 36 \fBftp\fR(1))\&. Operations include things like getting files from the server to the local machine, putting files from the local machine to the server, retrieving directory information from the server and so on\&. … … 192 40 .RS 4 193 41 servicename is the name of the service you want to use on the server\&. A service name takes the form 194 \FC//server/service\F[] 42 //server/service 195 43 where 196 44 \fIserver \fR … … 198 46 \fIservice\fR 199 47 is the name of the service offered\&. Thus to connect to the service "printer" on the SMB/CIFS server "smbserver", you would use the servicename 200 \FC//smbserver/printer \F[] 48 //smbserver/printer 201 49 .sp 202 50 Note that the server name required is NOT necessarily the IP (DNS) host name of the server ! The name required is a NetBIOS server name, which may or may not be the same as the IP hostname of the machine running the server\&. … … 205 53 \fI\-R\fR 206 54 parameter to 207 \FCsmbclient\F[] 55 smbclient 208 56 or using the name resolve order parameter in the 209 57 \fBsmb.conf\fR(5) … … 256 104 .\} 257 105 \fBhost\fR: Do a standard host name to IP address resolution, using the system 258 \FC/etc/hosts \F[], NIS, or DNS lookups\&. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the259 \FC/etc/nsswitch\&.conf\F[] 106 /etc/hosts, NIS, or DNS lookups\&. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the 107 /etc/nsswitch\&.conf 260 108 file)\&. Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored\&. 261 109 .RE … … 307 155 .sp 308 156 One useful trick is to pipe the message through 309 \FCsmbclient\F[]\&. For example: smbclient \-M FRED < mymessage\&.txt will send the message in the file310 \FCmymessage\&.txt\F[] 157 smbclient\&. For example: smbclient \-M FRED < mymessage\&.txt will send the message in the file 158 mymessage\&.txt 311 159 to the machine FRED\&. 312 160 .sp … … 370 218 .RS 4 371 219 This option allows you to look at what services are available on a server\&. You use it as 372 \FCsmbclient \-L host\F[] 220 smbclient \-L host 373 221 and a list should appear\&. The 374 222 \fI\-I \fR … … 379 227 .RS 4 380 228 This option tells 381 \FCsmbclient\F[] 229 smbclient 382 230 how to interpret filenames coming from the remote server\&. Usually Asian language multibyte UNIX implementations use different character sets than SMB/CIFS servers (\fIEUC\fR 383 231 instead of 384 232 \fI SJIS\fR 385 233 for example)\&. Setting this parameter will let 386 \FCsmbclient\F[] 234 smbclient 387 235 convert between the UNIX filenames and the SMB filenames correctly\&. This option has not been seriously tested and may have some problems\&. 388 236 .sp … … 410 258 .sp 411 259 Note that specifying this parameter here will override the 412 \m[blue]\fB log level\fR\m[]260 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 413 261 parameter in the 414 \FCsmb\&.conf\F[] 262 smb\&.conf 415 263 file\&. 416 264 .RE 417 265 .PP 418 \-V 266 \-V|\-\-version 419 267 .RS 4 420 268 Prints the program version number\&. 421 269 .RE 422 270 .PP 423 \-s <configuration file>271 \-s|\-\-configfile <configuration file> 424 272 .RS 4 425 273 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 426 \FCsmb\&.conf\F[] 274 smb\&.conf 427 275 for more information\&. The default configuration file name is determined at compile time\&. 428 276 .RE … … 435 283 .RE 436 284 .PP 437 \-N 285 \-N|\-\-no\-pass 438 286 .RS 4 439 287 If specified, this parameter suppresses the normal password prompt from the client to the user\&. This is useful when accessing a service that does not require a password\&. … … 444 292 .RE 445 293 .PP 446 \-k 294 \-k|\-\-kerberos 447 295 .RS 4 448 296 Try to authenticate with kerberos\&. Only useful in an Active Directory environment\&. … … 456 304 .RS 4 457 305 .\} 458 .fam C459 .ps -1460 306 .nf 461 .if t \{\462 .sp -1463 .\}464 .BB lightgray adjust-for-leading-newline465 .sp -1466 467 307 username = <value> 468 308 password = <value> 469 309 domain = <value> 470 .EB lightgray adjust-for-leading-newline471 .if t \{\472 .sp 1473 .\}474 310 .fi 475 .fam476 .ps +1477 311 .if n \{\ 478 312 .RE … … 499 333 .sp 500 334 Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the 501 \FCps\F[] 335 ps 502 336 command\&. To be safe always allow 503 \FCrpcclient\F[] 337 rpcclient 504 338 to prompt for a password and type it in directly\&. 505 339 .RE 506 340 .PP 507 \-n <primary NetBIOS name>341 \-n|\-\-netbiosname <primary NetBIOS name> 508 342 .RS 4 509 343 This option allows you to override the NetBIOS name that Samba uses for itself\&. This is identical to setting the 510 \m[blue]\fB netbios name\fR\m[]344 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 511 345 parameter in the 512 \FCsmb\&.conf\F[] 346 smb\&.conf 513 347 file\&. However, a command line setting will take precedence over settings in 514 \FCsmb\&.conf\F[]\&.515 .RE 516 .PP 517 \-i <scope>348 smb\&.conf\&. 349 .RE 350 .PP 351 \-i|\-\-scope <scope> 518 352 .RS 4 519 353 This specifies a NetBIOS scope that 520 \FCnmblookup\F[] 354 nmblookup 521 355 will use to communicate with when generating NetBIOS names\&. For details on the use of NetBIOS scopes, see rfc1001\&.txt and rfc1002\&.txt\&. NetBIOS scopes are 522 356 \fIvery\fR … … 529 363 .RE 530 364 .PP 531 \-O socket options365 \-O|\-\-socket\-options socket options 532 366 .RS 4 533 367 TCP socket options to set on the client socket\&. See the socket options parameter in the 534 \FCsmb\&.conf\F[] 368 smb\&.conf 535 369 manual page for the list of valid options\&. 536 370 .RE … … 539 373 .RS 4 540 374 smbclient may be used to create 541 \FCtar(1) \F[] 375 tar(1) 542 376 compatible backups of all the files on an SMB/CIFS share\&. The secondary tar flags that can be given to this option are : 543 377 .sp … … 696 530 \fITar Long File Names\fR 697 531 .sp 698 \FCsmbclient\F[]\'s tar option now supports long file names both on backup and restore\&. However, the full path name of the file must be less than 1024 bytes\&. Also, when a tar archive is created,699 \FCsmbclient\F[]\'s tar option places all files in the archive with relative names, not absolute names\&.532 smbclient\'s tar option now supports long file names both on backup and restore\&. However, the full path name of the file must be less than 1024 bytes\&. Also, when a tar archive is created, 533 smbclient\'s tar option places all files in the archive with relative names, not absolute names\&. 700 534 .sp 701 535 \fITar Filenames\fR … … 706 540 .sp 707 541 Restore from tar file 708 \FCbackup\&.tar\F[] 542 backup\&.tar 709 543 into myshare on mypc (no password on share)\&. 710 544 .sp 711 \FCsmbclient //mypc/yshare "" \-N \-Tx backup\&.tar \F[] 545 smbclient //mypc/yshare "" \-N \-Tx backup\&.tar 712 546 .sp 713 547 Restore everything except 714 \FCusers/docs\F[] 715 .sp 716 \FCsmbclient //mypc/myshare "" \-N \-TXx backup\&.tar users/docs\F[] 548 users/docs 549 .sp 550 smbclient //mypc/myshare "" \-N \-TXx backup\&.tar users/docs 717 551 .sp 718 552 Create a tar file of the files beneath 719 \FC users/docs\F[]\&.720 .sp 721 \FCsmbclient //mypc/myshare "" \-N \-Tc backup\&.tar users/docs \F[] 553 users/docs\&. 554 .sp 555 smbclient //mypc/myshare "" \-N \-Tc backup\&.tar users/docs 722 556 .sp 723 557 Create the same tar file as above, but now use a DOS path name\&. 724 558 .sp 725 \FCsmbclient //mypc/myshare "" \-N \-tc backup\&.tar users\eedocs \F[] 559 smbclient //mypc/myshare "" \-N \-tc backup\&.tar users\eedocs 726 560 .sp 727 561 Create a tar file of the files listed in the file 728 \FCtarlist\F[]\&.729 .sp 730 \FCsmbclient //mypc/myshare "" \-N \-TcF backup\&.tar tarlist\F[] 562 tarlist\&. 563 .sp 564 smbclient //mypc/myshare "" \-N \-TcF backup\&.tar tarlist 731 565 .sp 732 566 Create a tar file of all the files and directories in the share\&. 733 567 .sp 734 \FCsmbclient //mypc/myshare "" \-N \-Tc backup\&.tar * \F[] 568 smbclient //mypc/myshare "" \-N \-Tc backup\&.tar * 735 569 .RE 736 570 .PP … … 748 582 .sp 749 583 This is particularly useful in scripts and for printing stdin to the server, e\&.g\&. 750 \ FC\-c \'print \-\'\F[]\&.584 \-c \'print \-\'\&. 751 585 .RE 752 586 .SH "OPERATIONS" … … 754 588 Once the client is running, the user is presented with a prompt : 755 589 .PP 756 \FCsmb:\e> \F[] 590 smb:\e> 757 591 .PP 758 592 The backslash ("\e\e") indicates the current working directory on the server, and will change if the current working directory is changed\&. … … 866 700 .RS 4 867 701 Copy the file called 868 \FCremote file name\F[] 702 remote file name 869 703 from the server to the machine running the client\&. If specified, name the local copy 870 \FClocal file name\F[]\&. Note that all transfers in871 \FCsmbclient\F[] 704 local file name\&. Note that all transfers in 705 smbclient 872 706 are binary\&. See also the lowercase command\&. 873 707 .RE … … 964 798 \fImask\fR 965 799 is interpreted differently during recursive operation and non\-recursive operation \- refer to the recurse and mask commands for more information\&. Note that all transfers in 966 \FCsmbclient\F[] 800 smbclient 967 801 are binary\&. See also the lowercase command\&. 968 802 .RE … … 987 821 \fImask\fR 988 822 is interpreted differently during recursive operation and non\-recursive operation \- refer to the recurse and mask commands for more information\&. Note that all transfers in 989 \FCsmbclient\F[] 823 smbclient 990 824 are binary\&. 991 825 .RE … … 1036 870 .RS 4 1037 871 Copy the file called 1038 \FClocal file name\F[] 872 local file name 1039 873 from the machine running the client to the server\&. If specified, name the remote copy 1040 \FCremote file name\F[]\&. Note that all transfers in1041 \FCsmbclient\F[] 874 remote file name\&. Note that all transfers in 875 smbclient 1042 876 are binary\&. See also the lowercase command\&. 1043 877 .RE … … 1091 925 A version of the DOS attrib command to set file permissions\&. For example: 1092 926 .sp 1093 \FCsetmode myfile +r \F[] 927 setmode myfile +r 1094 928 .sp 1095 929 would make myfile read only\&. … … 1168 1002 .PP 1169 1003 It is recommended that the smbclient software be installed in the 1170 \FC/usr/local/samba/bin/\F[] 1004 /usr/local/samba/bin/ 1171 1005 or 1172 \FC /usr/samba/bin/\F[] 1006 /usr/samba/bin/ 1173 1007 directory, this directory readable by all, writeable only by root\&. The client program itself should be executable by all\&. The client should 1174 1008 \fINOT\fR -
branches/samba-3.3.x/docs/manpages/smbcontrol.1
r342 r368 1 '\" t 1 2 .\" Title: smbcontrol 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBCONTROL" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBCONTROL" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbcontrol \- send messages to smbd, nmbd or winbindd processes 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbcontrol\F[] [\-i] [\-s] 175 .fam 176 .fam C 25 smbcontrol [\-i] [\-s] 177 26 .HP \w'\ 'u 178 \FCsmbcontrol\F[] [destination] [message\-type] [parameter] 179 .fam 27 smbcontrol [destination] [message\-type] [parameter] 180 28 .SH "DESCRIPTION" 181 29 .PP … … 184 32 suite\&. 185 33 .PP 186 \FCsmbcontrol\F[] 34 smbcontrol 187 35 is a very small program, which sends messages to a 188 36 \fBsmbd\fR(8), a … … 197 45 .RE 198 46 .PP 199 \-s <configuration file>47 \-s|\-\-configfile <configuration file> 200 48 .RS 4 201 49 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[] 50 smb\&.conf 203 51 for more information\&. The default configuration file name is determined at compile time\&. 204 52 .RE … … 223 71 \fIsmbd\fR 224 72 destination causes the message to be sent to the smbd daemon specified in the 225 \FCsmbd\&.pid\F[] 73 smbd\&.pid 226 74 file\&. 227 75 .sp … … 229 77 \fInmbd\fR 230 78 destination causes the message to be sent to the nmbd daemon specified in the 231 \FCnmbd\&.pid\F[] 79 nmbd\&.pid 232 80 file\&. 233 81 .sp … … 235 83 \fIwinbindd\fR 236 84 destination causes the message to be sent to the winbind daemon specified in the 237 \FCwinbindd\&.pid\F[] 85 winbindd\&.pid 238 86 file\&. 239 87 .sp … … 270 118 .RS 4 271 119 This message causes the 272 \FCnmbd\F[] 120 nmbd 273 121 daemon to force a new browse master election\&. 274 122 .RE … … 337 185 .\} 338 186 .RS 4 339 .BM yellow340 187 .it 1 an-trap 341 188 .nr an-no-space-flag 1 … … 348 195 Not working at the moment 349 196 .sp .5v 350 .EM yellow351 197 .RE 352 198 .RE -
branches/samba-3.3.x/docs/manpages/smbcquotas.1
r342 r368 1 '\" t 1 2 .\" Title: smbcquotas 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBCQUOTAS" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBCQUOTAS" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbcquotas \- Set or get QUOTAs of NTFS 5 shares 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbcquotas\F[] {//server/share} [\-u\ user] [\-L] [\-F] [\-S\ QUOTA_SET_COMMAND] [\-n] [\-t] [\-v] [\-d\ debuglevel] [\-s\ configfile] [\-l\ logdir] [\-V] [\-U\ username] [\-N] [\-k] [\-A] 175 .fam 25 smbcquotas {//server/share} [\-u\ user] [\-L] [\-F] [\-S\ QUOTA_SET_COMMAND] [\-n] [\-t] [\-v] [\-d\ debuglevel] [\-s\ configfile] [\-l\ logdir] [\-V] [\-U\ username] [\-N] [\-k] [\-A] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCsmbcquotas\F[] 33 smbcquotas 184 34 program manipulates NT Quotas on SMB file shares\&. 185 35 .SH "OPTIONS" 186 36 .PP 187 37 The following options are available to the 188 \FCsmbcquotas\F[] 38 smbcquotas 189 39 program\&. 190 40 .PP … … 239 89 .sp 240 90 Note that specifying this parameter here will override the 241 \m[blue]\fB log level\fR\m[]91 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 242 92 parameter in the 243 \FCsmb\&.conf\F[] 93 smb\&.conf 244 94 file\&. 245 95 .RE 246 96 .PP 247 \-V 97 \-V|\-\-version 248 98 .RS 4 249 99 Prints the program version number\&. 250 100 .RE 251 101 .PP 252 \-s <configuration file>102 \-s|\-\-configfile <configuration file> 253 103 .RS 4 254 104 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 255 \FCsmb\&.conf\F[] 105 smb\&.conf 256 106 for more information\&. The default configuration file name is determined at compile time\&. 257 107 .RE … … 264 114 .RE 265 115 .PP 266 \-N 116 \-N|\-\-no\-pass 267 117 .RS 4 268 118 If specified, this parameter suppresses the normal password prompt from the client to the user\&. This is useful when accessing a service that does not require a password\&. … … 273 123 .RE 274 124 .PP 275 \-k 125 \-k|\-\-kerberos 276 126 .RS 4 277 127 Try to authenticate with kerberos\&. Only useful in an Active Directory environment\&. … … 285 135 .RS 4 286 136 .\} 287 .fam C288 .ps -1289 137 .nf 290 .if t \{\291 .sp -1292 .\}293 .BB lightgray adjust-for-leading-newline294 .sp -1295 296 138 username = <value> 297 139 password = <value> 298 140 domain = <value> 299 .EB lightgray adjust-for-leading-newline300 .if t \{\301 .sp 1302 .\}303 141 .fi 304 .fam305 .ps +1306 142 .if n \{\ 307 143 .RE … … 328 164 .sp 329 165 Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the 330 \FCps\F[] 166 ps 331 167 command\&. To be safe always allow 332 \FCrpcclient\F[] 168 rpcclient 333 169 to prompt for a password and type it in directly\&. 334 170 .RE … … 353 189 .PP 354 190 The 355 \FCsmbcquotas\F[] 191 smbcquotas 356 192 program sets the exit status depending on the success or otherwise of the operations performed\&. The exit status may be one of the following values\&. 357 193 .PP 358 194 If the operation succeeded, smbcquotas returns an exit status of 0\&. If 359 \FCsmbcquotas\F[] 195 smbcquotas 360 196 couldn\'t connect to the specified server, or when there was an error getting or setting the quota(s), an exit status of 1 is returned\&. If there was an error parsing any command line arguments, an exit status of 2 is returned\&. 361 197 .SH "VERSION" … … 366 202 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\&. 367 203 .PP 368 \FCsmbcquotas\F[] 204 smbcquotas 369 205 was written by Stefan Metzmacher\&. -
branches/samba-3.3.x/docs/manpages/smbd.8
r342 r368 1 '\" t 1 2 .\" Title: smbd 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBD" "8" "10/12/2009" "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 .. 10 .TH "SMBD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbd \- server to provide SMB/CIFS services to clients 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 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 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>] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCsmbd\F[] 32 smbd 183 33 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\&. 184 34 .PP … … 193 43 .PP 194 44 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 195 \FCsmbd\F[] 45 smbd 196 46 killed and restarted\&. 197 47 .SH "OPTIONS" … … 200 50 .RS 4 201 51 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 202 \FCsmbd\F[] 52 smbd 203 53 for servers that provide more than casual use file and print services\&. This switch is assumed if 204 \FCsmbd \F[] 54 smbd 205 55 is executed on the command line of a shell\&. 206 56 .RE … … 209 59 .RS 4 210 60 If specified, this parameter causes the main 211 \FCsmbd\F[] 61 smbd 212 62 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 213 \FCsmbd\F[] 63 smbd 214 64 under process supervisors such as 215 \FCsupervise\F[] 65 supervise 216 66 and 217 \FCsvscan\F[] 67 svscan 218 68 from Daniel J\&. Bernstein\'s 219 \FCdaemontools\F[] 69 daemontools 220 70 package, or the AIX process monitor\&. 221 71 .RE … … 224 74 .RS 4 225 75 If specified, this parameter causes 226 \FCsmbd\F[] 76 smbd 227 77 to log to standard output rather than a file\&. 228 78 .RE … … 231 81 .RS 4 232 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 deamon mode when run from the command line\&. 233 \FCsmbd\F[] 83 smbd 234 84 also logs to standard output, as if the 235 \ FC\-S\F[]85 \-S 236 86 parameter had been given\&. 237 87 .RE … … 247 97 .sp 248 98 Note that specifying this parameter here will override the 249 \m[blue]\fB log level\fR\m[]99 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 250 100 parameter in the 251 \FCsmb\&.conf\F[] 101 smb\&.conf 252 102 file\&. 253 103 .RE 254 104 .PP 255 \-V 105 \-V|\-\-version 256 106 .RS 4 257 107 Prints the program version number\&. 258 108 .RE 259 109 .PP 260 \-s <configuration file>110 \-s|\-\-configfile <configuration file> 261 111 .RS 4 262 112 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 263 \FCsmb\&.conf\F[] 113 smb\&.conf 264 114 for more information\&. The default configuration file name is determined at compile time\&. 265 115 .RE … … 288 138 \m[blue]\fBports\fR\m[] 289 139 parameter in 290 \FCsmb\&.conf\F[] 140 smb\&.conf 291 141 .sp 292 142 The default ports are 139 (used for SMB over NetBIOS over TCP) and port 445 (used for plain SMB over TCP)\&. … … 300 150 .SH "FILES" 301 151 .PP 302 \FC/etc/inetd\&.conf\F[] 152 /etc/inetd\&.conf 303 153 .RS 4 304 154 If the server is to be run by the 305 \FCinetd\F[] 155 inetd 306 156 meta\-daemon, this file must contain suitable startup information for the meta\-daemon\&. 307 157 .RE 308 158 .PP 309 \FC/etc/rc\F[] 159 /etc/rc 310 160 .RS 4 311 161 or whatever initialization script your system uses)\&. … … 314 164 .RE 315 165 .PP 316 \FC/etc/services\F[] 166 /etc/services 317 167 .RS 4 318 168 If running the server via the meta\-daemon 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[] 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 323 173 .RS 4 324 174 This is the default location of the 325 175 \fBsmb.conf\fR(5) 326 176 server configuration file\&. Other common places that systems install this file are 327 \FC/usr/samba/lib/smb\&.conf\F[] 177 /usr/samba/lib/smb\&.conf 328 178 and 329 \FC/etc/samba/smb\&.conf\F[]\&.179 /etc/samba/smb\&.conf\&. 330 180 .sp 331 181 This file describes all the services the server is to make available to clients\&. See … … 336 186 .PP 337 187 On some systems 338 \FCsmbd\F[] 188 smbd 339 189 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\&. 340 190 .SH "ENVIRONMENT VARIABLES" … … 386 236 .PP 387 237 Samba stores it\'s data in several TDB (Trivial Database) files, usually located in 388 \FC/var/lib/samba\F[]\&.238 /var/lib/samba\&. 389 239 .PP 390 240 (*) information persistent across restarts (but not necessarily important to backup)\&. … … 492 342 .PP 493 343 Sending the 494 \FCsmbd\F[] 344 smbd 495 345 a SIGHUP will cause it to reload its 496 \FCsmb\&.conf\F[] 346 smb\&.conf 497 347 configuration file within a short period of time\&. 498 348 .PP 499 349 To shut down a user\'s 500 \FCsmbd\F[] 350 smbd 501 351 process it is recommended that 502 \FCSIGKILL (\-9)\F[] 352 SIGKILL (\-9) 503 353 \fINOT\fR 504 354 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 505 \FCsmbd\F[] 355 smbd 506 356 is to send it a SIGTERM (\-15) signal and wait for it to die on its own\&. 507 357 .PP 508 358 The debug log level of 509 \FCsmbd\F[] 359 smbd 510 360 may be raised or lowered using 511 361 \fBsmbcontrol\fR(1) … … 513 363 .PP 514 364 Note that as the signal handlers send a debug write, they are not re\-entrant in 515 \FCsmbd\F[]\&. This you should wait until516 \FCsmbd\F[] 365 smbd\&. This you should wait until 366 smbd 517 367 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\&. 518 368 .SH "SEE ALSO" … … 525 375 \fBtestparm\fR(1), 526 376 \fBtestprns\fR(1), and the Internet RFC\'s 527 \FCrfc1001\&.txt\F[],528 \FCrfc1002\&.txt\F[]\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page377 rfc1001\&.txt, 378 rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page 529 379 http://samba\&.org/cifs/\&. 530 380 .SH "AUTHOR" -
branches/samba-3.3.x/docs/manpages/smbget.1
r342 r368 1 '\" t 1 2 .\" Title: smbget 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBGET" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBGET" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbget \- wget\-like utility for download files over SMB 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbget\F[] [\-a,\ \-\-guest] [\-r,\ \-\-resume] [\-R,\ \-\-recursive] [\-u,\ \-\-username=STRING] [\-p,\ \-\-password=STRING] [\-w,\ \-\-workgroup=STRING] [\-n,\ \-\-nonprompt] [\-d,\ \-\-debuglevel=INT] [\-D,\ \-\-dots] [\-P,\ \-\-keep\-permissions] [\-o,\ \-\-outputfile] [\-f,\ \-\-rcfile] [\-q,\ \-\-quiet] [\-v,\ \-\-verbose] [\-b,\ \-\-blocksize] [\-?,\ \-\-help] [\-\-usage] {smb://host/share/path/to/file} [smb://url2/] [\&.\&.\&.] 175 .fam 25 smbget [\-a,\ \-\-guest] [\-r,\ \-\-resume] [\-R,\ \-\-recursive] [\-u,\ \-\-username=STRING] [\-p,\ \-\-password=STRING] [\-w,\ \-\-workgroup=STRING] [\-n,\ \-\-nonprompt] [\-d,\ \-\-debuglevel=INT] [\-D,\ \-\-dots] [\-P,\ \-\-keep\-permissions] [\-o,\ \-\-outputfile] [\-f,\ \-\-rcfile] [\-q,\ \-\-quiet] [\-v,\ \-\-verbose] [\-b,\ \-\-blocksize] [\-?,\ \-\-help] [\-\-usage] {smb://host/share/path/to/file} [smb://url2/] [\&.\&.\&.] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 277 127 .RS 4 278 128 .\} 279 .fam C280 .ps -1281 129 .nf 282 .if t \{\283 .sp -1284 .\}285 .BB lightgray adjust-for-leading-newline286 .sp -1287 288 130 smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]] 289 .EB lightgray adjust-for-leading-newline290 .if t \{\291 .sp 1292 .\}293 131 .fi 294 .fam295 .ps +1296 132 .if n \{\ 297 133 .RE … … 301 137 .RS 4 302 138 .\} 303 .fam C304 .ps -1305 139 .nf 306 .if t \{\307 .sp -1308 .\}309 .BB lightgray adjust-for-leading-newline310 .sp -1311 312 140 smb:// means all the workgroups 313 .EB lightgray adjust-for-leading-newline314 .if t \{\315 .sp 1316 .\}317 141 .fi 318 .fam319 .ps +1320 142 .if n \{\ 321 143 .RE … … 325 147 .RS 4 326 148 .\} 327 .fam C328 .ps -1329 149 .nf 330 .if t \{\331 .sp -1332 .\}333 .BB lightgray adjust-for-leading-newline334 .sp -1335 336 150 smb://name/ means, if \fIname\fR is a workgroup, all the servers in this workgroup, or if \fIname\fR is a server, all the shares on this server\&. 337 .EB lightgray adjust-for-leading-newline338 .if t \{\339 .sp 1340 .\}341 151 .fi 342 .fam343 .ps +1344 152 .if n \{\ 345 153 .RE … … 350 158 .RS 4 351 159 .\} 352 .fam C353 .ps -1354 160 .nf 355 .if t \{\356 .sp -1357 .\}358 .BB lightgray adjust-for-leading-newline359 .sp -1360 361 161 # Recursively download \'src\' directory 362 162 smbget \-R smb://rhonwyn/jelmer/src … … 367 167 # Backup my data on rhonwyn 368 168 smbget \-Rr smb://rhonwyn/ 369 .EB lightgray adjust-for-leading-newline370 .if t \{\371 .sp 1372 .\}373 169 .fi 374 .fam375 .ps +1376 170 .if n \{\ 377 171 .RE -
branches/samba-3.3.x/docs/manpages/smbgetrc.5
r342 r368 1 '\" t 1 2 .\" Title: smbgetrc 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: File Formats and Conventions 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBGETRC" "5" "10/12/2009" "Samba 3\&.3" "File Formats and Conventions" 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 .. 10 .TH "SMBGETRC" "5" "01/14/2010" "Samba 3\&.3" "File Formats and Conventions" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbgetrc \- configuration file for smbget 171 .SH "S ynopsis"23 .SH "SYNOPSIS" 172 24 .PP 173 \FCsmbgetrc\F[] 25 smbgetrc 174 26 .SH "DESCRIPTION" 175 27 .PP -
branches/samba-3.3.x/docs/manpages/smbpasswd.5
r342 r368 1 '\" t 1 2 .\" Title: smbpasswd 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: File Formats and Conventions 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBPASSWD" "5" "10/12/2009" "Samba 3\&.3" "File Formats and Conventions" 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 .. 10 .TH "SMBPASSWD" "5" "01/14/2010" "Samba 3\&.3" "File Formats and Conventions" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbpasswd \- The Samba encrypted password file 171 .SH "S ynopsis"23 .SH "SYNOPSIS" 172 24 .PP 173 \FCsmbpasswd\F[] 25 smbpasswd 174 26 .SH "DESCRIPTION" 175 27 .PP … … 182 34 .PP 183 35 The format of the smbpasswd file used by Samba 2\&.2 is very similar to the familiar Unix 184 \FCpasswd(5)\F[] 36 passwd(5) 185 37 file\&. It is an ASCII file containing one line for each user\&. Each field ithin each line is separated from the next by a colon\&. Any entry beginning with \'#\' is ignored\&. The smbpasswd file contains the following information for each user: 186 38 .PP … … 291 143 .RE 292 144 Other flags may be added as the code is extended in future\&. The rest of this field space is filled in with spaces\&. For further information regarding the flags that are supported please refer to the man page for the 293 \FCpdbedit\F[] 145 pdbedit 294 146 command\&. 295 147 .RE -
branches/samba-3.3.x/docs/manpages/smbpasswd.8
r342 r368 1 '\" t 1 2 .\" Title: smbpasswd 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBPASSWD" "8" "10/12/2009" "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 .. 10 .TH "SMBPASSWD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbpasswd \- change a user\'s SMB password 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbpasswd\F[] [\-a] [\-c\ <config\ file>] [\-x] [\-d] [\-e] [\-D\ debuglevel] [\-n] [\-r\ <remote\ machine>] [\-R\ <name\ resolve\ order>] [\-m] [\-U\ username[%password]] [\-h] [\-s] [\-w\ pass] [\-W] [\-i] [\-L] [username] 175 .fam 25 smbpasswd [\-a] [\-c\ <config\ file>] [\-x] [\-d] [\-e] [\-D\ debuglevel] [\-n] [\-r\ <remote\ machine>] [\-R\ <name\ resolve\ order>] [\-m] [\-U\ username[%password]] [\-h] [\-s] [\-w\ pass] [\-W] [\-i] [\-L] [username] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 185 35 .PP 186 36 By default (when run with no arguments) it will attempt to change the current user\'s SMB password on the local machine\&. This is similar to the way the 187 \FCpasswd(1)\F[] 37 passwd(1) 188 38 program works\&. 189 \FC smbpasswd\F[] 39 smbpasswd 190 40 differs from how the passwd program works however in that it is not 191 41 \fIsetuid root\fR … … 202 52 .PP 203 53 When run by root, smbpasswd allows new users to be added and deleted in the smbpasswd file, as well as allows changes to the attributes of the user in this file to be made\&. When run by root, 204 \FC smbpasswd\F[] 54 smbpasswd 205 55 accesses the local smbpasswd file directly, thus enabling changes to be made even if smbd is not running\&. 206 56 .SH "OPTIONS" … … 209 59 .RS 4 210 60 This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type <Enter> for the old password)\&. This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password command\&. Note that the default passdb backends require the user to already exist in the system password file (usually 211 \FC/etc/passwd\F[]), else the request to add the user will fail\&.61 /etc/passwd), else the request to add the user will fail\&. 212 62 .sp 213 63 This option is only available when running smbpasswd as root\&. … … 217 67 .RS 4 218 68 This option can be used to specify the path and file name of the 219 \FCsmb\&.conf\F[] 69 smb\&.conf 220 70 configuration file when it is important to use other than the default file and / or location\&. 221 71 .RE … … 250 100 .sp 251 101 If the smbpasswd file is in the \'old\' format, then 252 \FC smbpasswd\F[] 102 smbpasswd 253 103 will FAIL to enable the account\&. See 254 104 \fBsmbpasswd\fR(5) … … 273 123 .sp 274 124 Note that to allow users to logon to a Samba server once the password has been set to "NO PASSWORD" in the smbpasswd file the administrator must set the following parameter in the [global] section of the 275 \FCsmb\&.conf\F[] 125 smb\&.conf 276 126 file : 277 127 .sp 278 \FCnull passwords = yes\F[] 128 null passwords = yes 279 129 .sp 280 130 This option is only available when running smbpasswd as root\&. … … 327 177 .\} 328 178 \fBhost\fR: Do a standard host name to IP address resolution, using the system 329 \FC/etc/hosts \F[], NIS, or DNS lookups\&. This method of name resolution is operating system depended for instance on IRIX or Solaris this may be controlled by the330 \FC/etc/nsswitch\&.conf\F[] 179 /etc/hosts, NIS, or DNS lookups\&. This method of name resolution is operating system depended for instance on IRIX or Solaris this may be controlled by the 180 /etc/nsswitch\&.conf 331 181 file)\&. Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored\&. 332 182 .RE … … 359 209 .RE 360 210 The default order is 361 \FClmhosts, host, wins, bcast\F[] 211 lmhosts, host, wins, bcast 362 212 and without this parameter or any entry in the 363 213 \fBsmb.conf\fR(5) … … 382 232 .RS 4 383 233 This option prints the help string for 384 \FC smbpasswd\F[], selecting the correct one for running as root or as an ordinary user\&.234 smbpasswd, selecting the correct one for running as root or as an ordinary user\&. 385 235 .RE 386 236 .PP … … 388 238 .RS 4 389 239 This option causes smbpasswd to be silent (i\&.e\&. not issue prompts) and to read its old and new passwords from standard input, rather than from 390 \FC/dev/tty\F[] 240 /dev/tty 391 241 (like the 392 \FCpasswd(1)\F[] 242 passwd(1) 393 243 program does)\&. This option is to aid people writing scripts to drive smbpasswd 394 244 .RE … … 400 250 switch is used to specify the password to be used with the 401 251 \m[blue]\fBldap admin dn\fR\m[]\&. Note that the password is stored in the 402 \FCsecrets\&.tdb\F[] 252 secrets\&.tdb 403 253 and is keyed off of the admin\'s DN\&. This means that if the value of 404 254 \fIldap admin dn\fR … … 408 258 \-W 409 259 .RS 4 410 \FCNOTE: \F[] 260 NOTE: 411 261 This option is same as "\-w" except that the password should be entered using stdin\&. 412 262 .sp … … 415 265 switch is used to specify the password to be used with the 416 266 \m[blue]\fBldap admin dn\fR\m[]\&. Note that the password is stored in the 417 \FCsecrets\&.tdb\F[] 267 secrets\&.tdb 418 268 and is keyed off of the admin\'s DN\&. This means that if the value of 419 269 \fIldap admin dn\fR … … 442 292 .PP 443 293 Since 444 \FCsmbpasswd\F[] 294 smbpasswd 445 295 works in client\-server mode communicating with a local smbd for a non\-root user then the smbd daemon must be running for this to work\&. A common problem is to add a restriction to the hosts that may access the 446 \FC smbd\F[] 296 smbd 447 297 running on the local machine by specifying either 448 298 \fIallow hosts\fR -
branches/samba-3.3.x/docs/manpages/smbspool.8
r342 r368 1 '\" t 1 2 .\" Title: smbspool 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBSPOOL" "8" "10/12/2009" "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 .. 10 .TH "SMBSPOOL" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbspool \- send a print file to an SMB printer 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbspool\F[] {job} {user} {title} {copies} {options} [filename] 175 .fam 25 smbspool {job} {user} {title} {copies} {options} [filename] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 239 89 .PP 240 90 Programs using the 241 \FCexec(2)\F[] 91 exec(2) 242 92 functions can pass the URI in argv[0], while shell scripts must set the 243 93 \fBDEVICE_URI\fR … … 319 169 .SH "AUTHOR" 320 170 .PP 321 \FCsmbspool\F[] 171 smbspool 322 172 was written by Michael Sweet at Easy Software Products\&. 323 173 .PP -
branches/samba-3.3.x/docs/manpages/smbstatus.1
r342 r368 1 '\" t 1 2 .\" Title: smbstatus 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBSTATUS" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBSTATUS" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbstatus \- report on current Samba connections 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbstatus\F[] [\-P] [\-b] [\-d\ <debug\ level>] [\-v] [\-L] [\-B] [\-p] [\-S] [\-s\ <configuration\ file>] [\-u\ <username>] 175 .fam 25 smbstatus [\-P] [\-b] [\-d\ <debug\ level>] [\-v] [\-L] [\-B] [\-p] [\-S] [\-s\ <configuration\ file>] [\-u\ <username>] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCsmbstatus\F[] 32 smbstatus 183 33 is a very simple program to list the current Samba connections\&. 184 34 .SH "OPTIONS" … … 204 54 .sp 205 55 Note that specifying this parameter here will override the 206 \m[blue]\fB log level\fR\m[]56 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 207 57 parameter in the 208 \FCsmb\&.conf\F[] 58 smb\&.conf 209 59 file\&. 210 60 .RE 211 61 .PP 212 \-V 62 \-V|\-\-version 213 63 .RS 4 214 64 Prints the program version number\&. 215 65 .RE 216 66 .PP 217 \-s <configuration file>67 \-s|\-\-configfile <configuration file> 218 68 .RS 4 219 69 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 220 \FCsmb\&.conf\F[] 70 smb\&.conf 221 71 for more information\&. The default configuration file name is determined at compile time\&. 222 72 .RE -
branches/samba-3.3.x/docs/manpages/smbtar.1
r342 r368 1 '\" t 1 2 .\" Title: smbtar 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBTAR" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBTAR" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbtar \- shell script for backing up SMB/CIFS shares directly to UNIX tape drives 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbtar\F[] [\-r] [\-i] [\-a] [\-v] {\-s\ server} [\-p\ password] [\-x\ services] [\-X] [\-N\ filename] [\-b\ blocksize] [\-d\ directory] [\-l\ loglevel] [\-u\ user] [\-t\ tape] {filenames} 175 .fam 25 smbtar [\-r] [\-i] [\-a] [\-v] {\-s\ server} [\-p\ password] [\-x\ services] [\-X] [\-N\ filename] [\-b\ blocksize] [\-d\ directory] [\-l\ loglevel] [\-u\ user] [\-t\ tape] {filenames} 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCsmbtar\F[] 32 smbtar 183 33 is a very small shell script on top of 184 34 \fBsmbclient\fR(1) … … 233 83 \fI$TAPE\fR 234 84 environmental variable; if not set, a file called 235 \FCtar\&.out \F[]\&.85 tar\&.out\&. 236 86 .RE 237 87 .PP … … 239 89 .RS 4 240 90 Blocking factor\&. Defaults to 20\&. See 241 \FCtar(1)\F[] 91 tar(1) 242 92 for a fuller explanation\&. 243 93 .RE … … 273 123 .PP 274 124 The 275 \FCsmbtar\F[] 125 smbtar 276 126 script has different options from ordinary tar and from smbclient\'s tar command\&. 277 127 .SH "CAVEATS" … … 299 149 Ricky Poulten 300 150 wrote the tar extension and this man page\&. The 301 \FCsmbtar\F[] 151 smbtar 302 152 script was heavily rewritten and improved by 303 153 Martin Kraemer\&. Many thanks to everyone who suggested extensions, improvements, bug fixes, etc\&. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at -
branches/samba-3.3.x/docs/manpages/smbtree.1
r342 r368 1 '\" t 1 2 .\" Title: smbtree 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMBTREE" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "SMBTREE" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 smbtree \- A text based smb network browser 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCsmbtree\F[] [\-b] [\-D] [\-S] 175 .fam 25 smbtree [\-b] [\-D] [\-S] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCsmbtree\F[] 32 smbtree 183 33 is a smb browser program in text mode\&. It is similar to the "Network Neighborhood" found on Windows computers\&. It prints a tree with all the known domains, the servers in those domains and the shares on the servers\&. 184 34 .SH "OPTIONS" … … 209 59 .sp 210 60 Note that specifying this parameter here will override the 211 \m[blue]\fB log level\fR\m[]61 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 212 62 parameter in the 213 \FCsmb\&.conf\F[] 63 smb\&.conf 214 64 file\&. 215 65 .RE 216 66 .PP 217 \-V 67 \-V|\-\-version 218 68 .RS 4 219 69 Prints the program version number\&. 220 70 .RE 221 71 .PP 222 \-s <configuration file>72 \-s|\-\-configfile <configuration file> 223 73 .RS 4 224 74 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 225 \FCsmb\&.conf\F[] 75 smb\&.conf 226 76 for more information\&. The default configuration file name is determined at compile time\&. 227 77 .RE … … 234 84 .RE 235 85 .PP 236 \-N 86 \-N|\-\-no\-pass 237 87 .RS 4 238 88 If specified, this parameter suppresses the normal password prompt from the client to the user\&. This is useful when accessing a service that does not require a password\&. … … 243 93 .RE 244 94 .PP 245 \-k 95 \-k|\-\-kerberos 246 96 .RS 4 247 97 Try to authenticate with kerberos\&. Only useful in an Active Directory environment\&. … … 255 105 .RS 4 256 106 .\} 257 .fam C258 .ps -1259 107 .nf 260 .if t \{\261 .sp -1262 .\}263 .BB lightgray adjust-for-leading-newline264 .sp -1265 266 108 username = <value> 267 109 password = <value> 268 110 domain = <value> 269 .EB lightgray adjust-for-leading-newline270 .if t \{\271 .sp 1272 .\}273 111 .fi 274 .fam275 .ps +1276 112 .if n \{\ 277 113 .RE … … 298 134 .sp 299 135 Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the 300 \FCps\F[] 136 ps 301 137 command\&. To be safe always allow 302 \FCrpcclient\F[] 138 rpcclient 303 139 to prompt for a password and type it in directly\&. 304 140 .RE -
branches/samba-3.3.x/docs/manpages/swat.8
r342 r368 1 '\" t 1 2 .\" Title: swat 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SWAT" "8" "10/12/2009" "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 .. 10 .TH "SWAT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 swat \- Samba Web Administration Tool 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCswat\F[] [\-s\ <smb\ config\ file>] [\-a] [\-P] 175 .fam 25 swat [\-s\ <smb\ config\ file>] [\-a] [\-P] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCswat\F[] 32 swat 183 33 allows a Samba administrator to configure the complex 184 34 \fBsmb.conf\fR(5) 185 35 file via a Web browser\&. In addition, a 186 \FCswat\F[] 36 swat 187 37 configuration page has help links to all the configurable options in the 188 \FCsmb\&.conf\F[] 38 smb\&.conf 189 39 file allowing an administrator to easily look up the effects of any change\&. 190 40 .PP 191 \FCswat\F[] 41 swat 192 42 is run from 193 \FCinetd\F[] 43 inetd 194 44 .SH "OPTIONS" 195 45 .PP … … 199 49 \fBsmbd\fR(8) 200 50 server\&. This is the file that 201 \FCswat\F[] 51 swat 202 52 will modify\&. 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 203 \FCsmb\&.conf\F[] 53 smb\&.conf 204 54 for more information\&. 205 55 .RE … … 208 58 .RS 4 209 59 This option disables authentication and places 210 \FCswat\F[] 60 swat 211 61 in demo mode\&. In that mode anyone will be able to modify the 212 \FCsmb\&.conf\F[] 62 smb\&.conf 213 63 file\&. 214 64 .sp … … 219 69 .RS 4 220 70 This option restricts read\-only users to the password management page\&. 221 \FCswat\F[] 71 swat 222 72 can then be used to change user passwords without users seeing the "View" and "Status" menu buttons\&. 223 73 .RE … … 233 83 .sp 234 84 Note that specifying this parameter here will override the 235 \m[blue]\fB log level\fR\m[]85 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 236 86 parameter in the 237 \FCsmb\&.conf\F[] 87 smb\&.conf 238 88 file\&. 239 89 .RE 240 90 .PP 241 \-V 91 \-V|\-\-version 242 92 .RS 4 243 93 Prints the program version number\&. 244 94 .RE 245 95 .PP 246 \-s <configuration file>96 \-s|\-\-configfile <configuration file> 247 97 .RS 4 248 98 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 249 \FCsmb\&.conf\F[] 99 smb\&.conf 250 100 for more information\&. The default configuration file name is determined at compile time\&. 251 101 .RE … … 267 117 .PP 268 118 After you compile SWAT you need to run 269 \FCmake install \F[] 119 make install 270 120 to install the 271 \FCswat\F[] 121 swat 272 122 binary and the various help files and images\&. A default install would put these in: 273 123 .sp … … 308 158 .PP 309 159 You need to edit your 310 \FC/etc/inetd\&.conf \F[] 311 and 312 \FC/etc/services\F[] 160 /etc/inetd\&.conf 161 and 162 /etc/services 313 163 to enable SWAT to be launched via 314 \FCinetd\F[]\&.164 inetd\&. 315 165 .PP 316 166 In 317 \FC/etc/services\F[] 167 /etc/services 318 168 you need to add a line like this: 319 169 .PP 320 \FCswat 901/tcp\F[] 170 swat 901/tcp 321 171 .PP 322 172 Note for NIS/YP and LDAP users \- you may need to rebuild the NIS service maps rather than alter your local 323 \FC /etc/services\F[] 173 /etc/services 324 174 file\&. 325 175 .PP 326 176 the choice of port number isn\'t really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your 327 \FCinetd\F[] 177 inetd 328 178 daemon)\&. 329 179 .PP 330 180 In 331 \FC/etc/inetd\&.conf\F[] 181 /etc/inetd\&.conf 332 182 you should add a line like this: 333 183 .PP 334 \FCswat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat\F[] 184 swat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat 335 185 .PP 336 186 Once you have edited 337 \FC/etc/services\F[] 338 and 339 \FC/etc/inetd\&.conf\F[] 187 /etc/services 188 and 189 /etc/inetd\&.conf 340 190 you need to send a HUP signal to inetd\&. To do this use 341 \FCkill \-1 PID \F[] 191 kill \-1 PID 342 192 where PID is the process ID of the inetd daemon\&. 343 193 .SH "LAUNCHING" … … 348 198 .SH "FILES" 349 199 .PP 350 \FC/etc/inetd\&.conf\F[] 200 /etc/inetd\&.conf 351 201 .RS 4 352 202 This file must contain suitable startup information for the meta\-daemon\&. 353 203 .RE 354 204 .PP 355 \FC/etc/services\F[] 205 /etc/services 356 206 .RS 4 357 207 This file must contain a mapping of service name (e\&.g\&., swat) to service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&. 358 208 .RE 359 209 .PP 360 \FC/usr/local/samba/lib/smb\&.conf\F[] 210 /usr/local/samba/lib/smb\&.conf 361 211 .RS 4 362 212 This is the default location of the 363 213 \fBsmb.conf\fR(5) 364 214 server configuration file that swat edits\&. Other common places that systems install this file are 365 \FC /usr/samba/lib/smb\&.conf\F[] 366 and 367 \FC/etc/smb\&.conf \F[]\&. This file describes all the services the server is to make available to clients\&.215 /usr/samba/lib/smb\&.conf 216 and 217 /etc/smb\&.conf\&. This file describes all the services the server is to make available to clients\&. 368 218 .RE 369 219 .SH "WARNINGS" 370 220 .PP 371 \FCswat\F[] 221 swat 372 222 will rewrite your 373 223 \fBsmb.conf\fR(5) … … 377 227 \fIcopy= \fR 378 228 options\&. If you have a carefully crafted 379 \FC smb\&.conf\F[] 229 smb\&.conf 380 230 then back it up or don\'t use swat! 381 231 .SH "VERSION" … … 384 234 .SH "SEE ALSO" 385 235 .PP 386 \FCinetd(5)\F[],236 inetd(5), 387 237 \fBsmbd\fR(8), 388 238 \fBsmb.conf\fR(5) -
branches/samba-3.3.x/docs/manpages/tdbbackup.8
r342 r368 1 '\" t 1 2 .\" Title: tdbbackup 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "TDBBACKUP" "8" "10/12/2009" "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 .. 10 .TH "TDBBACKUP" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 tdbbackup \- tool for backing up and for validating the integrity of samba \&.tdb files 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCtdbbackup\F[] [\-s\ suffix] [\-v] [\-h] 175 .fam 25 tdbbackup [\-s\ suffix] [\-v] [\-h] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCtdbbackup\F[] 32 tdbbackup 183 33 is a tool that may be used to backup samba \&.tdb files\&. This tool may also be used to verify the integrity of the \&.tdb files prior to samba startup or during normal operation\&. If it finds file damage and it finds a prior backup the backup file will be restored\&. 184 34 .SH "OPTIONS" … … 192 42 .RS 4 193 43 The 194 \ FC\-s\F[]44 \-s 195 45 option allows the adminisistrator to specify a file backup extension\&. This way it is possible to keep a history of tdb backup files by using a new suffix for each backup\&. 196 46 .RE … … 199 49 .RS 4 200 50 The 201 \ FC\-v\F[]51 \-v 202 52 will check the database for damages (currupt data) which if detected causes the backup to be restored\&. 203 53 .RE … … 207 57 .PP 208 58 The 209 \FCtdbbackup\F[] 59 tdbbackup 210 60 utility can safely be run at any time\&. It was designed so that it can be used at any time to validate the integrity of tdb files, even during Samba operation\&. Typical usage for the command will be: 211 61 .PP … … 227 77 .\} 228 78 229 \FCsecrets\&.tdb\F[] 79 secrets\&.tdb 230 80 \- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\&. 231 81 .RE … … 240 90 .\} 241 91 242 \FCpassdb\&.tdb\F[] 92 passdb\&.tdb 243 93 \- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\&. 244 94 .RE … … 253 103 .\} 254 104 255 \FC*\&.tdb\F[] 105 *\&.tdb 256 106 located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories\&. 257 107 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/tdbdump.8
r342 r368 1 '\" t 1 2 .\" Title: tdbdump 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "TDBDUMP" "8" "10/12/2009" "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 .. 10 .TH "TDBDUMP" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 tdbdump \- tool for printing the contents of a TDB file 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCtdbdump\F[] {filename} 175 .fam 25 tdbdump {filename} 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCtdbdump\F[] 32 tdbdump 183 33 is a very simple utility that \'dumps\' the contents of a TDB (Trivial DataBase) file to standard output in a human\-readable format\&. 184 34 .PP -
branches/samba-3.3.x/docs/manpages/tdbtool.8
r342 r368 1 '\" t 1 2 .\" Title: tdbtool 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "TDBTOOL" "8" "10/12/2009" "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 .. 10 .TH "TDBTOOL" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 tdbtool \- manipulate the contents TDB files 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCtdbtool\F[] 175 .fam 176 .fam C 25 tdbtool 177 26 .HP \w'\ 'u 178 \FCtdbtool\F[] \fITDBFILE\fR [\fICOMMANDS\fR...] 179 .fam 27 tdbtool \fITDBFILE\fR [\fICOMMANDS\fR...] 180 28 .SH "DESCRIPTION" 181 29 .PP … … 184 32 suite\&. 185 33 .PP 186 \FCtdbtool\F[] 34 tdbtool 187 35 a tool for displaying and altering the contents of Samba TDB (Trivial DataBase) files\&. Each of the commands listed below can be entered interactively or provided on the command line\&. 188 36 .SH "COMMANDS" … … 289 137 .RS 4 290 138 Exit 291 \FCtdbtool\F[]\&.139 tdbtool\&. 292 140 .RE 293 141 .SH "CAVEATS" 294 142 .PP 295 143 The contents of the Samba TDB files are private to the implementation and should not be altered with 296 \FCtdbtool\F[]\&.144 tdbtool\&. 297 145 .SH "VERSION" 298 146 .PP -
branches/samba-3.3.x/docs/manpages/testparm.1
r342 r368 1 '\" t 1 2 .\" Title: testparm 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "TESTPARM" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "TESTPARM" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 testparm \- check an smb\&.conf configuration file for internal correctness 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCtestparm\F[] [\-s] [\-h] [\-v] [\-L\ <servername>] [\-t\ <encoding>] {config\ filename} [hostname\ hostIP] 175 .fam 25 testparm [\-s] [\-h] [\-v] [\-L\ <servername>] [\-t\ <encoding>] {config\ filename} [hostname\ hostIP] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCtestparm\F[] 32 testparm 183 33 is a very simple test program to check an 184 34 \fBsmbd\fR(8) 185 35 configuration file for internal correctness\&. If this program reports no problems, you can use the configuration file with confidence that 186 \FCsmbd \F[] 36 smbd 187 37 will successfully load the configuration file\&. 188 38 .PP … … 194 44 .PP 195 45 If 196 \FCtestparm\F[] 46 testparm 197 47 finds an error in the 198 \FC smb\&.conf\F[] 48 smb\&.conf 199 49 file it returns an exit code of 1 to the calling program, else it returns an exit code of 0\&. This allows shell scripts to test the output from 200 \FCtestparm\F[]\&.50 testparm\&. 201 51 .SH "OPTIONS" 202 52 .PP … … 204 54 .RS 4 205 55 Without this option, 206 \FCtestparm\F[] 56 testparm 207 57 will prompt for a carriage return after printing the service names and before dumping the service definitions\&. 208 58 .RE … … 213 63 .RE 214 64 .PP 215 \-V 65 \-V|\-\-version 216 66 .RS 4 217 67 Prints the program version number\&. … … 256 106 .RS 4 257 107 If this parameter and the following are specified, then 258 \FCtestparm\F[] 108 testparm 259 109 will examine the 260 110 \fIhosts allow\fR … … 264 114 \fBsmb.conf\fR(5) 265 115 file to determine if the hostname with this IP address would be allowed access to the 266 \FCsmbd\F[] 116 smbd 267 117 server\&. If this parameter is supplied, the hostIP parameter must also be supplied\&. 268 118 .RE -
branches/samba-3.3.x/docs/manpages/umount.cifs.8
r342 r368 1 '\" t 1 2 .\" Title: umount.cifs 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "UMOUNT\&.CIFS" "8" "10/12/2009" "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 .. 10 .TH "UMOUNT\&.CIFS" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 umount.cifs \- for normal, non\-root users, to unmount their own Common Internet File System (CIFS) mounts 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCumount\&.cifs\F[] {mount\-point} [\-nVvhfle] 175 .fam 25 umount\&.cifs {mount\-point} [\-nVvhfle] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 206 56 .PP 207 57 The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem\&. In the directory 208 \FC/proc/fs/cifs\F[] 58 /proc/fs/cifs 209 59 are various configuration files and pseudo files which can display debug information\&. For more information see the kernel file 210 \FCfs/cifs/README\F[]\&.60 fs/cifs/README\&. 211 61 .SH "BUGS" 212 62 .PP -
branches/samba-3.3.x/docs/manpages/vfs_acl_tdb.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_acl_tdb 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_ACL_TDB" "8" "10/12/2009" "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 .. 10 .TH "VFS_ACL_TDB" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_acl_tdb \- Save NTFS\-ACLs in a tdb file 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = acl_tdb\F[] 175 .fam 25 vfs objects = acl_tdb 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_acl_tdb\F[] 33 vfs_acl_tdb 184 34 VFS module stores NTFS Access Control Lists (ACLs) in a tdb file\&. This enables the full mapping of Windows ACLs on Samba servers\&. 185 35 .PP 186 36 The ACL settings are stored in 187 \FC$LOCKDIR/file_ntacls\&.tdb\F[]\&.37 $LOCKDIR/file_ntacls\&.tdb\&. 188 38 .PP 189 39 Please note that this module is … … 194 44 .PP 195 45 There are no options for 196 \FCvfs_acl_tdb\F[]\&.46 vfs_acl_tdb\&. 197 47 .SH "AUTHOR" 198 48 .PP -
branches/samba-3.3.x/docs/manpages/vfs_acl_xattr.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_acl_xattr 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_ACL_XATTR" "8" "10/12/2009" "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 .. 10 .TH "VFS_ACL_XATTR" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_acl_xattr \- Save NTFS\-ACLs in Extended Attributes (EAs) 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = acl_xattr\F[] 175 .fam 25 vfs objects = acl_xattr 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_acl_xattr\F[] 33 vfs_acl_xattr 184 34 VFS module stores NTFS Access Control Lists (ACLs) in Extended Attributes (EAs)\&. This enables the full mapping of Windows ACLs on Samba servers\&. 185 35 .PP … … 189 39 \fInot\fR 190 40 listed by 191 \FCgetfattr \-d \FCfilename\F[]\F[]\&. To show the current value, the name of the EA must be specified (e\&.g\&.192 \FCgetfattr \-n security\&.NTACL \FCfilename\F[] \F[])\&.41 getfattr \-d filename\&. To show the current value, the name of the EA must be specified (e\&.g\&. 42 getfattr \-n security\&.NTACL filename)\&. 193 43 .PP 194 44 Please note that this module is … … 199 49 .PP 200 50 There are no options for 201 \FCvfs_acl_xattr\F[]\&.51 vfs_acl_xattr\&. 202 52 .SH "AUTHOR" 203 53 .PP -
branches/samba-3.3.x/docs/manpages/vfs_audit.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_audit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_AUDIT" "8" "10/12/2009" "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 .. 10 .TH "VFS_AUDIT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_audit \- record selected Samba VFS operations in the system log 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = audit\F[] 175 .fam 25 vfs objects = audit 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_audit\F[] 33 vfs_audit 184 34 VFS module records selected client operations to the system log using 185 35 \fBsyslog\fR(3)\&. … … 249 99 .RS 4 250 100 .\} 251 .fam C252 .ps -1253 101 .nf 254 .if t \{\255 .sp -1256 .\}257 .BB lightgray adjust-for-leading-newline258 .sp -1259 260 102 \fI[global]\fR 261 103 \m[blue]\fBvfs objects = audit\fR\m[] 262 104 \m[blue]\fBaudit:facility = LOCAL1\fR\m[] 263 105 \m[blue]\fBaudit:priority = NOTICE\fR\m[] 264 .EB lightgray adjust-for-leading-newline265 .if t \{\266 .sp 1267 .\}268 106 .fi 269 .fam270 .ps +1271 107 .if n \{\ 272 108 .RE -
branches/samba-3.3.x/docs/manpages/vfs_cacheprime.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_cacheprime 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_CACHEPRIME" "8" "10/12/2009" "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 .. 10 .TH "VFS_CACHEPRIME" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_cacheprime \- prime the kernel file data cache 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = cacheprime\F[] 175 .fam 25 vfs objects = cacheprime 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_cacheprime\F[] 33 vfs_cacheprime 184 34 VFS module reads chunks of file data near the range requested by clients in order to make sure the data is present in the kernel file data cache at the time when it is actually requested by clients\&. 185 35 .PP 186 36 The size of the disk read operations performed by 187 \FCvfs_cacheprime\F[] 37 vfs_cacheprime 188 38 is determined by the cacheprime:rsize option\&. All disk read operations are aligned on boundaries that are a multiple of this size\&. Each range of the file data is primed at most once during the time the client has the file open\&. 189 39 .PP … … 205 55 .IP \(bu 2.3 206 56 .\} 207 \FCK\F[] 57 K 208 58 \- BYTES is a number of kilobytes 209 59 .RE … … 217 67 .IP \(bu 2.3 218 68 .\} 219 \FCM\F[] 69 M 220 70 \- BYTES is a number of megabytes 221 71 .RE … … 229 79 .IP \(bu 2.3 230 80 .\} 231 \FCG\F[] 81 G 232 82 \- BYTES is a number of gigabytes 233 83 .sp … … 241 91 .RS 4 242 92 .\} 243 .fam C244 .ps -1245 93 .nf 246 .if t \{\247 .sp -1248 .\}249 .BB lightgray adjust-for-leading-newline250 .sp -1251 252 94 \fI[hypothetical]\fR 253 95 \m[blue]\fBvfs objects = cacheprime\fR\m[] 254 96 \m[blue]\fBcacheprime:rsize = 1M\fR\m[] 255 .EB lightgray adjust-for-leading-newline256 .if t \{\257 .sp 1258 .\}259 97 .fi 260 .fam261 .ps +1262 98 .if n \{\ 263 99 .RE … … 265 101 .SH "CAVEATS" 266 102 .PP 267 \FCcacheprime\F[] 103 cacheprime 268 104 is not a a substitute for a general\-purpose readahead mechanism\&. It is intended for use only in very specific environments where disk operations must be aligned and sized to known values (as much as that is possible)\&. 269 105 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/vfs_cap.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_cap 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_CAP" "8" "10/12/2009" "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 .. 10 .TH "VFS_CAP" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_cap \- CAP encode filenames 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = cap\F[] 175 .fam 25 vfs objects = cap 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 CAP (Columbia Appletalk Protocol) encoding is a technique for representing non\-ASCII filenames in ASCII\&. The 183 \FCvfs_cap\F[] 33 vfs_cap 184 34 VFS module translates filenames to and from CAP format, allowing users to name files in their native encoding\&. 185 35 .PP … … 194 44 .RS 4 195 45 .\} 196 .fam C197 .ps -1198 46 .nf 199 .if t \{\200 .sp -1201 .\}202 .BB lightgray adjust-for-leading-newline203 .sp -1204 205 47 \fI[global]\fR 206 48 \m[blue]\fBdos charset = CP932\fR\m[] 207 49 \m[blue]\fBdos charset = CP932\fR\m[] 208 50 \m[blue]\fBvfs objects = cap\fR\m[] 209 .EB lightgray adjust-for-leading-newline210 .if t \{\211 .sp 1212 .\}213 51 .fi 214 .fam215 .ps +1216 52 .if n \{\ 217 53 .RE -
branches/samba-3.3.x/docs/manpages/vfs_catia.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_catia 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_CATIA" "8" "10/12/2009" "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 .. 10 .TH "VFS_CATIA" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_catia \- translate illegal characters in Catia filenames 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = catia\F[] 175 .fam 25 vfs objects = catia 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The Catia CAD package commonly creates filenames that use characters that are illegal in CIFS filenames\&. The 183 \FCvfs_catia\F[] 33 vfs_catia 184 34 VFS module implements a fixed character mapping so that these files can be shared with CIFS clients\&. 185 35 .PP … … 192 42 .RS 4 193 43 .\} 194 .fam C195 .ps -1196 44 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 45 \fI[CAD]\fR 204 46 \m[blue]\fBpath = /data/cad\fR\m[] 205 47 \m[blue]\fBvfs objects = catia\fR\m[] 206 .EB lightgray adjust-for-leading-newline207 .if t \{\208 .sp 1209 .\}210 48 .fi 211 .fam212 .ps +1213 49 .if n \{\ 214 50 .RE -
branches/samba-3.3.x/docs/manpages/vfs_commit.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_commit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_COMMIT" "8" "10/12/2009" "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 .. 10 .TH "VFS_COMMIT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_commit \- flush dirty data at specified intervals 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = commit\F[] 175 .fam 25 vfs objects = commit 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_commit\F[] 33 vfs_commit 184 34 VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates\&. 185 35 .PP 186 \FCvfs_commit\F[] 36 vfs_commit 187 37 is useful in two circumstances\&. First, if you have very precious data, the impact of unexpected power loss can be minimized by a small commit:dthresh value\&. Secondly, write performance can be improved on some systems by flushing file data early and at regular intervals\&. 188 38 .PP … … 204 54 .IP \(bu 2.3 205 55 .\} 206 \FCK\F[] 56 K 207 57 \- BYTES is a number of kilobytes 208 58 .RE … … 216 66 .IP \(bu 2.3 217 67 .\} 218 \FCM\F[] 68 M 219 69 \- BYTES is a number of megabytes 220 70 .RE … … 228 78 .IP \(bu 2.3 229 79 .\} 230 \FCG\F[] 80 G 231 81 \- BYTES is a number of gigabytes 232 82 .sp … … 240 90 .RS 4 241 91 .\} 242 .fam C243 .ps -1244 92 .nf 245 .if t \{\246 .sp -1247 .\}248 .BB lightgray adjust-for-leading-newline249 .sp -1250 251 93 \fI[precious]\fR 252 94 \m[blue]\fBpath = /data/precious\fR\m[] 253 95 \m[blue]\fBvfs objects = commit\fR\m[] 254 96 \m[blue]\fBcommit:dthresh = 512K\fR\m[] 255 .EB lightgray adjust-for-leading-newline256 .if t \{\257 .sp 1258 .\}259 97 .fi 260 .fam261 .ps +1262 98 .if n \{\ 263 99 .RE … … 266 102 .PP 267 103 On some systems, the data synchronization performed by 268 \FCcommit\F[] 104 commit 269 105 may reduce performance\&. 270 106 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/vfs_default_quota.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_default_quota 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_DEFAULT_QUOTA" "8" "10/12/2009" "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 .. 10 .TH "VFS_DEFAULT_QUOTA" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_default_quota \- store default quota records for Windows clients 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = default_quota\F[] 175 .fam 25 vfs objects = default_quota 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 Many common quota implementations only store quotas for users and groups, but do not store a default quota\&. The 183 \FCvfs_default_quota\F[] 33 vfs_default_quota 184 34 module allows Samba to store default quota values which can be examined using the Windows Explorer interface\&. 185 35 .PP 186 36 By default, Samba returns NO_LIMIT the default quota and refuses to update them\&. 187 \FCvfs_default_quota\F[] 37 vfs_default_quota 188 38 maps the default quota to the quota record of a user\&. By default the root user is taken because quota limits for root are typically not enforced\&. 189 39 .PP … … 217 67 .RS 4 218 68 .\} 219 .fam C220 .ps -1221 69 .nf 222 .if t \{\223 .sp -1224 .\}225 .BB lightgray adjust-for-leading-newline226 .sp -1227 228 70 \fI[global]\fR 229 71 \m[blue]\fBvfs objects = default_quota\fR\m[] 230 72 \m[blue]\fBdefault_quota:uid = 65535\fR\m[] 231 73 \m[blue]\fBdefault_quota:uid nolimit = yes\fR\m[] 232 .EB lightgray adjust-for-leading-newline233 .if t \{\234 .sp 1235 .\}236 74 .fi 237 .fam238 .ps +1239 75 .if n \{\ 240 76 .RE -
branches/samba-3.3.x/docs/manpages/vfs_dirsort.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_dirsort 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_DIRSORT" "8" "10/12/2009" "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 .. 10 .TH "VFS_DIRSORT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_dirsort \- Sort directory contents 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = dirsort\F[] 175 .fam 25 vfs objects = dirsort 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_dirsort\F[] 33 vfs_dirsort 184 34 module sorts directory entries alphabetically before sending them to the client\&. 185 35 .PP … … 192 42 .RS 4 193 43 .\} 194 .fam C195 .ps -1196 44 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 45 \fI[global]\fR 204 46 \m[blue]\fBvfs objects = dirsort\fR\m[] 205 .EB lightgray adjust-for-leading-newline206 .if t \{\207 .sp 1208 .\}209 47 .fi 210 .fam211 .ps +1212 48 .if n \{\ 213 49 .RE -
branches/samba-3.3.x/docs/manpages/vfs_extd_audit.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_extd_audit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_EXTD_AUDIT" "8" "10/12/2009" "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 .. 10 .TH "VFS_EXTD_AUDIT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_extd_audit \- record selected Samba VFS operations 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = extd_audit\F[] 175 .fam 25 vfs objects = extd_audit 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCextd_audit\F[] 33 extd_audit 184 34 VFS module records selected client operations to both the 185 35 \fBsmbd\fR(8) … … 190 40 \fBsmbd\fR(8) 191 41 log, 192 \FCvfs_extd_audit\F[] 42 vfs_extd_audit 193 43 is identical to 194 44 \fBvfs_audit\fR(8)\&. -
branches/samba-3.3.x/docs/manpages/vfs_fake_perms.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_fake_perms 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_FAKE_PERMS" "8" "10/12/2009" "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 .. 10 .TH "VFS_FAKE_PERMS" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_fake_perms \- enable read only Roaming Profiles 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = fake_perms\F[] 175 .fam 25 vfs objects = fake_perms 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_fake_perms\F[] 33 vfs_fake_perms 184 34 VFS module was created to allow Roaming Profile files and directories to be set (on the Samba server under UNIX) as read only\&. This module will, if installed on the Profiles share, report to the client that the Profile files and directories are writeable\&. This satisfies the client even though the files will never be overwritten as the client logs out or shuts down\&. 185 35 .PP … … 190 40 .RS 4 191 41 .\} 192 .fam C193 .ps -1194 42 .nf 195 .if t \{\196 .sp -1197 .\}198 .BB lightgray adjust-for-leading-newline199 .sp -1200 201 43 \fI[Profiles]\fR 202 44 \m[blue]\fBpath = /profiles\fR\m[] 203 45 \m[blue]\fBvfs objects = fake_perms\fR\m[] 204 .EB lightgray adjust-for-leading-newline205 .if t \{\206 .sp 1207 .\}208 46 .fi 209 .fam210 .ps +1211 47 .if n \{\ 212 48 .RE -
branches/samba-3.3.x/docs/manpages/vfs_fileid.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_fileid 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_FILEID" "8" "10/12/2009" "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 .. 10 .TH "VFS_FILEID" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_fileid \- Generates file_id structs with unique device id values for cluster setups 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = fileid\F[] 175 .fam 25 vfs objects = fileid 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 Samba uses file_id structs to uniquely identify files for locking purpose\&. By default the file_id contains the device and inode number returned by the 183 \FCstat()\F[] 33 stat() 184 34 system call\&. As the file_id is a unique identifier of a file, it must be the same on all nodes in a cluster setup\&. This module overloads the 185 \FCSMB_VFS_FILE_ID_CREATE()\F[] 35 SMB_VFS_FILE_ID_CREATE() 186 36 operation and generates the device number based on the configured algorithm (see the "fileid:algorithm" option)\&. 187 37 .SH "OPTIONS" … … 190 40 .RS 4 191 41 Available algorithms are 192 \FCfsname\F[] 42 fsname 193 43 and 194 \FCfsid\F[]\&. The default value is195 \FCfsname\F[]\&.44 fsid\&. The default value is 45 fsname\&. 196 46 .sp 197 47 The 198 \FCfsname\F[] 48 fsname 199 49 algorithm generates device id by hashing the kernel device name\&. 200 50 .sp 201 51 The 202 \FCfsid\F[] 52 fsid 203 53 algorithm generates the device id from the 204 \FCf_fsid\F[] 54 f_fsid 205 55 returned from the 206 \FCstatfs()\F[] 56 statfs() 207 57 syscall\&. 208 58 .RE … … 211 61 .RS 4 212 62 This option is the legacy version of the 213 \FCfileid:algorithm\F[] 63 fileid:algorithm 214 64 option, which was used in earlier versions of fileid mapping feature in custom Samba 3\&.0 versions\&. 215 65 .RE … … 217 67 .PP 218 68 Usage of the 219 \FCfileid\F[] 69 fileid 220 70 module with the 221 \FCfsid\F[] 71 fsid 222 72 algorithm: 223 73 .sp … … 225 75 .RS 4 226 76 .\} 227 .fam C228 .ps -1229 77 .nf 230 .if t \{\231 .sp -1232 .\}233 .BB lightgray adjust-for-leading-newline234 .sp -1235 236 78 \fI[global]\fR 237 79 \m[blue]\fBvfs objects = fileid\fR\m[] 238 80 \m[blue]\fBfileid:algorithm = fsid\fR\m[] 239 .EB lightgray adjust-for-leading-newline240 .if t \{\241 .sp 1242 .\}243 81 .fi 244 .fam245 .ps +1246 82 .if n \{\ 247 83 .RE -
branches/samba-3.3.x/docs/manpages/vfs_full_audit.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_full_audit 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_FULL_AUDIT" "8" "10/12/2009" "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 .. 10 .TH "VFS_FULL_AUDIT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_full_audit \- record Samba VFS operations in the system log 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = full_audit\F[] 175 .fam 25 vfs objects = full_audit 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_full_audit\F[] 33 vfs_full_audit 184 34 VFS module records selected client operations to the system log using 185 35 \fBsyslog\fR(3)\&. 186 36 .PP 187 \FCvfs_full_audit\F[] 37 vfs_full_audit 188 38 is able to record the complete set of Samba VFS operations: 189 39 .RS 4 … … 471 321 .PP 472 322 In addition to these operations, 473 \FCvfs_full_audit\F[] 323 vfs_full_audit 474 324 recognizes the special operation names "all" and "none ", which refer to all the VFS operations and none of the VFS operations respectively\&. 475 325 .PP 476 \FCvfs_full_audit\F[] 326 vfs_full_audit 477 327 records operations in fixed format consisting of fields separated by \'|\' characters\&. The format is: 478 328 .sp … … 480 330 .RS 4 481 331 .\} 482 .fam C483 .ps -1484 332 .nf 485 .if t \{\486 .sp -1487 .\}488 .BB lightgray adjust-for-leading-newline489 .sp -1490 491 333 smbd_audit: PREFIX|OPERATION|RESULT|FILE 492 334 493 .EB lightgray adjust-for-leading-newline494 .if t \{\495 .sp 1496 .\}497 335 .fi 498 .fam499 .ps +1500 336 .if n \{\ 501 337 .RE … … 512 348 .IP \(bu 2.3 513 349 .\} 514 \FCPREFIX\F[] 350 PREFIX 515 351 \- the result of the full_audit:prefix string after variable substitutions 516 352 .RE … … 524 360 .IP \(bu 2.3 525 361 .\} 526 \FCOPERATION\F[] 362 OPERATION 527 363 \- the name of the VFS operation 528 364 .RE … … 536 372 .IP \(bu 2.3 537 373 .\} 538 \FCRESULT\F[] 374 RESULT 539 375 \- whether the operation succeeded or failed 540 376 .RE … … 548 384 .IP \(bu 2.3 549 385 .\} 550 \FCFILE\F[] 386 FILE 551 387 \- the name of the file or directory the operation was performed on 552 388 .sp … … 592 428 .RS 4 593 429 .\} 594 .fam C595 .ps -1596 430 .nf 597 .if t \{\598 .sp -1599 .\}600 .BB lightgray adjust-for-leading-newline601 .sp -1602 603 431 \fI[records]\fR 604 432 \m[blue]\fBpath = /data/records\fR\m[] … … 609 437 \m[blue]\fBfull_audit:facility = LOCAL7\fR\m[] 610 438 \m[blue]\fBfull_audit:priority = ALERT\fR\m[] 611 .EB lightgray adjust-for-leading-newline612 .if t \{\613 .sp 1614 .\}615 439 .fi 616 .fam617 .ps +1618 440 .if n \{\ 619 441 .RE -
branches/samba-3.3.x/docs/manpages/vfs_gpfs.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_gpfs 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_GPFS" "8" "10/12/2009" "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 .. 10 .TH "VFS_GPFS" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_gpfs \- gpfs specific samba extensions like acls and prealloc 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = gpfs\F[] 175 .fam 25 vfs objects = gpfs 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCgpfs\F[] 33 gpfs 184 34 VFS module is the home for all gpfs extensions that Samba requires for proper integration with GPFS\&. It uses the GPL library interfaces provided by GPFS\&. 185 35 .PP … … 220 70 .RE 221 71 .PP 222 \FCNOTE:\F[]This module follows the posix\-acl behaviour and hence allows permission stealing via chown\&. Samba might allow at a later point in time, to restrict the chown via this module as such restrictions are the responsibility of the underlying filesystem than of Samba\&.72 NOTE:This module follows the posix\-acl behaviour and hence allows permission stealing via chown\&. Samba might allow at a later point in time, to restrict the chown via this module as such restrictions are the responsibility of the underlying filesystem than of Samba\&. 223 73 .PP 224 74 This module is stackable\&. … … 239 89 .IP \(bu 2.3 240 90 .\} 241 \FCsimple(default)\F[] 91 simple(default) 242 92 \- do not use special IDs in GPFS ACEs 243 93 .RE … … 251 101 .IP \(bu 2.3 252 102 .\} 253 \FCspecial\F[] 103 special 254 104 \- use special IDs in GPFS ACEs\&. 255 105 .sp … … 271 121 .IP \(bu 2.3 272 122 .\} 273 \FCdontcare (default)\F[] 123 dontcare (default) 274 124 \- copy the ACEs as they come 275 125 .RE … … 283 133 .IP \(bu 2.3 284 134 .\} 285 \FCreject\F[] 135 reject 286 136 \- stop operation and exit with error on ACL set op 287 137 .RE … … 295 145 .IP \(bu 2.3 296 146 .\} 297 \FCignore\F[] 147 ignore 298 148 \- don\'t include the second matching ACE 299 149 .RE … … 307 157 .IP \(bu 2.3 308 158 .\} 309 \FCmerge\F[] 159 merge 310 160 \- bitwise OR the 2 ace\&.flag fields and 2 ace\&.mask fields of the 2 duplicate ACEs into 1 ACE 311 161 .sp … … 329 179 .IP \(bu 2.3 330 180 .\} 331 \FCyes\F[] 181 yes 332 182 \- Enable chown if as supported by the under filesystem 333 183 .RE … … 341 191 .IP \(bu 2.3 342 192 .\} 343 \FCno (default)\F[] 193 no (default) 344 194 \- Disable chown 345 195 .sp … … 353 203 .RS 4 354 204 .\} 355 .fam C356 .ps -1357 205 .nf 358 .if t \{\359 .sp -1360 .\}361 .BB lightgray adjust-for-leading-newline362 .sp -1363 364 206 \fI[samba_gpfs_share]\fR 365 207 \m[blue]\fBvfs objects = gpfs\fR\m[] … … 367 209 \m[blue]\fBnfs4: mode = special\fR\m[] 368 210 \m[blue]\fBnfs4: acedup = merge\fR\m[] 369 .EB lightgray adjust-for-leading-newline370 .if t \{\371 .sp 1372 .\}373 211 .fi 374 .fam375 .ps +1376 212 .if n \{\ 377 213 .RE … … 380 216 .PP 381 217 The gpfs gpl libraries are required by 382 \FCgpfs\F[] 218 gpfs 383 219 VFS module during both compilation and runtime\&. Also this VFS module is tested to work on SLES 9/10 and RHEL 4\&.4 384 220 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/vfs_netatalk.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_netatalk 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_NETATALK" "8" "10/12/2009" "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 .. 10 .TH "VFS_NETATALK" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_netatalk \- hide \&.AppleDouble files from CIFS clients 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = netatalk\F[] 175 .fam 25 vfs objects = netatalk 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_netatalk\F[] 33 vfs_netatalk 184 34 VFS module dynamically hides \&.AppleDouble files, preventing spurious errors on some CIFS clients\&. \&.AppleDouble files may be created by historic implementations of AFP (Apple Filing Protocol) on servers\&. 185 35 .PP … … 192 42 .RS 4 193 43 .\} 194 .fam C195 .ps -1196 44 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 45 \fI[data]\fR 204 46 \m[blue]\fBvfs objects = netatalk\fR\m[] 205 .EB lightgray adjust-for-leading-newline206 .if t \{\207 .sp 1208 .\}209 47 .fi 210 .fam211 .ps +1212 48 .if n \{\ 213 49 .RE -
branches/samba-3.3.x/docs/manpages/vfs_notify_fam.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_notify_fam 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_NOTIFY_FAM" "8" "10/12/2009" "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 .. 10 .TH "VFS_NOTIFY_FAM" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_notify_fam \- FAM support for file change notifications 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = notify_fam\F[] 175 .fam 25 vfs objects = notify_fam 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_notify_fam\F[] 33 vfs_notify_fam 184 34 module makes use of the system FAM (File Alteration Monitor) daemon to implement file change notifications for Windows clients\&. FAM is generally present only on IRIX and some BSD systems\&. 185 35 .PP … … 192 42 .RS 4 193 43 .\} 194 .fam C195 .ps -1196 44 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 45 \fI[global]\fR 204 46 \m[blue]\fBvfs objects = notify_fam\fR\m[] 205 .EB lightgray adjust-for-leading-newline206 .if t \{\207 .sp 1208 .\}209 47 .fi 210 .fam211 .ps +1212 48 .if n \{\ 213 49 .RE -
branches/samba-3.3.x/docs/manpages/vfs_prealloc.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_prealloc 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_PREALLOC" "8" "10/12/2009" "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 .. 10 .TH "VFS_PREALLOC" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_prealloc \- preallocate matching files to a predetermined size 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = prealloc\F[] 175 .fam 25 vfs objects = prealloc 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_prealloc\F[] 33 vfs_prealloc 184 34 VFS module preallocates files to a specified size each time a new file is created\&. This is useful in environments where files are of a predetermined size will be written to a disk subsystem where extending file allocations is expensive\&. 185 35 .PP … … 201 51 .IP \(bu 2.3 202 52 .\} 203 \FCK\F[] 53 K 204 54 \- BYTES is a number of kilobytes 205 55 .RE … … 213 63 .IP \(bu 2.3 214 64 .\} 215 \FCM\F[] 65 M 216 66 \- BYTES is a number of megabytes 217 67 .RE … … 225 75 .IP \(bu 2.3 226 76 .\} 227 \FCG\F[] 77 G 228 78 \- BYTES is a number of gigabytes 229 79 .sp … … 237 87 .RS 4 238 88 .\} 239 .fam C240 .ps -1241 89 .nf 242 .if t \{\243 .sp -1244 .\}245 .BB lightgray adjust-for-leading-newline246 .sp -1247 248 90 \fI[frames]\fR 249 91 \m[blue]\fBpath = /data/frames\fR\m[] 250 92 \m[blue]\fBvfs objects = prealloc\fR\m[] 251 93 \m[blue]\fBprealloc:tiff = 4M\fR\m[] 252 .EB lightgray adjust-for-leading-newline253 .if t \{\254 .sp 1255 .\}256 94 .fi 257 .fam258 .ps +1259 95 .if n \{\ 260 96 .RE … … 262 98 .SH "CAVEATS" 263 99 .PP 264 \FCvfs_prealloc\F[] 100 vfs_prealloc 265 101 is not supported on all platforms and filesystems\&. Currently only XFS filesystems on Linux and IRIX are supported\&. 266 102 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/vfs_preopen.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_preopen 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_PREOPEN" "8" "10/12/2009" "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 .. 10 .TH "VFS_PREOPEN" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_preopen \- Hide read latencies for applications reading numbered files 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = preopen\F[] 175 .fam 25 vfs objects = preopen 176 26 .SH "DESCRIPTION" 177 27 .PP … … 190 40 .RS 4 191 41 preopen:names specifies the file name pattern which should trigger the preopen helpers to do their work\&. We assume that the files are numbered incrementally\&. So if your file names are numbered FRAME00000\&.frm FRAME00001\&.frm and so on you would list them as 192 \FCpreopen:names=/FRAME*\&.frm/\F[] 42 preopen:names=/FRAME*\&.frm/ 193 43 .RE 194 44 .PP -
branches/samba-3.3.x/docs/manpages/vfs_readahead.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_readahead 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_READAHEAD" "8" "10/12/2009" "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 .. 10 .TH "VFS_READAHEAD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_readahead \- pre\-load the kernel buffer cache 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = readahead\F[] 175 .fam 25 vfs objects = readahead 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 This 183 \FCvfs_readahead\F[] 33 vfs_readahead 184 34 VFS module detects read requests at multiples of a given offset (hex 0x80000 by default) and then tells the kernel via either the readahead system call (on Linux) or the posix_fadvise system call to pre\-fetch this data into the buffer cache\&. 185 35 .PP … … 189 39 .PP 190 40 The size of the disk read operations performed by 191 \FCvfs_readahead\F[] 41 vfs_readahead 192 42 is determined by the readahead:length option\&. By default this is set to the same value as the readahead:offset option and if not set explicitly will use the current value of readahead:offset\&. 193 43 .PP … … 215 65 .IP \(bu 2.3 216 66 .\} 217 \FCK\F[] 67 K 218 68 \- BYTES is a number of kilobytes 219 69 .RE … … 227 77 .IP \(bu 2.3 228 78 .\} 229 \FCM\F[] 79 M 230 80 \- BYTES is a number of megabytes 231 81 .RE … … 239 89 .IP \(bu 2.3 240 90 .\} 241 \FCG\F[] 91 G 242 92 \- BYTES is a number of gigabytes 243 93 .SH "EXAMPLES" … … 246 96 .RS 4 247 97 .\} 248 .fam C249 .ps -1250 98 .nf 251 .if t \{\252 .sp -1253 .\}254 .BB lightgray adjust-for-leading-newline255 .sp -1256 257 99 \fI[hypothetical]\fR 258 100 \m[blue]\fBvfs objects = readahead\fR\m[] 259 .EB lightgray adjust-for-leading-newline260 .if t \{\261 .sp 1262 .\}263 101 .fi 264 .fam265 .ps +1266 102 .if n \{\ 267 103 .RE -
branches/samba-3.3.x/docs/manpages/vfs_readonly.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_readonly 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_READONLY" "8" "10/12/2009" "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 .. 10 .TH "VFS_READONLY" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_readonly \- make a Samba share read only for a specified time period 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = readonly\F[] 175 .fam 25 vfs objects = readonly 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_readonly\F[] 33 vfs_readonly 184 34 VFS module marks a share as read only for all clients connecting within the configured time period\&. Clients connecting during this time will be denied write access to all files in the share, irrespective of ther actual access privileges\&. 185 35 .PP … … 199 49 .RS 4 200 50 .\} 201 .fam C202 .ps -1203 51 .nf 204 .if t \{\205 .sp -1206 .\}207 .BB lightgray adjust-for-leading-newline208 .sp -1209 210 52 \fI[global]\fR 211 53 \m[blue]\fBvfs objects = readonly\fR\m[] 212 .EB lightgray adjust-for-leading-newline213 .if t \{\214 .sp 1215 .\}216 54 .fi 217 .fam218 .ps +1219 55 .if n \{\ 220 56 .RE … … 226 62 .RS 4 227 63 .\} 228 .fam C229 .ps -1230 64 .nf 231 .if t \{\232 .sp -1233 .\}234 .BB lightgray adjust-for-leading-newline235 .sp -1236 237 65 \fI[backup]\fR 238 66 \m[blue]\fBpath = /readonly\fR\m[] 239 67 \m[blue]\fBvfs objects = readonly\fR\m[] 240 68 \m[blue]\fBreadonly:period = readonly:period = "today 9:00","today 17:00"\fR\m[] 241 .EB lightgray adjust-for-leading-newline242 .if t \{\243 .sp 1244 .\}245 69 .fi 246 .fam247 .ps +1248 70 .if n \{\ 249 71 .RE -
branches/samba-3.3.x/docs/manpages/vfs_recycle.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_recycle 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_RECYCLE" "8" "10/12/2009" "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 .. 10 .TH "VFS_RECYCLE" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_recycle \- Samba VFS recycle bin 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = recycle\F[] 175 .fam 25 vfs objects = recycle 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_recycle\F[] 33 vfs_recycle 184 34 intercepts file deletion requests and moves the affected files to a temporary repository rather than deleting them immediately\&. This gives the same effect as the Recycle Bin on Windows computers\&. 185 35 .PP … … 265 115 .RS 4 266 116 .\} 267 .fam C268 .ps -1269 117 .nf 270 .if t \{\271 .sp -1272 .\}273 .BB lightgray adjust-for-leading-newline274 .sp -1275 276 118 \fI[share]\fR 277 119 \m[blue]\fBpath = /data/share\fR\m[] … … 280 122 \m[blue]\fBrecycle:keeptree = yes\fR\m[] 281 123 \m[blue]\fBrecycle:versions = yes\fR\m[] 282 .EB lightgray adjust-for-leading-newline283 .if t \{\284 .sp 1285 .\}286 124 .fi 287 .fam288 .ps +1289 125 .if n \{\ 290 126 .RE -
branches/samba-3.3.x/docs/manpages/vfs_shadow_copy.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_shadow_copy 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_SHADOW_COPY" "8" "10/12/2009" "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 .. 10 .TH "VFS_SHADOW_COPY" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_shadow_copy \- Make a Samba share read only for a specified time period 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = shadow_copy\F[] 175 .fam 25 vfs objects = shadow_copy 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_shadow_copy\F[] 33 vfs_shadow_copy 184 34 VFS module functionality that is similar to Microsoft Shadow Copy services\&. When setup properly, this module allows Microsoft Shadow Copy clients to browse "shadow copies" on Samba shares\&. 185 35 .PP … … 187 37 .SH "CONFIGURATION" 188 38 .PP 189 \FCvfs_shadow_copy\F[] 39 vfs_shadow_copy 190 40 relies on a filesystem snapshot implementation\&. Many common filesystems have native support for this\&. 191 41 .PP 192 42 Filesystem snapshots must be mounted on specially named directories in order to be recognized by 193 \FCvfs_shadow_copy\F[]\&. The snapshot mount points must be immediate children of a the directory being shared\&.43 vfs_shadow_copy\&. The snapshot mount points must be immediate children of a the directory being shared\&. 194 44 .PP 195 45 The snapshot naming convention is @GMT\-YYYY\&.MM\&.DD\-hh\&.mm\&.ss, where: … … 203 53 .IP \(bu 2.3 204 54 .\} 205 \FCYYYY\F[] 55 YYYY 206 56 is the 4 digit year 207 57 .RE … … 215 65 .IP \(bu 2.3 216 66 .\} 217 \FCMM\F[] 67 MM 218 68 is the 2 digit month 219 69 .RE … … 227 77 .IP \(bu 2.3 228 78 .\} 229 \FCDD\F[] 79 DD 230 80 is the 2 digit day 231 81 .RE … … 239 89 .IP \(bu 2.3 240 90 .\} 241 \FChh\F[] 91 hh 242 92 is the 2 digit hour 243 93 .RE … … 251 101 .IP \(bu 2.3 252 102 .\} 253 \FCmm\F[] 103 mm 254 104 is the 2 digit minute 255 105 .RE … … 263 113 .IP \(bu 2.3 264 114 .\} 265 \FCss\F[] 115 ss 266 116 is the 2 digit second\&. 267 117 .sp … … 269 119 .PP 270 120 The 271 \FCvfs_shadow_copy\F[] 121 vfs_shadow_copy 272 122 snapshot naming convention can be produced with the following 273 123 \fBdate\fR(1) … … 277 127 .RS 4 278 128 .\} 279 .fam C280 .ps -1281 129 .nf 282 .if t \{\283 .sp -1284 .\}285 .BB lightgray adjust-for-leading-newline286 .sp -1287 288 130 TZ=GMT date +@GMT\-%Y\&.%m\&.%d\-%H\&.%M\&.%S 289 131 290 .EB lightgray adjust-for-leading-newline291 .if t \{\292 .sp 1293 .\}294 132 .fi 295 .fam296 .ps +1297 133 .if n \{\ 298 134 .RE … … 305 141 .RS 4 306 142 .\} 307 .fam C308 .ps -1309 143 .nf 310 .if t \{\311 .sp -1312 .\}313 .BB lightgray adjust-for-leading-newline314 .sp -1315 316 144 \fI[homes]\fR 317 145 \m[blue]\fBvfs objects = shadow_copy\fR\m[] 318 .EB lightgray adjust-for-leading-newline319 .if t \{\320 .sp 1321 .\}322 146 .fi 323 .fam324 .ps +1325 147 .if n \{\ 326 148 .RE … … 331 153 .PP 332 154 With Samba or Windows servers, 333 \FCvfs_shadow_copy\F[] 155 vfs_shadow_copy 334 156 is designed to be an end\-user tool only\&. It does not replace or enhance your backup and archival solutions and should in no way be considered as such\&. Additionally, if you need version control, implement a version control system\&. 335 157 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/vfs_shadow_copy2.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_shadow_copy2 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_SHADOW_COPY2" "8" "10/12/2009" "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 .. 10 .TH "VFS_SHADOW_COPY2" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_shadow_copy2 \- Expose snapshots to Windows clients as shadow copies\&. 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = shadow_copy2\F[] 175 .fam 25 vfs objects = shadow_copy2 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_shadow_copy2\F[] 33 vfs_shadow_copy2 184 34 VFS module functionality that is similar to Microsoft Shadow Copy services\&. When setup properly, this module allows Microsoft Shadow Copy clients to browse "shadow copies" on Samba shares\&. 185 35 .PP … … 213 63 .SH "CONFIGURATION" 214 64 .PP 215 \FCvfs_shadow_copy2\F[] 65 vfs_shadow_copy2 216 66 relies on a filesystem snapshot implementation\&. Many common filesystems have native support for this\&. 217 67 .PP 218 68 Filesystem snapshots must be mounted on specially named directories in order to be recognized by 219 \FCvfs_shadow_copy2\F[]\&. The snapshot mount points must be immediate children of a the directory being shared\&.69 vfs_shadow_copy2\&. The snapshot mount points must be immediate children of a the directory being shared\&. 220 70 .PP 221 71 The snapshot naming convention is @GMT\-YYYY\&.MM\&.DD\-hh\&.mm\&.ss, where: … … 229 79 .IP \(bu 2.3 230 80 .\} 231 \FCYYYY\F[] 81 YYYY 232 82 is the 4 digit year 233 83 .RE … … 241 91 .IP \(bu 2.3 242 92 .\} 243 \FCMM\F[] 93 MM 244 94 is the 2 digit month 245 95 .RE … … 253 103 .IP \(bu 2.3 254 104 .\} 255 \FCDD\F[] 105 DD 256 106 is the 2 digit day 257 107 .RE … … 265 115 .IP \(bu 2.3 266 116 .\} 267 \FChh\F[] 117 hh 268 118 is the 2 digit hour 269 119 .RE … … 277 127 .IP \(bu 2.3 278 128 .\} 279 \FCmm\F[] 129 mm 280 130 is the 2 digit minute 281 131 .RE … … 289 139 .IP \(bu 2.3 290 140 .\} 291 \FCss\F[] 141 ss 292 142 is the 2 digit second\&. 293 143 .sp … … 295 145 .PP 296 146 The 297 \FCvfs_shadow_copy2\F[] 147 vfs_shadow_copy2 298 148 snapshot naming convention can be produced with the following 299 149 \fBdate\fR(1) … … 303 153 .RS 4 304 154 .\} 305 .fam C306 .ps -1307 155 .nf 308 .if t \{\309 .sp -1310 .\}311 .BB lightgray adjust-for-leading-newline312 .sp -1313 314 156 TZ=GMT date +@GMT\-%Y\&.%m\&.%d\-%H\&.%M\&.%S 315 157 316 .EB lightgray adjust-for-leading-newline317 .if t \{\318 .sp 1319 .\}320 158 .fi 321 .fam322 .ps +1323 159 .if n \{\ 324 160 .RE … … 339 175 .RS 4 340 176 If you enable 341 \FCshadow:fixinodes \F[] 177 shadow:fixinodes 342 178 then this module will modify the apparent inode number of files in the snapshot directories using a hash of the files path\&. This is needed for snapshot systems where the snapshots have the same device:inode number as the original files (such as happens with GPFS snapshots)\&. If you don\'t set this option then the \'restore\' button in the shadow copy UI will fail with a sharing violation\&. 343 179 .RE … … 349 185 .RS 4 350 186 .\} 351 .fam C352 .ps -1353 187 .nf 354 .if t \{\355 .sp -1356 .\}357 .BB lightgray adjust-for-leading-newline358 .sp -1359 360 188 \fI[homes]\fR 361 189 \m[blue]\fBvfs objects = shadow_copy2\fR\m[] 362 190 \m[blue]\fBshadow:snapdir = /data/snaphots\fR\m[] 363 191 \m[blue]\fBshadow:basedir = /data/home\fR\m[] 364 .EB lightgray adjust-for-leading-newline365 .if t \{\366 .sp 1367 .\}368 192 .fi 369 .fam370 .ps +1371 193 .if n \{\ 372 194 .RE … … 377 199 .PP 378 200 With Samba or Windows servers, 379 \FCvfs_shadow_copy2\F[] 201 vfs_shadow_copy2 380 202 is designed to be an end\-user tool only\&. It does not replace or enhance your backup and archival solutions and should in no way be considered as such\&. Additionally, if you need version control, implement a version control system\&. 381 203 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/vfs_smb_traffic_analyzer.8
r342 r368 1 '\" t 1 2 .\" Title: smb_traffic_analyzer 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "SMB_TRAFFIC_ANALYZER" "8" "10/12/2009" "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 .. 10 .TH "SMB_TRAFFIC_ANALYZER" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_smb_traffic_analyzer \- log Samba VFS read and write operations through a socket to a helper application 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = smb_traffic_analyzer\F[] 175 .fam 25 vfs objects = smb_traffic_analyzer 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_smb_traffic_analyzer\F[] 33 vfs_smb_traffic_analyzer 184 34 VFS module logs client write and read operations on a Samba server and sends this data over a socket to a helper program, which feeds a SQL database\&. More information on the helper programs can be obtained from the homepage of the project at: http://holger123\&.wordpress\&.com/smb\-traffic\-analyzer/ 185 35 .PP 186 \FCvfs_smb_traffic_analyzer\F[] 36 vfs_smb_traffic_analyzer 187 37 currently is aware of the following VFS operations: 188 38 .RS 4 … … 199 49 .RE 200 50 .PP 201 \FCvfs_smb_traffic_analyzer\F[] 51 vfs_smb_traffic_analyzer 202 52 sends the following data in a fixed format seperated by a comma through either an internet or a unix domain socket: 203 53 .sp … … 205 55 .RS 4 206 56 .\} 207 .fam C 208 .ps -1 209 .nf 210 .if t \{\ 211 .sp -1 212 .\} 213 .BB lightgray adjust-for-leading-newline 214 .sp -1 215 57 .nf 216 58 BYTES|USER|DOMAIN|READ/WRITE|SHARE|FILENAME|TIMESTAMP 217 59 218 .EB lightgray adjust-for-leading-newline 219 .if t \{\ 220 .sp 1 221 .\} 222 .fi 223 .fam 224 .ps +1 60 .fi 225 61 .if n \{\ 226 62 .RE … … 237 73 .IP \(bu 2.3 238 74 .\} 239 \FCBYTES\F[] 75 BYTES 240 76 \- the length in bytes of the VFS operation 241 77 .RE … … 249 85 .IP \(bu 2.3 250 86 .\} 251 \FCUSER\F[] 87 USER 252 88 \- the user who initiated the operation 253 89 .RE … … 261 97 .IP \(bu 2.3 262 98 .\} 263 \FCDOMAIN\F[] 99 DOMAIN 264 100 \- the domain of the user 265 101 .RE … … 273 109 .IP \(bu 2.3 274 110 .\} 275 \FCREAD/WRITE\F[] 111 READ/WRITE 276 112 \- either "W" for a write operation or "R" for read 277 113 .RE … … 285 121 .IP \(bu 2.3 286 122 .\} 287 \FCSHARE\F[] 123 SHARE 288 124 \- the name of the share on which the VFS operation occured 289 125 .RE … … 297 133 .IP \(bu 2.3 298 134 .\} 299 \FCFILENAME\F[] 135 FILENAME 300 136 \- the name of the file that was used by the VFS operation 301 137 .RE … … 309 145 .IP \(bu 2.3 310 146 .\} 311 \FCTIMESTAMP\F[] 147 TIMESTAMP 312 148 \- a timestamp, formatted as "yyyy\-mm\-dd hh\-mm\-ss\&.ms" indicating when the VFS operation occured 313 149 .sp … … 348 184 .RS 4 349 185 .\} 350 .fam C 351 .ps -1 352 .nf 353 .if t \{\ 354 .sp -1 355 .\} 356 .BB lightgray adjust-for-leading-newline 357 .sp -1 358 186 .nf 359 187 \fI[example_share]\fR 360 188 \m[blue]\fBpath = /data/example\fR\m[] … … 362 190 \m[blue]\fBsmb_traffic_analyzer:mode = unix_domain_socket\fR\m[] 363 191 364 .EB lightgray adjust-for-leading-newline 365 .if t \{\ 366 .sp 1 367 .\} 368 .fi 369 .fam 370 .ps +1 192 .fi 371 193 .if n \{\ 372 194 .RE … … 378 200 .RS 4 379 201 .\} 380 .fam C 381 .ps -1 382 .nf 383 .if t \{\ 384 .sp -1 385 .\} 386 .BB lightgray adjust-for-leading-newline 387 .sp -1 388 202 .nf 389 203 \fI[example_share]\fR 390 204 \m[blue]\fBpath = /data/example\fR\m[] … … 393 207 \m[blue]\fBsmb_traffic_analyzer:port = 3491\fR\m[] 394 208 395 .EB lightgray adjust-for-leading-newline 396 .if t \{\ 397 .sp 1 398 .\} 399 .fi 400 .fam 401 .ps +1 209 .fi 402 210 .if n \{\ 403 211 .RE … … 409 217 .RS 4 410 218 .\} 411 .fam C 412 .ps -1 413 .nf 414 .if t \{\ 415 .sp -1 416 .\} 417 .BB lightgray adjust-for-leading-newline 418 .sp -1 419 219 .nf 420 220 \fI[example_share]\fR 421 221 \m[blue]\fBpath = /data/example\fR\m[] … … 425 225 \m[blue]\fBsmb_traffic_analyzer:anonymize_prefix = User\fR\m[] 426 226 427 .EB lightgray adjust-for-leading-newline 428 .if t \{\ 429 .sp 1 430 .\} 431 .fi 432 .fam 433 .ps +1 227 .fi 434 228 .if n \{\ 435 229 .RE -
branches/samba-3.3.x/docs/manpages/vfs_streams_depot.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_streams_depot 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_STREAMS_DEPOT" "8" "10/12/2009" "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 .. 10 .TH "VFS_STREAMS_DEPOT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_streams_depot \- EXPERIMENTAL module to store alternate data streams in a central directory\&. 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = streams_depot\F[] 175 .fam 25 vfs objects = streams_depot 176 26 .SH "DESCRIPTION" 177 27 .PP … … 183 33 .PP 184 34 The 185 \FCvfs_streams_depot\F[] 35 vfs_streams_depot 186 36 enables storing of NTFS alternate data streams in the file system\&. As a normal posix file system does not support the concept of multiple data streams per file, the streams_depot module stores the data in files in a separate directory\&. 187 37 .SH "OPTIONS" … … 196 46 .RS 4 197 47 .\} 198 .fam C199 .ps -1200 48 .nf 201 .if t \{\202 .sp -1203 .\}204 .BB lightgray adjust-for-leading-newline205 .sp -1206 207 49 \fI[share]\fR 208 50 \m[blue]\fBvfs objects = streams_depot\fR\m[] 209 .EB lightgray adjust-for-leading-newline210 .if t \{\211 .sp 1212 .\}213 51 .fi 214 .fam215 .ps +1216 52 .if n \{\ 217 53 .RE -
branches/samba-3.3.x/docs/manpages/vfs_streams_xattr.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_streams_xattr 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_STREAMS_XATTR" "8" "10/12/2009" "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 .. 10 .TH "VFS_STREAMS_XATTR" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_streams_xattr \- Store alternate data streams in posix xattrs 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = streams_xattr\F[] 175 .fam 25 vfs objects = streams_xattr 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_streams_xattr\F[] 33 vfs_streams_xattr 184 34 enables storing of NTFS alternate data streams in the file system\&. As a normal posix file system does not support the concept of multiple data streams per file, the streams_xattr module stores the data in posix extended attributes (xattrs)\&. The name of these attributes is user\&.DosStream\&."ADS\-NAME"\&. 185 35 .PP … … 192 42 .RS 4 193 43 .\} 194 .fam C195 .ps -1196 44 .nf 197 .if t \{\198 .sp -1199 .\}200 .BB lightgray adjust-for-leading-newline201 .sp -1202 203 45 \fI[share]\fR 204 46 \m[blue]\fBvfs objects = streams_xattr\fR\m[] 205 .EB lightgray adjust-for-leading-newline206 .if t \{\207 .sp 1208 .\}209 47 .fi 210 .fam211 .ps +1212 48 .if n \{\ 213 49 .RE -
branches/samba-3.3.x/docs/manpages/vfs_xattr_tdb.8
r342 r368 1 '\" t 1 2 .\" Title: vfs_xattr_tdb 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFS_XATTR_TDB" "8" "10/12/2009" "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 .. 10 .TH "VFS_XATTR_TDB" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfs_xattr_tdb \- Save Extended Attributes (EAs) in a tdb file 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfs objects = xattr_tdb\F[] 175 .fam 25 vfs objects = xattr_tdb 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCvfs_xattr_tdb\F[] 33 vfs_xattr_tdb 184 34 VFS module stores Extended Attributes (EAs) in a tdb file\&. This enables the usage of Extended Attributes on OS and filesystems which do not support Extended Attributes by themselves\&. 185 35 .PP … … 190 40 .RS 4 191 41 Name of the tdb file the EAs are stored in\&. If this option is not set, the default filename 192 \FCxattr\&.tdb\F[] 42 xattr\&.tdb 193 43 is used\&. 194 44 .RE -
branches/samba-3.3.x/docs/manpages/vfstest.1
r342 r368 1 '\" t 1 2 .\" Title: vfstest 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "VFSTEST" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "VFSTEST" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 vfstest \- tool for testing samba VFS modules 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCvfstest\F[] [\-d\ debuglevel] [\-c\ command] [\-l\ logdir] [\-h] 175 .fam 25 vfstest [\-d\ debuglevel] [\-c\ command] [\-l\ logdir] [\-h] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCvfstest\F[] 32 vfstest 183 33 is a small command line utility that has the ability to test dso samba VFS modules\&. It gives the user the ability to call the various VFS functions manually and supports cascaded VFS modules\&. 184 34 .SH "OPTIONS" … … 211 61 .sp 212 62 Note that specifying this parameter here will override the 213 \m[blue]\fB log level\fR\m[]63 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 214 64 parameter in the 215 \FCsmb\&.conf\F[] 65 smb\&.conf 216 66 file\&. 217 67 .RE 218 68 .PP 219 \-V 69 \-V|\-\-version 220 70 .RS 4 221 71 Prints the program version number\&. 222 72 .RE 223 73 .PP 224 \-s <configuration file>74 \-s|\-\-configfile <configuration file> 225 75 .RS 4 226 76 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 227 \FCsmb\&.conf\F[] 77 smb\&.conf 228 78 for more information\&. The default configuration file name is determined at compile time\&. 229 79 .RE … … 247 97 .IP \(bu 2.3 248 98 .\} 249 \FCload <module\&.so>\F[] 99 load <module\&.so> 250 100 \- Load specified VFS module 251 101 .RE … … 259 109 .IP \(bu 2.3 260 110 .\} 261 \FCpopulate <char> <size>\F[] 111 populate <char> <size> 262 112 \- Populate a data buffer with the specified data 263 113 .RE … … 271 121 .IP \(bu 2.3 272 122 .\} 273 \FCshowdata [<offset> <len>]\F[]123 showdata [<offset> <len>] 274 124 \- Show data currently in data buffer 275 125 .RE … … 283 133 .IP \(bu 2.3 284 134 .\} 285 \FCconnect\F[] 135 connect 286 136 \- VFS connect() 287 137 .RE … … 295 145 .IP \(bu 2.3 296 146 .\} 297 \FCdisconnect\F[] 147 disconnect 298 148 \- VFS disconnect() 299 149 .RE … … 307 157 .IP \(bu 2.3 308 158 .\} 309 \FCdisk_free\F[] 159 disk_free 310 160 \- VFS disk_free() 311 161 .RE … … 319 169 .IP \(bu 2.3 320 170 .\} 321 \FCopendir\F[] 171 opendir 322 172 \- VFS opendir() 323 173 .RE … … 331 181 .IP \(bu 2.3 332 182 .\} 333 \FCreaddir\F[] 183 readdir 334 184 \- VFS readdir() 335 185 .RE … … 343 193 .IP \(bu 2.3 344 194 .\} 345 \FCmkdir\F[] 195 mkdir 346 196 \- VFS mkdir() 347 197 .RE … … 355 205 .IP \(bu 2.3 356 206 .\} 357 \FCrmdir\F[] 207 rmdir 358 208 \- VFS rmdir() 359 209 .RE … … 367 217 .IP \(bu 2.3 368 218 .\} 369 \FCclosedir\F[] 219 closedir 370 220 \- VFS closedir() 371 221 .RE … … 379 229 .IP \(bu 2.3 380 230 .\} 381 \FCopen\F[] 231 open 382 232 \- VFS open() 383 233 .RE … … 391 241 .IP \(bu 2.3 392 242 .\} 393 \FCclose\F[] 243 close 394 244 \- VFS close() 395 245 .RE … … 403 253 .IP \(bu 2.3 404 254 .\} 405 \FCread\F[] 255 read 406 256 \- VFS read() 407 257 .RE … … 415 265 .IP \(bu 2.3 416 266 .\} 417 \FCwrite\F[] 267 write 418 268 \- VFS write() 419 269 .RE … … 427 277 .IP \(bu 2.3 428 278 .\} 429 \FClseek\F[] 279 lseek 430 280 \- VFS lseek() 431 281 .RE … … 439 289 .IP \(bu 2.3 440 290 .\} 441 \FCrename\F[] 291 rename 442 292 \- VFS rename() 443 293 .RE … … 451 301 .IP \(bu 2.3 452 302 .\} 453 \FCfsync\F[] 303 fsync 454 304 \- VFS fsync() 455 305 .RE … … 463 313 .IP \(bu 2.3 464 314 .\} 465 \FCstat\F[] 315 stat 466 316 \- VFS stat() 467 317 .RE … … 475 325 .IP \(bu 2.3 476 326 .\} 477 \FCfstat\F[] 327 fstat 478 328 \- VFS fstat() 479 329 .RE … … 487 337 .IP \(bu 2.3 488 338 .\} 489 \FClstat\F[] 339 lstat 490 340 \- VFS lstat() 491 341 .RE … … 499 349 .IP \(bu 2.3 500 350 .\} 501 \FCunlink\F[] 351 unlink 502 352 \- VFS unlink() 503 353 .RE … … 511 361 .IP \(bu 2.3 512 362 .\} 513 \FCchmod\F[] 363 chmod 514 364 \- VFS chmod() 515 365 .RE … … 523 373 .IP \(bu 2.3 524 374 .\} 525 \FCfchmod\F[] 375 fchmod 526 376 \- VFS fchmod() 527 377 .RE … … 535 385 .IP \(bu 2.3 536 386 .\} 537 \FCchown\F[] 387 chown 538 388 \- VFS chown() 539 389 .RE … … 547 397 .IP \(bu 2.3 548 398 .\} 549 \FCfchown\F[] 399 fchown 550 400 \- VFS fchown() 551 401 .RE … … 559 409 .IP \(bu 2.3 560 410 .\} 561 \FCchdir\F[] 411 chdir 562 412 \- VFS chdir() 563 413 .RE … … 571 421 .IP \(bu 2.3 572 422 .\} 573 \FCgetwd\F[] 423 getwd 574 424 \- VFS getwd() 575 425 .RE … … 583 433 .IP \(bu 2.3 584 434 .\} 585 \FCutime\F[] 435 utime 586 436 \- VFS utime() 587 437 .RE … … 595 445 .IP \(bu 2.3 596 446 .\} 597 \FCftruncate\F[] 447 ftruncate 598 448 \- VFS ftruncate() 599 449 .RE … … 607 457 .IP \(bu 2.3 608 458 .\} 609 \FClock\F[] 459 lock 610 460 \- VFS lock() 611 461 .RE … … 619 469 .IP \(bu 2.3 620 470 .\} 621 \FCsymlink\F[] 471 symlink 622 472 \- VFS symlink() 623 473 .RE … … 631 481 .IP \(bu 2.3 632 482 .\} 633 \FCreadlink\F[] 483 readlink 634 484 \- VFS readlink() 635 485 .RE … … 643 493 .IP \(bu 2.3 644 494 .\} 645 \FClink\F[] 495 link 646 496 \- VFS link() 647 497 .RE … … 655 505 .IP \(bu 2.3 656 506 .\} 657 \FCmknod\F[] 507 mknod 658 508 \- VFS mknod() 659 509 .RE … … 667 517 .IP \(bu 2.3 668 518 .\} 669 \FCrealpath\F[] 519 realpath 670 520 \- VFS realpath() 671 521 .sp … … 682 532 .IP \(bu 2.3 683 533 .\} 684 \FCconf <smb\&.conf>\F[] 534 conf <smb\&.conf> 685 535 \- Load a different configuration file 686 536 .RE … … 694 544 .IP \(bu 2.3 695 545 .\} 696 \FChelp [<command>]\F[]546 help [<command>] 697 547 \- Get list of commands or info about specified command 698 548 .RE … … 706 556 .IP \(bu 2.3 707 557 .\} 708 \FCdebuglevel <level>\F[] 558 debuglevel <level> 709 559 \- Set debug level 710 560 .RE … … 718 568 .IP \(bu 2.3 719 569 .\} 720 \FCfreemem\F[] 570 freemem 721 571 \- Free memory currently in use 722 572 .RE … … 730 580 .IP \(bu 2.3 731 581 .\} 732 \FCexit\F[] 582 exit 733 583 \- Exit vfstest 734 584 .SH "VERSION" -
branches/samba-3.3.x/docs/manpages/wbinfo.1
r342 r368 1 '\" t 1 2 .\" Title: wbinfo 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: User Commands 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "WBINFO" "1" "10/12/2009" "Samba 3\&.3" "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 .. 10 .TH "WBINFO" "1" "01/14/2010" "Samba 3\&.3" "User Commands" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 wbinfo \- Query information from winbind daemon 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCwbinfo\F[] [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-D\ domain] [\-\-domain\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-h] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-own\-domain] [\-p] [\-r\ user] [\-\-remove\-uid\-mapping\ uid,sid] [\-\-remove\-gid\-mapping\ gid,sid] [\-s\ sid] [\-\-separator] [\-\-sequence] [\-\-set\-auth\-user\ user%password] [\-\-set\-uid\-mapping\ uid,sid] [\-\-set\-gid\-mapping\ gid,sid] [\-S\ sid] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-user\-domgroups\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-Y\ sid] [\-\-verbose] 175 .fam 25 wbinfo [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-D\ domain] [\-\-domain\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-h] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-own\-domain] [\-p] [\-r\ user] [\-\-remove\-uid\-mapping\ uid,sid] [\-\-remove\-gid\-mapping\ gid,sid] [\-s\ sid] [\-\-separator] [\-\-sequence] [\-\-set\-auth\-user\ user%password] [\-\-set\-uid\-mapping\ uid,sid] [\-\-set\-gid\-mapping\ gid,sid] [\-S\ sid] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-user\-domgroups\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-Y\ sid] [\-\-verbose] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 181 31 .PP 182 32 The 183 \FCwbinfo\F[] 33 wbinfo 184 34 program queries and returns information created and used by the 185 35 \fBwinbindd\fR(8) … … 189 39 \fBwinbindd\fR(8) 190 40 daemon must be configured and running for the 191 \FCwbinfo\F[] 41 wbinfo 192 42 program to be able to return information\&. 193 43 .SH "OPTIONS" … … 200 50 .\} 201 51 .RS 4 202 .BM yellow203 52 .it 1 an-trap 204 53 .nr an-no-space-flag 1 … … 212 61 \fBntlm_auth\fR(1)\&. 213 62 .sp .5v 214 .EM yellow215 63 .RE 216 64 .RE … … 432 280 .RE 433 281 .PP 434 \-V 282 \-V|\-\-version 435 283 .RS 4 436 284 Prints the program version number\&. … … 446 294 \fBwinbindd\fR(8) 447 295 daemon is not working 448 \FCwbinfo\F[] 296 wbinfo 449 297 will always return failure\&. 450 298 .SH "VERSION" … … 460 308 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\&. 461 309 .PP 462 \FCwbinfo\F[] 310 wbinfo 463 311 and 464 \FCwinbindd\F[] 312 winbindd 465 313 were written by Tim Potter\&. 466 314 .PP -
branches/samba-3.3.x/docs/manpages/winbind_krb5_locator.7
r342 r368 1 '\" t 1 2 .\" Title: winbind_krb5_locator 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: 7 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "WINBIND_KRB5_LOCATOR" "7" "10/12/2009" "Samba 3\&.3" "7" 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 .. 10 .TH "WINBIND_KRB5_LOCATOR" "7" "01/14/2010" "Samba 3\&.3" "7" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 winbind_krb5_locator \- A plugin for MIT and Heimdal Kerberos for detecting KDCs using Windows semantics\&. 171 23 .SH "DESCRIPTION" … … 176 28 .PP 177 29 178 \FCwinbind_krb5_locator\F[] 30 winbind_krb5_locator 179 31 is a plugin that permits MIT and Heimdal Kerberos libraries to detect Kerberos Servers (for the KDC and kpasswd service) using the same semantics that other tools of the Samba suite use\&. This include site\-aware DNS service record lookups and caching of closest dc\&. The plugin uses the public locator API provided by most modern Kerberos implementations\&. 180 32 .SH "PREREQUISITES" … … 187 39 .PP 188 40 The 189 \FCwinbind_krb5_locator\&.so\F[] 41 winbind_krb5_locator\&.so 190 42 file needs to be manually copied to the plugin directory of the system Kerberos library\&. For MIT Kerberos this is often: 191 \FC/usr/lib/krb5/plugins/libkrb5/\F[]\&. For Heimdal Kerberos this is often:192 \FC/usr/lib/plugin/krb5/\F[]\&. Please check your local Kerberos installation for the correct paths\&. No modification in193 \FC/etc/krb5\&.conf\F[] 43 /usr/lib/krb5/plugins/libkrb5/\&. For Heimdal Kerberos this is often: 44 /usr/lib/plugin/krb5/\&. Please check your local Kerberos installation for the correct paths\&. No modification in 45 /etc/krb5\&.conf 194 46 is required to enable the use of this plugin\&. 195 47 .PP 196 48 After copying the locator plugin to the appropriate plugin directory it should immediately be available for use\&. Users should be able to kinit into their kerberized Windows environment without any modification or servers being put manually into 197 \FC/etc/krb5\&.conf\F[]\&.49 /etc/krb5\&.conf\&. 198 50 .SH "VERSION" 199 51 .PP -
branches/samba-3.3.x/docs/manpages/winbindd.8
r342 r368 1 '\" t 1 2 .\" Title: winbindd 2 3 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.7 4.0<http://docbook.sf.net/>4 .\" Date: 10/12/20094 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 01/14/2010 5 6 .\" Manual: System Administration tools 6 7 .\" Source: Samba 3.3 7 8 .\" Language: English 8 9 .\" 9 .TH "WINBINDD" "8" "10/12/2009" "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 .. 10 .TH "WINBINDD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 159 11 .\" ----------------------------------------------------------------- 160 12 .\" * set default formatting … … 167 19 .\" * MAIN CONTENT STARTS HERE * 168 20 .\" ----------------------------------------------------------------- 169 .SH "N ame"21 .SH "NAME" 170 22 winbindd \- Name Service Switch daemon for resolving names from NT servers 171 .SH "Synopsis" 172 .fam C 23 .SH "SYNOPSIS" 173 24 .HP \w'\ 'u 174 \FCwinbindd\F[] [\-D] [\-F] [\-S] [\-i] [\-Y] [\-d\ <debug\ level>] [\-s\ <smb\ config\ file>] [\-n] 175 .fam 25 winbindd [\-D] [\-F] [\-S] [\-i] [\-Y] [\-d\ <debug\ level>] [\-s\ <smb\ config\ file>] [\-n] 176 26 .SH "DESCRIPTION" 177 27 .PP … … 180 30 suite\&. 181 31 .PP 182 \FCwinbindd\F[] 32 winbindd 183 33 is a daemon that provides a number of services to the Name Service Switch capability found in most modern C libraries, to arbitrary applications via PAM and 184 \FCntlm_auth\F[] 34 ntlm_auth 185 35 and to Samba itself\&. 186 36 .PP 187 37 Even if winbind is not used for nsswitch, it still provides a service to 188 \FCsmbd\F[],189 \FCntlm_auth\F[] 38 smbd, 39 ntlm_auth 190 40 and the 191 \FCpam_winbind\&.so\F[] 41 pam_winbind\&.so 192 42 PAM module, by managing connections to domain controllers\&. In this configuraiton the 193 43 \m[blue]\fBidmap uid\fR\m[] … … 197 47 .PP 198 48 The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS\&. The exact behaviour can be configured throught the 199 \FC/etc/nsswitch\&.conf\F[] 49 /etc/nsswitch\&.conf 200 50 file\&. Users and groups are allocated as they are resolved to a range of user and group ids specified by the administrator of the Samba system\&. 201 51 .PP 202 52 The service provided by 203 \FCwinbindd\F[] 53 winbindd 204 54 is called `winbind\' and can be used to resolve user and group information from a Windows NT server\&. The service can also provide authentication services via an associated PAM module\&. 205 55 .PP 206 56 The 207 \FCpam_winbind\F[] 57 pam_winbind 208 58 module supports the 209 59 \fIauth\fR, … … 214 64 \fIaccount\fR 215 65 module simply performs a getpwnam() to verify that the system can obtain a uid for the user, as the domain controller has already performed access control\&. If the 216 \FClibnss_winbind\F[] 66 libnss_winbind 217 67 library has been correctly installed, or an alternate source of names configured, this should always succeed\&. 218 68 .PP … … 222 72 .RS 4 223 73 If specified, this parameter causes the server to operate as a daemon\&. That is, it detaches itself and runs in the background on the appropriate port\&. This switch is assumed if 224 \FCwinbindd\F[] 74 winbindd 225 75 is executed on the command line of a shell\&. 226 76 .RE … … 229 79 .RS 4 230 80 This feature is only available on IRIX\&. User information traditionally stored in the 231 \FChosts(5)\F[] 81 hosts(5) 232 82 file and used by 233 \FCgethostbyname(3)\F[] 83 gethostbyname(3) 234 84 functions\&. Names are resolved through the WINS server or by broadcast\&. 235 85 .RE … … 238 88 .RS 4 239 89 User information traditionally stored in the 240 \FCpasswd(5)\F[] 90 passwd(5) 241 91 file and used by 242 \FCgetpwent(3)\F[] 92 getpwent(3) 243 93 functions\&. 244 94 .RE … … 247 97 .RS 4 248 98 Group information traditionally stored in the 249 \FCgroup(5)\F[] 99 group(5) 250 100 file and used by 251 \FCgetgrent(3)\F[] 101 getgrent(3) 252 102 functions\&. 253 103 .RE 254 104 .PP 255 105 For example, the following simple configuration in the 256 \FC/etc/nsswitch\&.conf\F[] 106 /etc/nsswitch\&.conf 257 107 file can be used to initially resolve user and group information from 258 \FC/etc/passwd \F[] 108 /etc/passwd 259 109 and 260 \FC/etc/group\F[] 110 /etc/group 261 111 and then from the Windows NT server\&. 262 112 .sp … … 264 114 .RS 4 265 115 .\} 266 .fam C267 .ps -1268 116 .nf 269 .if t \{\270 .sp -1271 .\}272 .BB lightgray adjust-for-leading-newline273 .sp -1274 275 117 passwd: files winbind 276 118 group: files winbind … … 280 122 hosts: files dns wins 281 123 282 .EB lightgray adjust-for-leading-newline283 .if t \{\284 .sp 1285 .\}286 124 .fi 287 .fam288 .ps +1289 125 .if n \{\ 290 126 .RE … … 292 128 .PP 293 129 The following simple configuration in the 294 \FC/etc/nsswitch\&.conf\F[] 130 /etc/nsswitch\&.conf 295 131 file can be used to initially resolve hostnames from 296 \FC/etc/hosts\F[] 132 /etc/hosts 297 133 and then from the WINS server\&. 298 134 .sp … … 300 136 .RS 4 301 137 .\} 302 .fam C303 .ps -1304 138 .nf 305 .if t \{\306 .sp -1307 .\}308 .BB lightgray adjust-for-leading-newline309 .sp -1310 311 139 hosts: files wins 312 .EB lightgray adjust-for-leading-newline313 .if t \{\314 .sp 1315 .\}316 140 .fi 317 .fam318 .ps +1319 141 .if n \{\ 320 142 .RE … … 325 147 .RS 4 326 148 If specified, this parameter causes the main 327 \FCwinbindd\F[] 149 winbindd 328 150 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 329 \FCwinbindd\F[] 151 winbindd 330 152 under process supervisors such as 331 \FCsupervise\F[] 153 supervise 332 154 and 333 \FCsvscan\F[] 155 svscan 334 156 from Daniel J\&. Bernstein\'s 335 \FCdaemontools\F[] 157 daemontools 336 158 package, or the AIX process monitor\&. 337 159 .RE … … 340 162 .RS 4 341 163 If specified, this parameter causes 342 \FCwinbindd\F[] 164 winbindd 343 165 to log to standard output rather than a file\&. 344 166 .RE … … 354 176 .sp 355 177 Note that specifying this parameter here will override the 356 \m[blue]\fB log level\fR\m[]178 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 357 179 parameter in the 358 \FCsmb\&.conf\F[] 180 smb\&.conf 359 181 file\&. 360 182 .RE 361 183 .PP 362 \-V 184 \-V|\-\-version 363 185 .RS 4 364 186 Prints the program version number\&. 365 187 .RE 366 188 .PP 367 \-s <configuration file>189 \-s|\-\-configfile <configuration file> 368 190 .RS 4 369 191 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 370 \FCsmb\&.conf\F[] 192 smb\&.conf 371 193 for more information\&. The default configuration file name is determined at compile time\&. 372 194 .RE … … 387 209 .RS 4 388 210 Tells 389 \FCwinbindd\F[] 211 winbindd 390 212 to not become a daemon and detach from the current terminal\&. This option is used by developers when interactive debugging of 391 \FCwinbindd\F[] 213 winbindd 392 214 is required\&. 393 \FCwinbindd\F[] 215 winbindd 394 216 also logs to standard output, as if the 395 \ FC\-S\F[]217 \-S 396 218 parameter had been given\&. 397 219 .RE … … 409 231 .PP 410 232 Users and groups on a Windows NT server are assigned a security id (SID) which is globally unique when the user or group is created\&. To convert the Windows NT user or group into a unix user or group, a mapping between SIDs and unix user and group ids is required\&. This is one of the jobs that 411 \FC winbindd\F[] 233 winbindd 412 234 performs\&. 413 235 .PP … … 418 240 .PP 419 241 Configuration of the 420 \FCwinbindd\F[] 242 winbindd 421 243 daemon is done through configuration parameters in the 422 244 \fBsmb.conf\fR(5) … … 559 381 .PP 560 382 In 561 \FC/etc/nsswitch\&.conf\F[] 383 /etc/nsswitch\&.conf 562 384 put the following: 563 385 .sp … … 565 387 .RS 4 566 388 .\} 567 .fam C568 .ps -1569 389 .nf 570 .if t \{\571 .sp -1572 .\}573 .BB lightgray adjust-for-leading-newline574 .sp -1575 576 390 passwd: files winbind 577 391 group: files winbind 578 .EB lightgray adjust-for-leading-newline579 .if t \{\580 .sp 1581 .\}582 392 .fi 583 .fam584 .ps +1585 393 .if n \{\ 586 394 .RE … … 588 396 .PP 589 397 In 590 \FC/etc/pam\&.d/*\F[] 398 /etc/pam\&.d/* 591 399 replace the 592 400 \fI auth\fR … … 596 404 .RS 4 597 405 .\} 598 .fam C599 .ps -1600 406 .nf 601 .if t \{\602 .sp -1603 .\}604 .BB lightgray adjust-for-leading-newline605 .sp -1606 607 407 auth required /lib/security/pam_securetty\&.so 608 408 auth required /lib/security/pam_nologin\&.so … … 610 410 auth required /lib/security/pam_unix\&.so \e 611 411 use_first_pass shadow nullok 612 .EB lightgray adjust-for-leading-newline613 .if t \{\614 .sp 1615 .\}616 412 .fi 617 .fam 618 .ps +1 619 .if n \{\ 620 .RE 621 .\} 622 .sp 623 .if n \{\ 624 .sp 625 .\} 626 .RS 4 627 .BM yellow 413 .if n \{\ 414 .RE 415 .\} 416 .sp 417 .if n \{\ 418 .sp 419 .\} 420 .RS 4 628 421 .it 1 an-trap 629 422 .nr an-no-space-flag 1 … … 637 430 The PAM module pam_unix has recently replaced the module pam_pwdb\&. Some Linux systems use the module pam_unix2 in place of pam_unix\&. 638 431 .sp .5v 639 .EM yellow640 432 .RE 641 433 .PP … … 648 440 Now replace the account lines with this: 649 441 .PP 650 \FCaccount required /lib/security/pam_winbind\&.so \F[] 442 account required /lib/security/pam_winbind\&.so 651 443 .PP 652 444 The next step is to join the domain\&. To do that use the 653 \FCnet\F[] 445 net 654 446 program like this: 655 447 .PP 656 \FCnet join \-S PDC \-U Administrator\F[] 448 net join \-S PDC \-U Administrator 657 449 .PP 658 450 The username after the … … 661 453 .PP 662 454 Next copy 663 \FClibnss_winbind\&.so\F[] 455 libnss_winbind\&.so 664 456 to 665 \FC/lib\F[] 457 /lib 666 458 and 667 \FCpam_winbind\&.so \F[] 459 pam_winbind\&.so 668 460 to 669 \FC/lib/security\F[]\&. A symbolic link needs to be made from670 \FC/lib/libnss_winbind\&.so\F[] 461 /lib/security\&. A symbolic link needs to be made from 462 /lib/libnss_winbind\&.so 671 463 to 672 \FC/lib/libnss_winbind\&.so\&.2\F[]\&. If you are using an older version of glibc then the target of the link should be673 \FC/lib/libnss_winbind\&.so\&.1\F[]\&.464 /lib/libnss_winbind\&.so\&.2\&. If you are using an older version of glibc then the target of the link should be 465 /lib/libnss_winbind\&.so\&.1\&. 674 466 .PP 675 467 Finally, setup a … … 680 472 .RS 4 681 473 .\} 682 .fam C683 .ps -1684 474 .nf 685 .if t \{\686 .sp -1687 .\}688 .BB lightgray adjust-for-leading-newline689 .sp -1690 691 475 [global] 692 476 winbind separator = + … … 699 483 security = domain 700 484 password server = * 701 .EB lightgray adjust-for-leading-newline702 .if t \{\703 .sp 1704 .\}705 485 .fi 706 .fam707 .ps +1708 486 .if n \{\ 709 487 .RE … … 711 489 .PP 712 490 Now start winbindd and you should find that your user and group database is expanded to include your NT users and groups, and that you can login to your unix box as a domain user, using the DOMAIN+user syntax for the username\&. You may wish to use the commands 713 \FCgetent passwd\F[] 491 getent passwd 714 492 and 715 \FCgetent group \F[] 493 getent group 716 494 to confirm the correct operation of winbindd\&. 717 495 .SH "NOTES" 718 496 .PP 719 497 The following notes are useful when configuring and running 720 \FCwinbindd\F[]:498 winbindd: 721 499 .PP 722 500 \fBnmbd\fR(8) 723 501 must be running on the local machine for 724 \FCwinbindd\F[] 502 winbindd 725 503 to work\&. 726 504 .PP … … 728 506 .PP 729 507 If more than one UNIX machine is running 730 \FCwinbindd\F[], then in general the user and groups ids allocated by winbindd will not be the same\&. The user and group ids will only be valid for the local machine, unless a shared508 winbindd, then in general the user and groups ids allocated by winbindd will not be the same\&. The user and group ids will only be valid for the local machine, unless a shared 731 509 \m[blue]\fBidmap backend\fR\m[] 732 510 is configured\&. … … 736 514 .PP 737 515 The following signals can be used to manipulate the 738 \FCwinbindd\F[] 516 winbindd 739 517 daemon\&. 740 518 .PP … … 749 527 .RS 4 750 528 The SIGUSR2 signal will cause 751 \FC winbindd\F[] 529 winbindd 752 530 to write status information to the winbind log file\&. 753 531 .sp … … 756 534 .SH "FILES" 757 535 .PP 758 \FC/etc/nsswitch\&.conf(5)\F[] 536 /etc/nsswitch\&.conf(5) 759 537 .RS 4 760 538 Name service switch configuration file\&. … … 764 542 .RS 4 765 543 The UNIX pipe over which clients communicate with the 766 \FCwinbindd\F[] 544 winbindd 767 545 program\&. For security reasons, the winbind client will only attempt to connect to the winbindd daemon if both the 768 \FC/tmp/\&.winbindd\F[] 546 /tmp/\&.winbindd 769 547 directory and 770 \FC/tmp/\&.winbindd/pipe\F[] 548 /tmp/\&.winbindd/pipe 771 549 file are owned by root\&. 772 550 .RE … … 775 553 .RS 4 776 554 The UNIX pipe over which \'privileged\' clients communicate with the 777 \FCwinbindd\F[] 555 winbindd 778 556 program\&. For security reasons, access to some winbindd functions \- like those needed by the 779 \FCntlm_auth\F[] 557 ntlm_auth 780 558 utility \- is restricted\&. By default, only users in the \'root\' group will get this access, however the administrator may change the group permissions on $LOCKDIR/winbindd_privileged to allow programs like \'squid\' to use ntlm_auth\&. Note that the winbind client will only attempt to connect to the winbindd daemon if both the 781 \FC$LOCKDIR/winbindd_privileged\F[] 559 $LOCKDIR/winbindd_privileged 782 560 directory and 783 \FC$LOCKDIR/winbindd_privileged/pipe\F[] 561 $LOCKDIR/winbindd_privileged/pipe 784 562 file are owned by root\&. 785 563 .RE … … 795 573 \fI\-\-with\-lockdir\fR 796 574 option\&. This directory is by default 797 \FC/usr/local/samba/var/locks \F[]\&.575 /usr/local/samba/var/locks\&. 798 576 .RE 799 577 .PP … … 807 585 .SH "SEE ALSO" 808 586 .PP 809 \FCnsswitch\&.conf(5)\F[],587 nsswitch\&.conf(5), 810 588 \fBsamba\fR(7), 811 589 \fBwbinfo\fR(1), … … 817 595 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\&. 818 596 .PP 819 \FCwbinfo\F[] 597 wbinfo 820 598 and 821 \FCwinbindd\F[] 599 winbindd 822 600 were written by Tim Potter\&. 823 601 .PP
Note:
See TracChangeset
for help on using the changeset viewer.