Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/manpages/smb.conf.5

    r368 r411  
    1 '\" t
    21.\"     Title: smb.conf
    32.\"    Author: [see the "AUTHOR" section]
    4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 01/14/2010
     3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
     4.\"      Date: 02/22/2010
    65.\"    Manual: File Formats and Conventions
    76.\"    Source: Samba 3.3
    87.\"  Language: English
    98.\"
    10 .TH "SMB\&.CONF" "5" "01/14/2010" "Samba 3\&.3" "File Formats and Conventions"
     9.TH "SMB\&.CONF" "5" "02/22/2010" "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..
    11159.\" -----------------------------------------------------------------
    12160.\" * set default formatting
     
    19167.\" * MAIN CONTENT STARTS HERE *
    20168.\" -----------------------------------------------------------------
    21 .SH "NAME"
     169.SH "Name"
    22170smb.conf \- The configuration file for the Samba suite
    23171.SH "SYNOPSIS"
    24172.PP
    25173The
    26 smb\&.conf
     174\FCsmb\&.conf\F[]
    27175file is a configuration file for the Samba suite\&.
    28 smb\&.conf
     176\FCsmb\&.conf\F[]
    29177contains runtime configuration information for the Samba programs\&. The
    30 smb\&.conf
     178\FCsmb\&.conf\F[]
    31179file is designed to be configured and administered by the
    32180\fBswat\fR(8)
     
    39187.RS 4
    40188.\}
     189.fam C
     190.ps -1
    41191.nf
     192.if t \{\
     193.sp -1
     194.\}
     195.BB lightgray adjust-for-leading-newline
     196.sp -1
     197
    42198\fIname\fR = \fIvalue \fR
     199.EB lightgray adjust-for-leading-newline
     200.if t \{\
     201.sp 1
     202.\}
    43203.fi
     204.fam
     205.ps +1
    44206.if n \{\
    45207.RE
     
    55217.PP
    56218Any line ending in a
    57 \(lq\e\(rq
     219\(lq\FC\e\F[]\(rq
    58220is continued on the next line in the customary UNIX fashion\&.
    59221.PP
     
    78240.PP
    79241Sections 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
    80 user =
     242\FCuser =\F[]
    81243option in the share definition\&. For modern clients such as Windows 95/98/ME/NT/2000, this should not be necessary\&.
    82244.PP
     
    84246.PP
    85247The following sample section defines a file space share\&. The user has write access to the path
    86 /home/bar\&. The share is accessed via the share name
    87 foo:
     248\FC/home/bar\F[]\&. The share is accessed via the share name
     249\FCfoo\F[]:
    88250.sp
    89251.if n \{\
    90252.RS 4
    91253.\}
     254.fam C
     255.ps -1
    92256.nf
     257.if t \{\
     258.sp -1
     259.\}
     260.BB lightgray adjust-for-leading-newline
     261.sp -1
     262
    93263        \fI[foo]\fR
    94264        \m[blue]\fBpath = /home/bar\fR\m[]
    95265        \m[blue]\fBread only = no\fR\m[]
     266.EB lightgray adjust-for-leading-newline
     267.if t \{\
     268.sp 1
     269.\}
    96270.fi
     271.fam
     272.ps +1
    97273.if n \{\
    98274.RE
     
    106282.RS 4
    107283.\}
     284.fam C
     285.ps -1
    108286.nf
     287.if t \{\
     288.sp -1
     289.\}
     290.BB lightgray adjust-for-leading-newline
     291.sp -1
     292
    109293        \fI[aprinter]\fR
    110294        \m[blue]\fBpath = /usr/spool/public\fR\m[]
     
    112296        \m[blue]\fBprintable = yes\fR\m[]
    113297        \m[blue]\fBguest ok = yes\fR\m[]
     298.EB lightgray adjust-for-leading-newline
     299.if t \{\
     300.sp 1
     301.\}
    114302.fi
     303.fam
     304.ps +1
    115305.if n \{\
    116306.RE
     
    159349.RS 4
    160350.\}
     351.fam C
     352.ps -1
    161353.nf
     354.if t \{\
     355.sp -1
     356.\}
     357.BB lightgray adjust-for-leading-newline
     358.sp -1
     359
    162360\fBpath = /data/pchome/%S\fR
     361.EB lightgray adjust-for-leading-newline
     362.if t \{\
     363.sp 1
     364.\}
    163365.fi
     366.fam
     367.ps +1
    164368.if n \{\
    165369.RE
     
    178382.RS 4
    179383.\}
     384.fam C
     385.ps -1
    180386.nf
     387.if t \{\
     388.sp -1
     389.\}
     390.BB lightgray adjust-for-leading-newline
     391.sp -1
     392
    181393\fI[homes]\fR
    182394\m[blue]\fBread only = no\fR\m[]
     395.EB lightgray adjust-for-leading-newline
     396.if t \{\
     397.sp 1
     398.\}
    183399.fi
     400.fam
     401.ps +1
    184402.if n \{\
    185403.RE
     
    246464.RS 4
    247465.\}
     466.fam C
     467.ps -1
    248468.nf
     469.if t \{\
     470.sp -1
     471.\}
     472.BB lightgray adjust-for-leading-newline
     473.sp -1
     474
    249475\fI[printers]\fR
    250476\m[blue]\fBpath = /usr/spool/public\fR\m[]
    251477\m[blue]\fBguest ok = yes\fR\m[]
    252478\m[blue]\fBprintable = yes\fR\m[]
     479.EB lightgray adjust-for-leading-newline
     480.if t \{\
     481.sp 1
     482.\}
    253483.fi
     484.fam
     485.ps +1
    254486.if n \{\
    255487.RE
     
    261493.RS 4
    262494.\}
     495.fam C
     496.ps -1
    263497.nf
     498.if t \{\
     499.sp -1
     500.\}
     501.BB lightgray adjust-for-leading-newline
     502.sp -1
     503
    264504alias|alias|alias|alias\&.\&.\&.   
     505.EB lightgray adjust-for-leading-newline
     506.if t \{\
     507.sp 1
     508.\}
    265509.fi
     510.fam
     511.ps +1
    266512.if n \{\
    267513.RE
     
    270516Each 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\&.
    271517.PP
    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 (|)\&.
     518An 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[])\&.
    273519.if n \{\
    274520.sp
    275521.\}
    276522.RS 4
     523.BM yellow
    277524.it 1 an-trap
    278525.nr an-no-space-flag 1
     
    285532.PP
    286533On SYSV systems which use lpstat to determine what printers are defined on the system you may be able to use
    287 printcap name = lpstat
     534\FCprintcap name = lpstat\F[]
    288535to automatically obtain a list of printers\&. See the
    289 printcap name
     536\FCprintcap name\F[]
    290537option for more details\&.
    291538.sp .5v
     539.EM yellow
    292540.RE
    293541.SH "USERSHARES"
     
    333581.PP
    334582To allow members of the UNIX group
    335 foo
     583\FCfoo\F[]
    336584to create user defined shares, create the directory to contain the share definitions as follows:
    337585.PP
     
    341589.RS 4
    342590.\}
     591.fam C
     592.ps -1
    343593.nf
     594.if t \{\
     595.sp -1
     596.\}
     597.BB lightgray adjust-for-leading-newline
     598.sp -1
     599
    344600mkdir /usr/local/samba/lib/usershares
    345601chgrp foo /usr/local/samba/lib/usershares
    346602chmod 1770 /usr/local/samba/lib/usershares
     603.EB lightgray adjust-for-leading-newline
     604.if t \{\
     605.sp 1
     606.\}
    347607.fi
     608.fam
     609.ps +1
    348610.if n \{\
    349611.RE
     
    355617.RS 4
    356618.\}
     619.fam C
     620.ps -1
    357621.nf
     622.if t \{\
     623.sp -1
     624.\}
     625.BB lightgray adjust-for-leading-newline
     626.sp -1
     627
    358628        \m[blue]\fBusershare path = /usr/local/samba/lib/usershares\fR\m[]
    359629        \m[blue]\fBusershare max shares = 10\fR\m[] # (or the desired number of shares)
     630.EB lightgray adjust-for-leading-newline
     631.if t \{\
     632.sp 1
     633.\}
    360634.fi
     635.fam
     636.ps +1
    361637.if n \{\
    362638.RE
     
    364640.sp
    365641to the global section of your
    366 smb\&.conf\&. Members of the group foo may then manipulate the user defined shares using the following commands\&.
     642\FCsmb\&.conf\F[]\&. Members of the group foo may then manipulate the user defined shares using the following commands\&.
    367643.PP
    368644net usershare add sharename path [comment] [acl] [guest_ok=[y|n]]
     
    528804.RS 4
    529805the path of the service\'s home directory, obtained from your NIS auto\&.map entry\&. The NIS auto\&.map entry is split up as
    530 %N:%p\&.
     806\FC%N:%p\F[]\&.
    531807.RE
    532808.PP
    533809There are some quite creative things that can be done with these substitutions and other
    534 smb\&.conf
     810\FCsmb\&.conf\F[]
    535811options\&.
    536812.SH "NAME MANGLING"
    537813.PP
    538814Samba supports
    539 name mangling
     815\FCname mangling\F[]
    540816so 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\&.
    541817.PP
     
    567843.RS 4
    568844controls 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
    569 default
     845\FCdefault\F[]
    570846case\&. Default
    571847\fIyes\fR\&.
     
    575851.RS 4
    576852controls 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
    577 default
     853\FCdefault\F[]
    578854case\&. This option can be used with
    579 preserve case = yes
     855\FCpreserve case = yes\F[]
    580856to permit long filenames to retain their case, while short names are lowercased\&. Default
    581857\fIyes\fR\&.
     
    600876.\}
    601877If 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
    602 \e\eserver\eservice%\fIusername\fR
     878\FC\e\eserver\eservice\F[]%\fIusername\fR
    603879method of passing a username\&.
    604880.RE
     
    646922.\}
    647923If a
    648 user =
     924\FCuser = \F[]
    649925field is given in the
    650 smb\&.conf
     926\FCsmb\&.conf\F[]
    651927file 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
    652 user =
     928\FCuser =\F[]
    653929field, the connection is made as the username in the
    654 user =
     930\FCuser =\F[]
    655931line\&. If one of the usernames in the
    656 user =
     932\FCuser =\F[]
    657933list begins with a
    658 @, that name expands to a list of names in the group of the same name\&.
     934\FC@\F[], that name expands to a list of names in the group of the same name\&.
    659935.RE
    660936.sp
     
    668944.\}
    669945If the service is a guest service, a connection is made as the username given in the
    670 guest account =
     946\FCguest account =\F[]
    671947for the service, irrespective of the supplied password\&.
    672948.RE
     
    674950.PP
    675951Starting 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
    676 \fIHKLM\eSoftware\eSamba\esmbconf\fR\&. There are two levels of registry configuration:
     952\fI\FCHKLM\eSoftware\eSamba\esmbconf\F[]\fR\&. There are two levels of registry configuration:
    677953.sp
    678954.RS 4
     
    7371013\fInet (rpc) registry\fR
    7381014in the key
    739 \fIHKLM\eSoftware\eSamba\esmbconf\fR\&. More conveniently, the
     1015\fI\FCHKLM\eSoftware\eSamba\esmbconf\F[]\fR\&. More conveniently, the
    7401016\fIconf\fR
    7411017subcommand of the
     
    7581034.sp
    7591035Default:
    760 \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
     1036\fI\fIabort shutdown script\fR\fR\fI = \fR\fI\FC""\F[]\fR\fI \fR
     1037.sp
     1038Example:
     1039\fI\fIabort shutdown script\fR\fR\fI = \fR\fI\FC/sbin/shutdown \-c\F[]\fR\fI \fR
    7641040.RE
    7651041
     
    7741050.sp
    7751051Default:
    776 \fI\fIacl check permissions\fR\fR\fI = \fR\fITrue\fR\fI \fR
     1052\fI\fIacl check permissions\fR\fR\fI = \fR\fI\FCTrue\F[]\fR\fI \fR
    7771053.RE
    7781054
     
    7901066.sp
    7911067Default:
    792 \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
     1068\fI\fIacl compatibility\fR\fR\fI = \fR\fI\FCAuto\F[]\fR\fI \fR
     1069.sp
     1070Example:
     1071\fI\fIacl compatibility\fR\fR\fI = \fR\fI\FCwin2k\F[]\fR\fI \fR
    7961072.RE
    7971073
     
    8191095.sp
    8201096Default:
    821 \fI\fIacl group control\fR\fR\fI = \fR\fIno\fR\fI \fR
     1097\fI\fIacl group control\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    8221098.RE
    8231099
     
    8301106.sp
    8311107Default:
    832 \fI\fIacl map full control\fR\fR\fI = \fR\fITrue\fR\fI \fR
     1108\fI\fIacl map full control\fR\fR\fI = \fR\fI\FCTrue\F[]\fR\fI \fR
    8331109.RE
    8341110
     
    8461122.sp
    8471123Default:
    848 \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
     1124\fI\fIadd group script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1125.sp
     1126Example:
     1127\fI\fIadd group script\fR\fR\fI = \fR\fI\FC/usr/sbin/groupadd %g\F[]\fR\fI \fR
    8521128.RE
    8531129
     
    8641140.sp
    8651141Default:
    866 \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
     1142\fI\fIadd machine script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1143.sp
     1144Example:
     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 \fR
    8701146.RE
    8711147
     
    9011177.sp
    9021178Default:
    903 \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
     1179\fI\fIadd port command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1180.sp
     1181Example:
     1182\fI\fIadd port command\fR\fR\fI = \fR\fI\FC/etc/samba/scripts/addport\&.sh\F[]\fR\fI \fR
    9071183.RE
    9081184
     
    9161192\fIaddprinter command\fR
    9171193defines 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
    918 smb\&.conf
     1194\FCsmb\&.conf\F[]
    9191195file in order that it can be shared by
    9201196\fBsmbd\fR(8)\&.
     
    9951271\fIaddprinter command\fR
    9961272has been executed,
    997 smbd
     1273\FCsmbd\F[]
    9981274will reparse the
    999 smb\&.conf
     1275\FC smb\&.conf\F[]
    10001276to determine if the share defined by the APW exists\&. If the sharename is still invalid, then
    1001 smbd
     1277\FCsmbd \F[]
    10021278will return an ACCESS_DENIED error to the client\&.
    10031279.sp
     
    10071283.sp
    10081284Default:
    1009 \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
     1285\fI\fIaddprinter command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1286.sp
     1287Example:
     1288\fI\fIaddprinter command\fR\fR\fI = \fR\fI\FC/usr/bin/addprinter\F[]\fR\fI \fR
    10131289.RE
    10141290
     
    10201296\fIadd share command\fR
    10211297is used to define an external program or script which will add a new service definition to
    1022 smb\&.conf\&.
     1298\FCsmb\&.conf\F[]\&.
    10231299.sp
    10241300In order to successfully execute the
    10251301\fIadd share command\fR,
    1026 smbd
     1302\FCsmbd\F[]
    10271303requires that the administrator connects using a root account (i\&.e\&. uid == 0) or has the
    1028 SeDiskOperatorPrivilege\&. Scripts defined in the
     1304\FCSeDiskOperatorPrivilege\F[]\&. Scripts defined in the
    10291305\fIadd share command\fR
    10301306parameter are executed as root\&.
    10311307.sp
    10321308When executed,
    1033 smbd
     1309\FCsmbd\F[]
    10341310will automatically invoke the
    10351311\fIadd share command\fR
     
    10461322\fIconfigFile\fR
    10471323\- the location of the global
    1048 smb\&.conf
     1324\FCsmb\&.conf\F[]
    10491325file\&.
    10501326.RE
     
    11021378.sp
    11031379Default:
    1104 \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
     1380\fI\fIadd share command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1381.sp
     1382Example:
     1383\fI\fIadd share command\fR\fR\fI = \fR\fI\FC/usr/local/bin/addshare\F[]\fR\fI \fR
    11081384.RE
    11091385
     
    11381414\m[blue]\fBpassword server\fR\m[]
    11391415and attempts to authenticate the given user with the given password\&. If the authentication succeeds then
    1140 smbd
     1416\FCsmbd\F[]
    11411417attempts to find a UNIX user in the UNIX password database to map the Windows user into\&. If this lookup fails, and
    11421418\m[blue]\fBadd user script\fR\m[]
    11431419is set then
    1144 smbd
     1420\FCsmbd\F[]
    11451421will call the specified script
    11461422\fIAS ROOT\fR, expanding any
     
    11491425.sp
    11501426If this script successfully creates the user then
    1151 smbd
     1427\FCsmbd\F[]
    11521428will continue on as though the UNIX user already existed\&. In this way, UNIX users are dynamically created to match existing Windows NT accounts\&.
    11531429.sp
     
    11581434.sp
    11591435Default:
    1160 \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
     1436\fI\fIadd user script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1437.sp
     1438Example:
     1439\fI\fIadd user script\fR\fR\fI = \fR\fI\FC/usr/local/samba/bin/add_user %u\F[]\fR\fI \fR
    11641440.RE
    11651441
     
    11771453.sp
    11781454Note that the
    1179 adduser
     1455\FCadduser\F[]
    11801456command used in the example below does not support the used syntax on all systems\&.
    11811457.sp
    11821458Default:
    1183 \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
     1459\fI\fIadd user to group script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1460.sp
     1461Example:
     1462\fI\fIadd user to group script\fR\fR\fI = \fR\fI\FC/usr/sbin/adduser %u %g\F[]\fR\fI \fR
    11871463.RE
    11881464
     
    12001476.sp
    12011477Default:
    1202 \fI\fIadministrative share\fR\fR\fI = \fR\fIno\fR\fI \fR
     1478\fI\fIadministrative share\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    12031479.RE
    12041480
     
    12161492.sp
    12171493Default:
    1218 \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
     1494\fI\fIadmin users\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1495.sp
     1496Example:
     1497\fI\fIadmin users\fR\fR\fI = \fR\fI\FCjason\F[]\fR\fI \fR
    12221498.RE
    12231499
     
    12311507.sp
    12321508Default:
    1233 \fI\fIafs share\fR\fR\fI = \fR\fIno\fR\fI \fR
     1509\fI\fIafs share\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    12341510.RE
    12351511
     
    12431519.sp
    12441520Default:
    1245 \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
     1521\fI\fIafs username map\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1522.sp
     1523Example:
     1524\fI\fIafs username map\fR\fR\fI = \fR\fI\FC%u@afs\&.samba\&.org\F[]\fR\fI \fR
    12491525.RE
    12501526
     
    12641540.sp
    12651541Default:
    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
     1542\fI\fIaio read size\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     1543.sp
     1544Example:
     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
    12701546.RE
    12711547
     
    12811557.sp
    12821558Default:
    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
     1559\fI\fIaio write behind\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1560.sp
     1561Example:
     1562\fI\fIaio write behind\fR\fR\fI = \fR\fI\FC/*\&.tmp/\F[]\fR\fI \fR
    12871563.RE
    12881564
     
    13021578.sp
    13031579Default:
    1304 \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
     1580\fI\fIaio write size\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     1581.sp
     1582Example:
     1583\fI\fIaio write size\fR\fR\fI = \fR\fI\FC16384 # Use asynchronous I/O for writes bigger than 16KB request size\F[]\fR\fI \fR
    13081584.RE
    13091585
     
    13191595.sp
    13201596Default:
    1321 \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
     1597\fI\fIalgorithmic rid base\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
     1598.sp
     1599Example:
     1600\fI\fIalgorithmic rid base\fR\fR\fI = \fR\fI\FC100000\F[]\fR\fI \fR
    13251601.RE
    13261602
     
    13341610.sp
    13351611Default:
    1336 \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
     1612\fI\fIallocation roundup size\fR\fR\fI = \fR\fI\FC1048576\F[]\fR\fI \fR
     1613.sp
     1614Example:
     1615\fI\fIallocation roundup size\fR\fR\fI = \fR\fI\FC0 # (to disable roundups)\F[]\fR\fI \fR
    13401616.RE
    13411617
     
    13551631.sp
    13561632Default:
    1357 \fI\fIallow trusted domains\fR\fR\fI = \fR\fIyes\fR\fI \fR
     1633\fI\fIallow trusted domains\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    13581634.RE
    13591635
     
    13671643.sp
    13681644Default:
    1369 \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
     1645\fI\fIannounce as\fR\fR\fI = \fR\fI\FCNT Server\F[]\fR\fI \fR
     1646.sp
     1647Example:
     1648\fI\fIannounce as\fR\fR\fI = \fR\fI\FCWin95\F[]\fR\fI \fR
    13731649.RE
    13741650
     
    13801656.sp
    13811657Default:
    1382 \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
     1658\fI\fIannounce version\fR\fR\fI = \fR\fI\FC4\&.9\F[]\fR\fI \fR
     1659.sp
     1660Example:
     1661\fI\fIannounce version\fR\fR\fI = \fR\fI\FC2\&.0\F[]\fR\fI \fR
    13861662.RE
    13871663
     
    13911667.RS 4
    13921668This option allows the administrator to chose what authentication methods
    1393 smbd
     1669\FCsmbd\F[]
    13941670will use when authenticating a user\&. This option defaults to sensible values based on
    13951671\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\&.
     
    14101686.sp
    14111687Default:
    1412 \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
     1688\fI\fIauth methods\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1689.sp
     1690Example:
     1691\fI\fIauth methods\fR\fR\fI = \fR\fI\FCguest sam winbind\F[]\fR\fI \fR
    14161692.RE
    14171693
     
    14261702.sp
    14271703Default:
    1428 \fI\fIavailable\fR\fR\fI = \fR\fIyes\fR\fI \fR
     1704\fI\fIavailable\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    14291705.RE
    14301706
     
    14401716.sp
    14411717For name service it causes
    1442 nmbd
     1718\FCnmbd\F[]
    14431719to bind to ports 137 and 138 on the interfaces listed in the
    14441720\m[blue]\fBinterfaces\fR\m[]
    14451721parameter\&.
    1446 nmbd
     1722\FCnmbd\F[]
    14471723also 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
    1448 nmbd
     1724\FCnmbd\F[]
    14491725will service name requests on all of these sockets\&. If
    14501726\m[blue]\fBbind interfaces only\fR\m[]
    14511727is set then
    1452 nmbd
     1728\FCnmbd\F[]
    14531729will 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
    14541730\m[blue]\fBinterfaces\fR\m[]
    14551731parameter list\&. As unicast packets are received on the other sockets it allows
    1456 nmbd
     1732\FCnmbd\F[]
    14571733to refuse to serve names to machines that send packets that arrive through any interfaces not listed in the
    14581734\m[blue]\fBinterfaces\fR\m[]
    14591735list\&. IP Source address spoofing does defeat this simple check, however, so it must not be used seriously as a security feature for
    1460 nmbd\&.
     1736\FCnmbd\F[]\&.
    14611737.sp
    14621738For file service it causes
     
    14651741\m[blue]\fBinterfaces\fR\m[]
    14661742parameter\&. This restricts the networks that
    1467 smbd
     1743\FCsmbd\F[]
    14681744will 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\&.
    14691745.sp
     
    14811757.sp
    14821758To change a users SMB password, the
    1483 smbpasswd
     1759\FCsmbpasswd\F[]
    14841760by default connects to the
    14851761\fIlocalhost \- 127\&.0\&.0\&.1\fR
     
    14911767\m[blue]\fBinterfaces\fR\m[]
    14921768parameter list then
    1493 smbpasswd
     1769\FC smbpasswd\F[]
    14941770will fail to connect in it\'s default mode\&.
    1495 smbpasswd
     1771\FCsmbpasswd\F[]
    14961772can be forced to use the primary IP interface of the local host by using its
    14971773\fBsmbpasswd\fR(8)
     
    15021778.sp
    15031779The
    1504 swat
     1780\FCswat\F[]
    15051781status page tries to connect with
    1506 smbd
     1782\FCsmbd\F[]
    15071783and
    1508 nmbd
     1784\FCnmbd\F[]
    15091785at the address
    15101786\fI127\&.0\&.0\&.1\fR
     
    15121788\fI127\&.0\&.0\&.1\fR
    15131789will cause
    1514 smbd
     1790\FC smbd\F[]
    15151791and
    1516 nmbd
     1792\FCnmbd\F[]
    15171793to always show "not running" even if they really are\&. This can prevent
    1518 swat
     1794\FC swat\F[]
    15191795from starting/stopping/restarting
    1520 smbd
     1796\FCsmbd\F[]
    15211797and
    1522 nmbd\&.
    1523 .sp
    1524 Default:
    1525 \fI\fIbind interfaces only\fR\fR\fI = \fR\fIno\fR\fI \fR
     1798\FCnmbd\F[]\&.
     1799.sp
     1800Default:
     1801\fI\fIbind interfaces only\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    15261802.RE
    15271803
     
    15401816.sp
    15411817Default:
    1542 \fI\fIblocking locks\fR\fR\fI = \fR\fIyes\fR\fI \fR
     1818\fI\fIblocking locks\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    15431819.RE
    15441820
     
    15561832.sp
    15571833Default:
    1558 \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
     1834\fI\fIblock size\fR\fR\fI = \fR\fI\FC1024\F[]\fR\fI \fR
     1835.sp
     1836Example:
     1837\fI\fIblock size\fR\fR\fI = \fR\fI\FC4096\F[]\fR\fI \fR
    15621838.RE
    15631839
     
    15771853.sp
    15781854Default:
    1579 \fI\fIbrowseable\fR\fR\fI = \fR\fIyes\fR\fI \fR
     1855\fI\fIbrowseable\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    15801856.RE
    15811857
     
    15871863\fBsmbd\fR(8)
    15881864will serve a browse list to a client doing a
    1589 NetServerEnum
     1865\FCNetServerEnum\F[]
    15901866call\&. Normally set to
    15911867\fByes\fR\&. You should never need to change this\&.
    15921868.sp
    15931869Default:
    1594 \fI\fIbrowse list\fR\fR\fI = \fR\fIyes\fR\fI \fR
     1870\fI\fIbrowse list\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    15951871.RE
    15961872
     
    16111887.sp
    16121888Default:
    1613 \fI\fIcase sensitive\fR\fR\fI = \fR\fIno\fR\fI \fR
     1889\fI\fIcase sensitive\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    16141890.RE
    16151891
     
    16231899.sp
    16241900Default:
    1625 \fI\fIchange notify\fR\fR\fI = \fR\fIyes\fR\fI \fR
     1901\fI\fIchange notify\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    16261902.RE
    16271903
     
    16331909\fIchange share command\fR
    16341910is used to define an external program or script which will modify an existing service definition in
    1635 smb\&.conf\&.
     1911\FCsmb\&.conf\F[]\&.
    16361912.sp
    16371913In order to successfully execute the
    16381914\fIchange share command\fR,
    1639 smbd
     1915\FCsmbd\F[]
    16401916requires that the administrator connects using a root account (i\&.e\&. uid == 0) or has the
    1641 SeDiskOperatorPrivilege\&. Scripts defined in the
     1917\FCSeDiskOperatorPrivilege\F[]\&. Scripts defined in the
    16421918\fIchange share command\fR
    16431919parameter are executed as root\&.
    16441920.sp
    16451921When executed,
    1646 smbd
     1922\FCsmbd\F[]
    16471923will automatically invoke the
    16481924\fIchange share command\fR
     
    16591935\fIconfigFile\fR
    16601936\- the location of the global
    1661 smb\&.conf
     1937\FCsmb\&.conf\F[]
    16621938file\&.
    16631939.RE
     
    17141990.sp
    17151991Default:
    1716 \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
     1992\fI\fIchange share command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     1993.sp
     1994Example:
     1995\fI\fIchange share command\fR\fR\fI = \fR\fI\FC/usr/local/bin/changeshare\F[]\fR\fI \fR
    17201996.RE
    17211997
     
    17292005.sp
    17302006Note: In the example directory is a sample program called
    1731 crackcheck
     2007\FCcrackcheck\F[]
    17322008that uses cracklib to check the password quality\&.
    17332009.sp
    17342010Default:
    1735 \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
     2011\fI\fIcheck password script\fR\fR\fI = \fR\fI\FCDisabled\F[]\fR\fI \fR
     2012.sp
     2013Example:
     2014\fI\fIcheck password script\fR\fR\fI = \fR\fI\FC/usr/local/sbin/crackcheck\F[]\fR\fI \fR
    17392015.RE
    17402016
     
    17502026.sp
    17512027Disabling this option will also disable the
    1752 client plaintext auth
     2028\FCclient plaintext auth\F[]
    17532029option\&.
    17542030.sp
    17552031Likewise, if the
    1756 client ntlmv2 auth
     2032\FCclient ntlmv2 auth\F[]
    17572033parameter is enabled, then only NTLMv2 logins will be attempted\&.
    17582034.sp
    17592035Default:
    1760 \fI\fIclient lanman auth\fR\fR\fI = \fR\fIno\fR\fI \fR
     2036\fI\fIclient lanman auth\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    17612037.RE
    17622038
     
    17792055are only available if Samba has been compiled against a modern OpenLDAP version (2\&.3\&.x or higher)\&.
    17802056.sp
    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\&.
     2057This 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[]
     2058\FCNTDS\eParameters\eLDAPServerIntegrity\F[]" on the Windows server side\&.
    17832059.sp
    17842060Depending on the used KRB5 library (MIT and older Heimdal versions) it is possible that the message "integrity only" is not supported\&. In this case,
     
    17952071.sp
    17962072Default:
    1797 \fI\fIclient ldap sasl wrapping\fR\fR\fI = \fR\fIplain\fR\fI \fR
     2073\fI\fIclient ldap sasl wrapping\fR\fR\fI = \fR\fI\FCplain\F[]\fR\fI \fR
    17982074.RE
    17992075
     
    18092085.sp
    18102086Similarly, if enabled, NTLMv1,
    1811 client lanman auth
     2087\FCclient lanman auth\F[]
    18122088and
    1813 client plaintext auth
     2089\FCclient plaintext auth\F[]
    18142090authentication will be disabled\&. This also disables share\-level authentication\&.
    18152091.sp
    18162092If disabled, an NTLM response (and possibly a LANMAN response) will be sent by the client, depending on the value of
    1817 client lanman auth\&.
     2093\FCclient lanman auth\F[]\&.
    18182094.sp
    18192095Note that some sites (particularly those following \'best practice\' security polices) only allow NTLMv2 responses, and not the weaker LM or NTLM\&.
    18202096.sp
    18212097Default:
    1822 \fI\fIclient ntlmv2 auth\fR\fR\fI = \fR\fIno\fR\fI \fR
     2098\fI\fIclient ntlmv2 auth\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    18232099.RE
    18242100
     
    18302106.sp
    18312107Default:
    1832 \fI\fIclient plaintext auth\fR\fR\fI = \fR\fIno\fR\fI \fR
     2108\fI\fIclient plaintext auth\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    18332109.RE
    18342110
     
    18462122.sp
    18472123Default:
    1848 \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
     2124\fI\fIclient schannel\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
     2125.sp
     2126Example:
     2127\fI\fIclient schannel\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    18522128.RE
    18532129
     
    18652141.sp
    18662142Default:
    1867 \fI\fIclient signing\fR\fR\fI = \fR\fIauto\fR\fI \fR
     2143\fI\fIclient signing\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
    18682144.RE
    18692145
     
    18752151.sp
    18762152Default:
    1877 \fI\fIclient use spnego\fR\fR\fI = \fR\fIyes\fR\fI \fR
     2153\fI\fIclient use spnego\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    18782154.RE
    18792155
     
    18852161.sp
    18862162Default:
    1887 \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
     2163\fI\fIcluster addresses\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2164.sp
     2165Example:
     2166\fI\fIcluster addresses\fR\fR\fI = \fR\fI\FC10\&.0\&.0\&.1 10\&.0\&.0\&.2 10\&.0\&.0\&.3\F[]\fR\fI \fR
    18912167.RE
    18922168
     
    18982174.sp
    18992175Set this parameter to
    1900 yes
     2176\FCyes\F[]
    19012177only if you have a cluster setup with ctdb running\&.
    19022178.sp
    19032179Default:
    1904 \fI\fIclustering\fR\fR\fI = \fR\fIno\fR\fI \fR
     2180\fI\fIclustering\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    19052181.RE
    19062182
     
    19102186.RS 4
    19112187This 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
    1912 net view
     2188\FCnet view\F[]
    19132189to list what shares are available\&.
    19142190.sp
     
    19182194.sp
    19192195Default:
    1920 \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
     2196\fI\fIcomment\fR\fR\fI = \fR\fI\FC # No comment\F[]\fR\fI \fR
     2197.sp
     2198Example:
     2199\fI\fIcomment\fR\fR\fI = \fR\fI\FCFred\'s Files\F[]\fR\fI \fR
    19242200.RE
    19252201
     
    19422218.sp
    19432219Default:
    1944 \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
     2220\fI\fIconfig backend\fR\fR\fI = \fR\fI\FCfile\F[]\fR\fI \fR
     2221.sp
     2222Example:
     2223\fI\fIconfig backend\fR\fR\fI = \fR\fI\FCregistry\F[]\fR\fI \fR
    19482224.RE
    19492225
     
    19532229.RS 4
    19542230This allows you to override the config file to use, instead of the default (usually
    1955 smb\&.conf)\&. There is a chicken and egg problem here as this option is set in the config file!
     2231\FCsmb\&.conf\F[])\&. There is a chicken and egg problem here as this option is set in the config file!
    19562232.sp
    19572233For 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\&.
     
    19642240.sp
    19652241Example:
    1966 \fI\fIconfig file\fR\fR\fI = \fR\fI/usr/local/samba/lib/smb\&.conf\&.%m\fR\fI \fR
     2242\fI\fIconfig file\fR\fR\fI = \fR\fI\FC/usr/local/samba/lib/smb\&.conf\&.%m\F[]\fR\fI \fR
    19672243.RE
    19682244
     
    19762252.sp
    19772253Default:
    1978 \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
     2254\fI\fIcopy\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2255.sp
     2256Example:
     2257\fI\fIcopy\fR\fR\fI = \fR\fI\FCotherservice\F[]\fR\fI \fR
    19822258.RE
    19832259
     
    19992275.sp
    20002276The default value of this parameter removes the
    2001 group
     2277\FCgroup\F[]
    20022278and
    2003 other
     2279\FCother\F[]
    20042280write and execute bits from the UNIX modes\&.
    20052281.sp
     
    20162292.sp
    20172293Default:
    2018 \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
     2294\fI\fIcreate mask\fR\fR\fI = \fR\fI\FC0744\F[]\fR\fI \fR
     2295.sp
     2296Example:
     2297\fI\fIcreate mask\fR\fR\fI = \fR\fI\FC0775\F[]\fR\fI \fR
    20222298.RE
    20232299
     
    20352311.sp
    20362312Default:
    2037 \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
     2313\fI\fIcsc policy\fR\fR\fI = \fR\fI\FCmanual\F[]\fR\fI \fR
     2314.sp
     2315Example:
     2316\fI\fIcsc policy\fR\fR\fI = \fR\fI\FCprograms\F[]\fR\fI \fR
    20412317.RE
    20422318
     
    20462322.RS 4
    20472323If you set
    2048 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
     2324\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\&.
     2325.sp
     2326Default:
     2327\fI\fIctdbd socket\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2328.sp
     2329Example:
     2330\fI\fIctdbd socket\fR\fR\fI = \fR\fI\FC/tmp/ctdb\&.socket\F[]\fR\fI \fR
    20552331.RE
    20562332
     
    20672343.sp
    20682344Default:
    2069 \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
     2345\fI\fIcups connection timeout\fR\fR\fI = \fR\fI\FC30\F[]\fR\fI \fR
     2346.sp
     2347Example:
     2348\fI\fIcups connection timeout\fR\fR\fI = \fR\fI\FC60\F[]\fR\fI \fR
    20732349.RE
    20742350
     
    20872363\fBraw\fR
    20882364if your CUPS server
    2089 error_log
     2365\FCerror_log\F[]
    20902366file 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
    2091 /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
     2367\FC/etc/cups/mime\&.{convs,types}\F[]\&.
     2368.sp
     2369Default:
     2370\fI\fIcups options\fR\fR\fI = \fR\fI\FC""\F[]\fR\fI \fR
     2371.sp
     2372Example:
     2373\fI\fIcups options\fR\fR\fI = \fR\fI\FC"raw media=a4"\F[]\fR\fI \fR
    20982374.RE
    20992375
     
    21082384.sp
    21092385If set, this option overrides the ServerName option in the CUPS
    2110 client\&.conf\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&.
     2386\FCclient\&.conf\F[]\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&.
    21112387.sp
    21122388Optionally, 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\&.
    21132389.sp
    21142390Default:
    2115 \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
     2391\fI\fIcups server\fR\fR\fI = \fR\fI\FC""\F[]\fR\fI \fR
     2392.sp
     2393Example:
     2394\fI\fIcups server\fR\fR\fI = \fR\fI\FCmycupsserver\F[]\fR\fI \fR
     2395.sp
     2396Example:
     2397\fI\fIcups server\fR\fR\fI = \fR\fI\FCmycupsserver:1631\F[]\fR\fI \fR
    21222398.RE
    21232399
     
    21372413.sp
    21382414Default:
    2139 \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
     2415\fI\fIdeadtime\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     2416.sp
     2417Example:
     2418\fI\fIdeadtime\fR\fR\fI = \fR\fI\FC15\F[]\fR\fI \fR
    21432419.RE
    21442420
     
    21532429.sp
    21542430Default:
    2155 \fI\fIdebug class\fR\fR\fI = \fR\fIno\fR\fI \fR
     2431\fI\fIdebug class\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    21562432.RE
    21572433
     
    21672443.sp
    21682444Default:
    2169 \fI\fIdebug hires timestamp\fR\fR\fI = \fR\fIno\fR\fI \fR
     2445\fI\fIdebug hires timestamp\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    21702446.RE
    21712447
     
    21822458.sp
    21832459Default:
    2184 \fI\fIdebug pid\fR\fR\fI = \fR\fIno\fR\fI \fR
     2460\fI\fIdebug pid\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    21852461.RE
    21862462
     
    21982474.sp
    21992475Default:
    2200 \fI\fIdebug prefix timestamp\fR\fR\fI = \fR\fIno\fR\fI \fR
     2476\fI\fIdebug prefix timestamp\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    22012477.RE
    22022478
     
    22182494.sp
    22192495Default:
    2220 \fI\fIdebug timestamp\fR\fR\fI = \fR\fIyes\fR\fI \fR
     2496\fI\fIdebug timestamp\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    22212497.RE
    22222498
     
    22322508.sp
    22332509Default:
    2234 \fI\fIdebug uid\fR\fR\fI = \fR\fIno\fR\fI \fR
     2510\fI\fIdebug uid\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    22352511.RE
    22362512
     
    22452521.sp
    22462522Default:
    2247 \fI\fIdefault case\fR\fR\fI = \fR\fIlower\fR\fI \fR
     2523\fI\fIdefault case\fR\fR\fI = \fR\fI\FClower\F[]\fR\fI \fR
    22482524.RE
    22492525
     
    22592535.sp
    22602536This 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
    2261 default devmode = yes
     2537\FCdefault devmode = yes\F[]
    22622538will instruct smbd to generate a default one\&.
    22632539.sp
     
    22662542.sp
    22672543Default:
    2268 \fI\fIdefault devmode\fR\fR\fI = \fR\fIyes\fR\fI \fR
     2544\fI\fIdefault devmode\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    22692545.RE
    22702546
     
    22992575.sp
    23002576Default:
    2301 \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
     2577\fI\fIdefault service\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2578.sp
     2579Example:
     2580\fI\fIdefault service\fR\fR\fI = \fR\fI\FCpub\F[]\fR\fI \fR
    23052581.RE
    23062582
     
    23162592.sp
    23172593Default:
    2318 \fI\fIdefer sharing violations\fR\fR\fI = \fR\fITrue\fR\fI \fR
     2594\fI\fIdefer sharing violations\fR\fR\fI = \fR\fI\FCTrue\F[]\fR\fI \fR
    23192595.RE
    23202596
     
    23312607.sp
    23322608Default:
    2333 \fI\fIdelete group script\fR\fR\fI = \fR\fI\fR\fI \fR
     2609\fI\fIdelete group script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    23342610.RE
    23352611
     
    23432619\m[blue]\fBdeleteprinter command\fR\m[]
    23442620defines a script to be run which will perform the necessary operations for removing the printer from the print system and from
    2345 smb\&.conf\&.
     2621\FCsmb\&.conf\F[]\&.
    23462622.sp
    23472623The
     
    23532629\m[blue]\fBdeleteprinter command\fR\m[]
    23542630has been executed,
    2355 smbd
     2631\FCsmbd\F[]
    23562632will reparse the
    2357 smb\&.conf
     2633\FC smb\&.conf\F[]
    23582634to check that the associated printer no longer exists\&. If the sharename is still valid, then
    2359 smbd
     2635\FCsmbd \F[]
    23602636will return an ACCESS_DENIED error to the client\&.
    23612637.sp
    23622638Default:
    2363 \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
     2639\fI\fIdeleteprinter command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2640.sp
     2641Example:
     2642\fI\fIdeleteprinter command\fR\fR\fI = \fR\fI\FC/usr/bin/removeprinter\F[]\fR\fI \fR
    23672643.RE
    23682644
     
    23762652.sp
    23772653Default:
    2378 \fI\fIdelete readonly\fR\fR\fI = \fR\fIno\fR\fI \fR
     2654\fI\fIdelete readonly\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    23792655.RE
    23802656
     
    23862662\fIdelete share command\fR
    23872663is used to define an external program or script which will remove an existing service definition from
    2388 smb\&.conf\&.
     2664\FCsmb\&.conf\F[]\&.
    23892665.sp
    23902666In order to successfully execute the
    23912667\fIdelete share command\fR,
    2392 smbd
     2668\FCsmbd\F[]
    23932669requires that the administrator connects using a root account (i\&.e\&. uid == 0) or has the
    2394 SeDiskOperatorPrivilege\&. Scripts defined in the
     2670\FCSeDiskOperatorPrivilege\F[]\&. Scripts defined in the
    23952671\fIdelete share command\fR
    23962672parameter are executed as root\&.
    23972673.sp
    23982674When executed,
    2399 smbd
     2675\FCsmbd\F[]
    24002676will automatically invoke the
    24012677\fIdelete share command\fR
     
    24122688\fIconfigFile\fR
    24132689\- the location of the global
    2414 smb\&.conf
     2690\FCsmb\&.conf\F[]
    24152691file\&.
    24162692.RE
     
    24322708.sp
    24332709Default:
    2434 \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
     2710\fI\fIdelete share command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2711.sp
     2712Example:
     2713\fI\fIdelete share command\fR\fR\fI = \fR\fI\FC/usr/local/bin/delshare\F[]\fR\fI \fR
    24382714.RE
    24392715
     
    24512727.sp
    24522728Default:
    2453 \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
     2729\fI\fIdelete user from group script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2730.sp
     2731Example:
     2732\fI\fIdelete user from group script\fR\fR\fI = \fR\fI\FC/usr/sbin/deluser %u %g\F[]\fR\fI \fR
    24572733.RE
    24582734
     
    24662742.sp
    24672743This script is called when a remote client removes a user from the server, normally using \'User Manager for Domains\' or
    2468 rpcclient\&.
     2744\FCrpcclient\F[]\&.
    24692745.sp
    24702746This script should delete the given UNIX username\&.
    24712747.sp
    24722748Default:
    2473 \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
     2749\fI\fIdelete user script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     2750.sp
     2751Example:
     2752\fI\fIdelete user script\fR\fR\fI = \fR\fI\FC/usr/local/samba/bin/del_user %u\F[]\fR\fI \fR
    24772753.RE
    24782754
     
    24892765If this option is set to
    24902766\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\&.
    2491 \&.AppleDouble)
     2767\FC\&.AppleDouble\F[])
    24922768.sp
    24932769Setting
     
    24962772.sp
    24972773Default:
    2498 \fI\fIdelete veto files\fR\fR\fI = \fR\fIno\fR\fI \fR
     2774\fI\fIdelete veto files\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    24992775.RE
    25002776
     
    25162792.sp
    25172793Example:
    2518 \fI\fIdfree cache time\fR\fR\fI = \fR\fIdfree cache time = 60\fR\fI \fR
     2794\fI\fIdfree cache time\fR\fR\fI = \fR\fI\FCdfree cache time = 60\F[]\fR\fI \fR
    25192795.RE
    25202796
     
    25342810.sp
    25352811The external program will be passed a single parameter indicating a directory in the filesystem being queried\&. This will typically consist of the string
    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\&.
     2812\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\&.
    25372813.sp
    25382814Note: Your script should
     
    25452821.RS 4
    25462822.\}
     2823.fam C
     2824.ps -1
    25472825.nf
     2826.BB lightgray
    25482827 
    25492828#!/bin/sh
    25502829df $1 | tail \-1 | awk \'{print $(NF\-4),$(NF\-2)}\'
     2830.EB lightgray
    25512831.fi
     2832.fam
     2833.ps +1
    25522834.if n \{\
    25532835.RE
     
    25592841.RS 4
    25602842.\}
     2843.fam C
     2844.ps -1
    25612845.nf
     2846.BB lightgray
    25622847 
    25632848#!/bin/sh
    25642849/usr/bin/df \-k $1 | tail \-1 | awk \'{print $3" "$5}\'
     2850.EB lightgray
    25652851.fi
     2852.fam
     2853.ps +1
    25662854.if n \{\
    25672855.RE
     
    25752863.sp
    25762864Example:
    2577 \fI\fIdfree command\fR\fR\fI = \fR\fI/usr/local/samba/bin/dfree\fR\fI \fR
     2865\fI\fIdfree command\fR\fR\fI = \fR\fI\FC/usr/local/samba/bin/dfree\F[]\fR\fI \fR
    25782866.RE
    25792867
     
    26062894.sp
    26072895Default:
    2608 \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
     2896\fI\fIdirectory mask\fR\fR\fI = \fR\fI\FC0755\F[]\fR\fI \fR
     2897.sp
     2898Example:
     2899\fI\fIdirectory mask\fR\fR\fI = \fR\fI\FC0775\F[]\fR\fI \fR
    26122900.RE
    26132901
     
    26302918.sp
    26312919Default:
    2632 \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
     2920\fI\fIdirectory security mask\fR\fR\fI = \fR\fI\FC0777\F[]\fR\fI \fR
     2921.sp
     2922Example:
     2923\fI\fIdirectory security mask\fR\fR\fI = \fR\fI\FC0700\F[]\fR\fI \fR
    26362924.RE
    26372925
     
    26452933.\}
    26462934.RS 4
     2935.BM yellow
    26472936.it 1 an-trap
    26482937.nr an-no-space-flag 1
     
    26552944Clients that only support netbios won\'t be able to see your samba server when netbios support is disabled\&.
    26562945.sp .5v
    2657 .RE
    2658 Default:
    2659 \fI\fIdisable netbios\fR\fR\fI = \fR\fIno\fR\fI \fR
     2946.EM yellow
     2947.RE
     2948Default:
     2949\fI\fIdisable netbios\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    26602950.RE
    26612951
     
    26682958.sp
    26692959Default:
    2670 \fI\fIdisable spoolss\fR\fR\fI = \fR\fIno\fR\fI \fR
     2960\fI\fIdisable spoolss\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    26712961.RE
    26722962
     
    26792969.sp
    26802970Default:
    2681 \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
     2971\fI\fIdisplay charset\fR\fR\fI = \fR\fI\FC"LOCALE" or "ASCII" (depending on the system)\F[]\fR\fI \fR
     2972.sp
     2973Example:
     2974\fI\fIdisplay charset\fR\fR\fI = \fR\fI\FCUTF8\F[]\fR\fI \fR
    26852975.RE
    26862976
     
    26962986.sp
    26972987Default:
    2698 \fI\fIdmapi support\fR\fR\fI = \fR\fIno\fR\fI \fR
     2988\fI\fIdmapi support\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    26992989.RE
    27002990
     
    27092999Note 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\&.
    27103000.sp
    2711 nmbd
     3001\FCnmbd\F[]
    27123002spawns a second copy of itself to do the DNS name lookup requests, as doing a name lookup is a blocking action\&.
    27133003.sp
    27143004Default:
    2715 \fI\fIdns proxy\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3005\fI\fIdns proxy\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    27163006.RE
    27173007
     
    27263016.sp
    27273017Default:
    2728 \fI\fIdomain logons\fR\fR\fI = \fR\fIno\fR\fI \fR
     3018\fI\fIdomain logons\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    27293019.RE
    27303020
     
    27363026\fBsmbd\fR(8)
    27373027to enable WAN\-wide browse list collation\&. Setting this option causes
    2738 nmbd
     3028\FCnmbd\F[]
    27393029to claim a special domain specific NetBIOS name that identifies it as a domain master browser for its given
    27403030\m[blue]\fBworkgroup\fR\m[]\&. Local master browsers in the same
    27413031\m[blue]\fBworkgroup\fR\m[]
    27423032on broadcast\-isolated subnets will give this
    2743 nmbd
     3033\FCnmbd\F[]
    27443034their local browse lists, and then ask
    27453035\fBsmbd\fR(8)
     
    27513041\m[blue]\fBworkgroup\fR\m[]
    27523042by 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
    2753 nmbd
     3043\FCnmbd\F[]
    27543044claims the special name for a
    27553045\m[blue]\fBworkgroup\fR\m[]
     
    27713061.sp
    27723062Default:
    2773 \fI\fIdomain master\fR\fR\fI = \fR\fIauto\fR\fI \fR
     3063\fI\fIdomain master\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
    27743064.RE
    27753065
     
    27793069.RS 4
    27803070There are certain directories on some systems (e\&.g\&., the
    2781 /proc
     3071\FC/proc\F[]
    27823072tree 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\&.
    27833073.sp
    27843074Note that Samba can be very fussy about the exact format of the "dont descend" entries\&. For example you may need
    2785 \&./proc
     3075\FC \&./proc\F[]
    27863076instead of just
    2787 /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
     3077\FC/proc\F[]\&. Experimentation is the best policy :\-)
     3078.sp
     3079Default:
     3080\fI\fIdont descend\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3081.sp
     3082Example:
     3083\fI\fIdont descend\fR\fR\fI = \fR\fI\FC/proc,/dev\F[]\fR\fI \fR
    27943084.RE
    27953085
     
    28143104.sp
    28153105Default:
    2816 \fI\fIdos filemode\fR\fR\fI = \fR\fIno\fR\fI \fR
     3106\fI\fIdos filemode\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    28173107.RE
    28183108
     
    28273117.sp
    28283118Default:
    2829 \fI\fIdos filetime resolution\fR\fR\fI = \fR\fIno\fR\fI \fR
     3119\fI\fIdos filetime resolution\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    28303120.RE
    28313121
     
    28353125.RS 4
    28363126Under 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
    2837 smbd
     3127\FCsmbd\F[]
    28383128is acting on behalf of is not the file owner\&. Setting this option to
    28393129\fB yes\fR
     
    28433133.sp
    28443134Default:
    2845 \fI\fIdos filetimes\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3135\fI\fIdos filetimes\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    28463136.RE
    28473137
     
    28553145.sp
    28563146Default:
    2857 \fI\fIea support\fR\fR\fI = \fR\fIno\fR\fI \fR
     3147\fI\fIea support\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    28583148.RE
    28593149
     
    28653155.sp
    28663156Default:
    2867 \fI\fIenable asu support\fR\fR\fI = \fR\fIno\fR\fI \fR
     3157\fI\fIenable asu support\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    28683158.RE
    28693159
     
    28763166.sp
    28773167Default:
    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
     3168\fI\fIenable core files\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
     3169.sp
     3170Example:
     3171\fI\fIenable core files\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    28823172.RE
    28833173
     
    28873177.RS 4
    28883178This parameter controls whether or not smbd will honor privileges assigned to specific SIDs via either
    2889 net rpc rights
     3179\FCnet rpc rights\F[]
    28903180or 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\&.
    28913181.sp
     
    28953185.sp
    28963186Default:
    2897 \fI\fIenable privileges\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3187\fI\fIenable privileges\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    28983188.RE
    28993189
     
    29173207\m[blue]\fBsecurity = [server|domain|ads]\fR\m[]
    29183208parameter which causes
    2919 smbd
     3209\FCsmbd\F[]
    29203210to authenticate against another server\&.
    29213211.sp
    29223212Default:
    2923 \fI\fIencrypt passwords\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3213\fI\fIencrypt passwords\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    29243214.RE
    29253215
     
    29373227.sp
    29383228Default:
    2939 \fI\fIenhanced browsing\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3229\fI\fIenhanced browsing\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    29403230.RE
    29413231
     
    29443234.PP
    29453235.RS 4
    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
     3236The 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[]
    29473237does not use a port name for anything) other than the default
    29483238\fB"Samba Printer Port"\fR, you can define
     
    29513241.sp
    29523242Default:
    2953 \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
     3243\fI\fIenumports command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3244.sp
     3245Example:
     3246\fI\fIenumports command\fR\fR\fI = \fR\fI\FC/usr/bin/listports\F[]\fR\fI \fR
    29573247.RE
    29583248
     
    29623252.RS 4
    29633253This 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
    2964 $(lockdir)/eventlog\&.
     3254\FC$(lockdir)/eventlog\F[]\&.
    29653255.sp
    29663256The administrator must use an external process to parse the normal Unix logs such as
    2967 /var/log/messages
     3257\FC/var/log/messages\F[]
    29683258and write then entries to the eventlog tdb files\&. Refer to the eventlogadm(8) utility for how to write eventlog entries\&.
    29693259.sp
    29703260Default:
    2971 \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
     3261\fI\fIeventlog list\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3262.sp
     3263Example:
     3264\fI\fIeventlog list\fR\fR\fI = \fR\fI\FCSecurity Application Syslog Apache\F[]\fR\fI \fR
    29753265.RE
    29763266
     
    29863276.sp
    29873277Default:
    2988 \fI\fIfake directory create times\fR\fR\fI = \fR\fIno\fR\fI \fR
     3278\fI\fIfake directory create times\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    29893279.RE
    29903280
     
    29963286.sp
    29973287When you set
    2998 fake oplocks = yes,
     3288\FCfake oplocks = yes\F[],
    29993289\fBsmbd\fR(8)
    30003290will always grant oplock requests no matter how many clients are using the file\&.
     
    30073297.sp
    30083298Default:
    3009 \fI\fIfake oplocks\fR\fR\fI = \fR\fIno\fR\fI \fR
     3299\fI\fIfake oplocks\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    30103300.RE
    30113301
     
    30193309\fBno\fR
    30203310prevents 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
    3021 /etc/passwd
     3311\FC/etc/passwd\F[]
    30223312in their home directory for instance\&. However it will slow filename lookups down slightly\&.
    30233313.sp
    30243314This option is enabled (i\&.e\&.
    3025 smbd
     3315\FCsmbd\F[]
    30263316will follow symbolic links) by default\&.
    30273317.sp
    30283318Default:
    3029 \fI\fIfollow symlinks\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3319\fI\fIfollow symlinks\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    30303320.RE
    30313321
     
    30433333.sp
    30443334Default:
    3045 \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
     3335\fI\fIforce create mode\fR\fR\fI = \fR\fI\FC000\F[]\fR\fI \fR
     3336.sp
     3337Example:
     3338\fI\fIforce create mode\fR\fR\fI = \fR\fI\FC0755\F[]\fR\fI \fR
    30493339.RE
    30503340
     
    30623352.sp
    30633353Default:
    3064 \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
     3354\fI\fIforce directory mode\fR\fR\fI = \fR\fI\FC000\F[]\fR\fI \fR
     3355.sp
     3356Example:
     3357\fI\fIforce directory mode\fR\fR\fI = \fR\fI\FC0755\F[]\fR\fI \fR
    30683358.RE
    30693359
     
    30843374.\}
    30853375.RS 4
     3376.BM yellow
    30863377.it 1 an-trap
    30873378.nr an-no-space-flag 1
     
    30943385Users 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\&.
    30953386.sp .5v
    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
     3387.EM yellow
     3388.RE
     3389Default:
     3390\fI\fIforce directory security mode\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     3391.sp
     3392Example:
     3393\fI\fIforce directory security mode\fR\fR\fI = \fR\fI\FC700\F[]\fR\fI \fR
    31023394.RE
    31033395
     
    31173409.sp
    31183410In 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
    3119 force group = +sys
     3411\FCforce group = +sys\F[]
    31203412means 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\&.
    31213413.sp
     
    31283420.sp
    31293421Default:
    3130 \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
     3422\fI\fIforce group\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3423.sp
     3424Example:
     3425\fI\fIforce group\fR\fR\fI = \fR\fI\FCagroup\F[]\fR\fI \fR
    31343426.RE
    31353427
     
    31393431.RS 4
    31403432When printing from Windows NT (or later), each printer in
    3141 smb\&.conf
     3433\FCsmb\&.conf\F[]
    31423434has 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
    31433435\fIprinter name\fR
     
    31523444.sp
    31533445Default:
    3154 \fI\fIforce printername\fR\fR\fI = \fR\fIno\fR\fI \fR
     3446\fI\fIforce printername\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    31553447.RE
    31563448
     
    31723464.sp
    31733465Default:
    3174 \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
     3466\fI\fIforce security mode\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     3467.sp
     3468Example:
     3469\fI\fIforce security mode\fR\fR\fI = \fR\fI\FC700\F[]\fR\fI \fR
    31783470.RE
    31793471
     
    31893481.sp
    31903482Default:
    3191 \fI\fIforce unknown acl user\fR\fR\fI = \fR\fIno\fR\fI \fR
     3483\fI\fIforce unknown acl user\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    31923484.RE
    31933485
     
    32033495.sp
    32043496Default:
    3205 \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
     3497\fI\fIforce user\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3498.sp
     3499Example:
     3500\fI\fIforce user\fR\fR\fI = \fR\fI\FCauser\F[]\fR\fI \fR
    32093501.RE
    32103502
     
    32243516.sp
    32253517Default:
    3226 \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
     3518\fI\fIfstype\fR\fR\fI = \fR\fI\FCNTFS\F[]\fR\fI \fR
     3519.sp
     3520Example:
     3521\fI\fIfstype\fR\fR\fI = \fR\fI\FCSamba\F[]\fR\fI \fR
    32303522.RE
    32313523
     
    32353527.RS 4
    32363528The
    3237 get quota command
     3529\FCget quota command\F[]
    32383530should only be used whenever there is no operating system API available from the OS that samba can use\&.
    32393531.sp
    32403532This option is only available you have compiled Samba with the
    3241 \-\-with\-sys\-quotas
     3533\FC\-\-with\-sys\-quotas\F[]
    32423534option or on Linux with
    3243 \-\-with\-quotas
     3535\FC\-\-with\-quotas\F[]
    32443536and a working quota api was found in the system\&.
    32453537.sp
     
    34183710.RE
    34193711Default:
    3420 \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
     3712\fI\fIget quota command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3713.sp
     3714Example:
     3715\fI\fIget quota command\fR\fR\fI = \fR\fI\FC/usr/local/sbin/query_quota\F[]\fR\fI \fR
    34243716.RE
    34253717
     
    34343726.sp
    34353727Default:
    3436 \fI\fIgetwd cache\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3728\fI\fIgetwd cache\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    34373729.RE
    34383730
     
    34463738.sp
    34473739On 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
    3448 su \-
     3740\FCsu \-\F[]
    34493741command) and trying to print using the system print command such as
    3450 lpr(1)
     3742\FClpr(1)\F[]
    34513743or
    3452 lp(1)\&.
     3744\FC lp(1)\F[]\&.
    34533745.sp
    34543746This parameter does not accept % macros, because many parts of the system require this value to be constant for correct operation\&.
    34553747.sp
    34563748Default:
    3457 \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
     3749\fI\fIguest account\fR\fR\fI = \fR\fI\FCnobody # default can be changed at compile\-time\F[]\fR\fI \fR
     3750.sp
     3751Example:
     3752\fI\fIguest account\fR\fR\fI = \fR\fI\FCftp\F[]\fR\fI \fR
    34613753.RE
    34623754
     
    34863778.sp
    34873779Default:
    3488 \fI\fIguest ok\fR\fR\fI = \fR\fIno\fR\fI \fR
     3780\fI\fIguest ok\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    34893781.RE
    34903782
     
    35123804.sp
    35133805Default:
    3514 \fI\fIguest only\fR\fR\fI = \fR\fIno\fR\fI \fR
     3806\fI\fIguest only\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    35153807.RE
    35163808
     
    35223814.sp
    35233815Default:
    3524 \fI\fIhide dot files\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3816\fI\fIhide dot files\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    35253817.RE
    35263818
     
    35483840.RS 4
    35493841.\}
     3842.fam C
     3843.ps -1
    35503844.nf
     3845.if t \{\
     3846.sp -1
     3847.\}
     3848.BB lightgray adjust-for-leading-newline
     3849.sp -1
     3850
    35513851hide files = /\&.*/DesktopFolderDB/TrashFor%m/resource\&.frk/
     3852.EB lightgray adjust-for-leading-newline
     3853.if t \{\
     3854.sp 1
     3855.\}
    35523856.fi
     3857.fam
     3858.ps +1
    35533859.if n \{\
    35543860.RE
     
    35563862.sp
    35573863Default:
    3558 \fI\fIhide files\fR\fR\fI = \fR\fI # no file are hidden\fR\fI \fR
     3864\fI\fIhide files\fR\fR\fI = \fR\fI\FC # no file are hidden\F[]\fR\fI \fR
    35593865.RE
    35603866
     
    35663872.sp
    35673873Default:
    3568 \fI\fIhide special files\fR\fR\fI = \fR\fIno\fR\fI \fR
     3874\fI\fIhide special files\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    35693875.RE
    35703876
     
    35763882.sp
    35773883Default:
    3578 \fI\fIhide unreadable\fR\fR\fI = \fR\fIno\fR\fI \fR
     3884\fI\fIhide unreadable\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    35793885.RE
    35803886
     
    35863892.sp
    35873893Default:
    3588 \fI\fIhide unwriteable files\fR\fR\fI = \fR\fIno\fR\fI \fR
     3894\fI\fIhide unwriteable files\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    35893895.RE
    35903896
     
    36053911.RS 4
    36063912.\}
     3913.fam C
     3914.ps -1
    36073915.nf
    3608 username server:/some/file/system
     3916.if t \{\
     3917.sp -1
     3918.\}
     3919.BB lightgray adjust-for-leading-newline
     3920.sp -1
     3921
     3922\FCusername server:/some/file/system\F[]
     3923.EB lightgray adjust-for-leading-newline
     3924.if t \{\
     3925.sp 1
     3926.\}
    36093927.fi
     3928.fam
     3929.ps +1
    36103930.if n \{\
    36113931.RE
     
    36173937.\}
    36183938.RS 4
     3939.BM yellow
    36193940.it 1 an-trap
    36203941.nr an-no-space-flag 1
     
    36273948A working NIS client is required on the system for this option to work\&.
    36283949.sp .5v
    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
     3950.EM yellow
     3951.RE
     3952Default:
     3953\fI\fIhomedir map\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     3954.sp
     3955Example:
     3956\fI\fIhomedir map\fR\fR\fI = \fR\fI\FCamd\&.homedir\F[]\fR\fI \fR
    36353957.RE
    36363958
     
    36473969.sp
    36483970Default:
    3649 \fI\fIhost msdfs\fR\fR\fI = \fR\fIyes\fR\fI \fR
     3971\fI\fIhost msdfs\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    36503972.RE
    36513973
     
    36553977.RS 4
    36563978Specifies 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
    3657 hosts deny
     3979\FChosts deny\F[]
    36583980and
    3659 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
     3981\FChosts allow\F[]\&.
     3982.sp
     3983Default:
     3984\fI\fIhostname lookups\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
     3985.sp
     3986Example:
     3987\fI\fIhostname lookups\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    36663988.RE
    36673989
     
    36864008.sp
    36874009You 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
    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\&.
     4010\FCallow hosts = 150\&.203\&.5\&.\F[]\&. The full syntax of the list is described in the man page
     4011\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\&.
    36904012.sp
    36914013Note that the localhost address 127\&.0\&.0\&.1 will always be allowed access unless specifically denied by a
     
    36994021Example 1: allow all IPs in 150\&.203\&.*\&.*; except one
    37004022.sp
    3701 hosts allow = 150\&.203\&. EXCEPT 150\&.203\&.6\&.66
     4023\FChosts allow = 150\&.203\&. EXCEPT 150\&.203\&.6\&.66\F[]
    37024024.sp
    37034025Example 2: allow hosts that match the given network/netmask
    37044026.sp
    3705 hosts allow = 150\&.203\&.15\&.0/255\&.255\&.255\&.0
     4027\FChosts allow = 150\&.203\&.15\&.0/255\&.255\&.255\&.0\F[]
    37064028.sp
    37074029Example 3: allow a couple of hosts
    37084030.sp
    3709 hosts allow = lapland, arvidsjaur
     4031\FChosts allow = lapland, arvidsjaur\F[]
    37104032.sp
    37114033Example 4: allow only hosts in NIS netgroup "foonet", but deny access from one particular host
    37124034.sp
    3713 hosts allow = @foonet
    3714 .sp
    3715 hosts deny = pirate
     4035\FChosts allow = @foonet\F[]
     4036.sp
     4037\FChosts deny = pirate\F[]
    37164038.if n \{\
    37174039.sp
    37184040.\}
    37194041.RS 4
     4042.BM yellow
    37204043.it 1 an-trap
    37214044.nr an-no-space-flag 1
     
    37284051Note that access still requires suitable user\-level passwords\&.
    37294052.sp .5v
     4053.EM yellow
    37304054.RE
    37314055See
     
    37344058.sp
    37354059Default:
    3736 \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
     4060\fI\fIhosts allow\fR\fR\fI = \fR\fI\FC # none (i\&.e\&., all hosts permitted access)\F[]\fR\fI \fR
     4061.sp
     4062Example:
     4063\fI\fIhosts allow\fR\fR\fI = \fR\fI\FC150\&.203\&.5\&. myhost\&.mynet\&.edu\&.au\F[]\fR\fI \fR
    37404064.RE
    37414065
     
    37614085.sp
    37624086In the event that it is necessary to deny all by default, use the keyword ALL (or the netmask
    3763 0\&.0\&.0\&.0/0) and then explicitly specify to the
     4087\FC0\&.0\&.0\&.0/0\F[]) and then explicitly specify to the
    37644088\m[blue]\fBhosts allow = hosts allow\fR\m[]
    37654089parameter those hosts that should be permitted access\&.
    37664090.sp
    37674091Default:
    3768 \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
     4092\fI\fIhosts deny\fR\fR\fI = \fR\fI\FC # none (i\&.e\&., no hosts specifically excluded)\F[]\fR\fI \fR
     4093.sp
     4094Example:
     4095\fI\fIhosts deny\fR\fR\fI = \fR\fI\FC150\&.203\&.4\&. badhost\&.mynet\&.edu\&.au\F[]\fR\fI \fR
    37724096.RE
    37734097
     
    37894113.sp
    37904114Example:
    3791 \fI\fIidmap alloc backend\fR\fR\fI = \fR\fItdb\fR\fI \fR
     4115\fI\fIidmap alloc backend\fR\fR\fI = \fR\fI\FCtdb\F[]\fR\fI \fR
    37924116.RE
    37934117
     
    38314155.sp
    38324156Default:
    3833 \fI\fIidmap backend\fR\fR\fI = \fR\fItdb\fR\fI \fR
     4157\fI\fIidmap backend\fR\fR\fI = \fR\fI\FCtdb\F[]\fR\fI \fR
    38344158.RE
    38354159
     
    38414165.sp
    38424166Default:
    3843 \fI\fIidmap cache time\fR\fR\fI = \fR\fI604800 (one week)\fR\fI \fR
     4167\fI\fIidmap cache time\fR\fR\fI = \fR\fI\FC604800 (one week)\F[]\fR\fI \fR
    38444168.RE
    38454169
     
    38744198.RS 4
    38754199.\}
     4200.fam C
     4201.ps -1
    38764202.nf
     4203.if t \{\
     4204.sp -1
     4205.\}
     4206.BB lightgray adjust-for-leading-newline
     4207.sp -1
     4208
    38774209        idmap backend = tdb
    38784210        idmap uid = 1000000\-1999999
     
    38824214        idmap config CORP : range = 1000\-999999
    38834215       
     4216.EB lightgray adjust-for-leading-newline
     4217.if t \{\
     4218.sp 1
     4219.\}
    38844220.fi
     4221.fam
     4222.ps +1
    38854223.if n \{\
    38864224.RE
     
    39104248.sp
    39114249Default:
    3912 \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
     4250\fI\fIidmap gid\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4251.sp
     4252Example:
     4253\fI\fIidmap gid\fR\fR\fI = \fR\fI\FC10000\-20000\F[]\fR\fI \fR
    39164254.RE
    39174255
     
    39234261.sp
    39244262Default:
    3925 \fI\fIidmap negative cache time\fR\fR\fI = \fR\fI120\fR\fI \fR
     4263\fI\fIidmap negative cache time\fR\fR\fI = \fR\fI\FC120\F[]\fR\fI \fR
    39264264.RE
    39274265
     
    39474285.sp
    39484286Default:
    3949 \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
     4287\fI\fIidmap uid\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4288.sp
     4289Example:
     4290\fI\fIidmap uid\fR\fR\fI = \fR\fI\FC10000\-20000\F[]\fR\fI \fR
    39534291.RE
    39544292
     
    39744312.sp
    39754313Default:
    3976 \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
     4314\fI\fIinclude\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4315.sp
     4316Example:
     4317\fI\fIinclude\fR\fR\fI = \fR\fI\FC/usr/local/samba/lib/admin_smb\&.conf\F[]\fR\fI \fR
    39804318.RE
    39814319
     
    39874325.sp
    39884326Default:
    3989 \fI\fIinherit acls\fR\fR\fI = \fR\fIno\fR\fI \fR
     4327\fI\fIinherit acls\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    39904328.RE
    39914329
     
    39994337.sp
    40004338Default:
    4001 \fI\fIinherit owner\fR\fR\fI = \fR\fIno\fR\fI \fR
     4339\fI\fIinherit owner\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    40024340.RE
    40034341
     
    40304368.sp
    40314369Default:
    4032 \fI\fIinherit permissions\fR\fR\fI = \fR\fIno\fR\fI \fR
     4370\fI\fIinherit permissions\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    40334371.RE
    40344372
     
    40444382.sp
    40454383Default:
    4046 \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
     4384\fI\fIinit logon delayed hosts\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4385.sp
     4386Example:
     4387\fI\fIinit logon delayed hosts\fR\fR\fI = \fR\fI\FC150\&.203\&.5\&. myhost\&.mynet\&.de\F[]\fR\fI \fR
    40504388.RE
    40514389
     
    40584396.sp
    40594397Default:
    4060 \fI\fIinit logon delay\fR\fR\fI = \fR\fI100\fR\fI \fR
     4398\fI\fIinit logon delay\fR\fR\fI = \fR\fI\FC100\F[]\fR\fI \fR
    40614399.RE
    40624400
     
    41224460.sp
    41234461Default:
    4124 \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
     4462\fI\fIinterfaces\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4463.sp
     4464Example:
     4465\fI\fIinterfaces\fR\fR\fI = \fR\fI\FCeth0 192\&.168\&.2\&.10/24 192\&.168\&.3\&.10/255\&.255\&.255\&.0\F[]\fR\fI \fR
    41284466.RE
    41294467
     
    41484486.sp
    41494487Default:
    4150 \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
     4488\fI\fIinvalid users\fR\fR\fI = \fR\fI\FC # no invalid users\F[]\fR\fI \fR
     4489.sp
     4490Example:
     4491\fI\fIinvalid users\fR\fR\fI = \fR\fI\FCroot fred admin @wheel\F[]\fR\fI \fR
    41544492.RE
    41554493
     
    41644502.sp
    41654503If set, this option overrides the ServerName option in the CUPS
    4166 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
     4504\FCclient\&.conf\F[]\&. This is necessary if you have virtual samba servers that connect to different CUPS daemons\&.
     4505.sp
     4506Default:
     4507\fI\fIiprint server\fR\fR\fI = \fR\fI\FC""\F[]\fR\fI \fR
     4508.sp
     4509Example:
     4510\fI\fIiprint server\fR\fR\fI = \fR\fI\FCMYCUPSSERVER\F[]\fR\fI \fR
    41734511.RE
    41744512
     
    41854523.sp
    41864524Default:
    4187 \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
     4525\fI\fIkeepalive\fR\fR\fI = \fR\fI\FC300\F[]\fR\fI \fR
     4526.sp
     4527Example:
     4528\fI\fIkeepalive\fR\fR\fI = \fR\fI\FC600\F[]\fR\fI \fR
    41914529.RE
    41924530
     
    42004538.sp
    42014539Default:
    4202 \fI\fIkernel change notify\fR\fR\fI = \fR\fIyes\fR\fI \fR
     4540\fI\fIkernel change notify\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    42034541.RE
    42044542
     
    42234561.sp
    42244562Default:
    4225 \fI\fIkernel oplocks\fR\fR\fI = \fR\fIyes\fR\fI \fR
     4563\fI\fIkernel oplocks\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    42264564.RE
    42274565
     
    42374575.sp
    42384576Unlike the
    4239 encrypt passwords
     4577\FCencrypt passwords\F[]
    42404578option, this parameter cannot alter client behaviour, and the LANMAN response will still be sent over the network\&. See the
    4241 client lanman auth
     4579\FCclient lanman auth\F[]
    42424580to disable this for Samba\'s clients (such as smbclient)
    42434581.sp
    42444582If this option, and
    4245 ntlm auth
     4583\FCntlm auth\F[]
    42464584are both disabled, then only NTLMv2 logins will be permited\&. Not all clients support NTLMv2, and most will require special configuration to use it\&.
    42474585.sp
    42484586Default:
    4249 \fI\fIlanman auth\fR\fR\fI = \fR\fIno\fR\fI \fR
     4587\fI\fIlanman auth\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    42504588.RE
    42514589
     
    42564594This parameter determines whether or not
    42574595\fBsmbd\fR(8)
    4258 supports the new 64k streaming read and write varient SMB requests introduced with Windows 2000\&. Note that due to Windows 2000 client redirector bugs this requires Samba to be running on a 64\-bit capable operating system such as IRIX, Solaris or a Linux 2\&.4 kernel\&. Can improve performance by 10% with Windows 2000 clients\&. Defaults to on\&. Not as tested as some other Samba code paths\&.
    4259 .sp
    4260 Default:
    4261 \fI\fIlarge readwrite\fR\fR\fI = \fR\fIyes\fR\fI \fR
     4596supports the new 64k streaming read and write variant SMB requests introduced with Windows 2000\&. Note that due to Windows 2000 client redirector bugs this requires Samba to be running on a 64\-bit capable operating system such as IRIX, Solaris or a Linux 2\&.4 kernel\&. Can improve performance by 10% with Windows 2000 clients\&. Defaults to on\&. Not as tested as some other Samba code paths\&.
     4597.sp
     4598Default:
     4599\fI\fIlarge readwrite\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    42624600.RE
    42634601
     
    42714609\m[blue]\fBldap admin dn\fR\m[]
    42724610is used in conjunction with the admin dn password stored in the
    4273 private/secrets\&.tdb
     4611\FCprivate/secrets\&.tdb\F[]
    42744612file\&. See the
    42754613\fBsmbpasswd\fR(8)
     
    42974635.sp
    42984636Default:
    4299 \fI\fIldap connection timeout\fR\fR\fI = \fR\fI2\fR\fI \fR
     4637\fI\fIldap connection timeout\fR\fR\fI = \fR\fI\FC2\F[]\fR\fI \fR
    43004638.RE
    43014639
     
    43144652.sp
    43154653Default:
    4316 \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
     4654\fI\fIldap debug level\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     4655.sp
     4656Example:
     4657\fI\fIldap debug level\fR\fR\fI = \fR\fI\FC1\F[]\fR\fI \fR
    43204658.RE
    43214659
     
    43294667.sp
    43304668Default:
    4331 \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
     4669\fI\fIldap debug threshold\fR\fR\fI = \fR\fI\FC10\F[]\fR\fI \fR
     4670.sp
     4671Example:
     4672\fI\fIldap debug threshold\fR\fR\fI = \fR\fI\FC5\F[]\fR\fI \fR
    43354673.RE
    43364674
     
    43424680.sp
    43434681Default:
    4344 \fI\fIldap delete dn\fR\fR\fI = \fR\fIno\fR\fI \fR
     4682\fI\fIldap delete dn\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    43454683.RE
    43464684
     
    43564694.sp
    43574695Default:
    4358 \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
     4696\fI\fIldap group suffix\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4697.sp
     4698Example:
     4699\fI\fIldap group suffix\fR\fR\fI = \fR\fI\FCou=Groups\F[]\fR\fI \fR
    43624700.RE
    43634701
     
    43734711.sp
    43744712Default:
    4375 \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
     4713\fI\fIldap idmap suffix\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4714.sp
     4715Example:
     4716\fI\fIldap idmap suffix\fR\fR\fI = \fR\fI\FCou=Idmap\F[]\fR\fI \fR
    43794717.RE
    43804718
     
    43904728.sp
    43914729Default:
    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
     4730\fI\fIldap machine suffix\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     4731.sp
     4732Example:
     4733\fI\fIldap machine suffix\fR\fR\fI = \fR\fI\FCou=Computers\F[]\fR\fI \fR
    43964734.RE
    43974735
     
    44054743.sp
    44064744Default:
    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
     4745\fI\fIldap page size\fR\fR\fI = \fR\fI\FC1024\F[]\fR\fI \fR
     4746.sp
     4747Example:
     4748\fI\fIldap page size\fR\fR\fI = \fR\fI\FC512\F[]\fR\fI \fR
    44114749.RE
    44124750
     
    44584796.RE
    44594797Default:
    4460 \fI\fIldap passwd sync\fR\fR\fI = \fR\fIno\fR\fI \fR
     4798\fI\fIldap passwd sync\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    44614799.RE
    44624800
     
    44724810.sp
    44734811Default:
    4474 \fI\fIldap replication sleep\fR\fR\fI = \fR\fI1000\fR\fI \fR
     4812\fI\fIldap replication sleep\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
    44754813.RE
    44764814
     
    44824820.sp
    44834821To 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
    4484 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
     4822\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 the
    44854823\m[blue]\fBldapsam:trusted = yes\fR\m[]
    44864824option is usually sufficient to use
     
    44934831.RS 4
    44944832.\}
     4833.fam C
     4834.ps -1
    44954835.nf
     4836.if t \{\
     4837.sp -1
     4838.\}
     4839.BB lightgray adjust-for-leading-newline
     4840.sp -1
     4841
    44964842        encrypt passwords = true
    44974843        passdb backend = ldapsam
     
    45134859        idmap gid = 5000\-50000
    45144860       
     4861.EB lightgray adjust-for-leading-newline
     4862.if t \{\
     4863.sp 1
     4864.\}
    45154865.fi
     4866.fam
     4867.ps +1
    45164868.if n \{\
    45174869.RE
     
    45234875.RS 4
    45244876.\}
     4877.fam C
     4878.ps -1
    45254879.nf
     4880.if t \{\
     4881.sp -1
     4882.\}
     4883.BB lightgray adjust-for-leading-newline
     4884.sp -1
     4885
    45264886        dn: dc=samba,dc=org
    45274887        objectClass: top
     
    45584918        ou: computers
    45594919       
     4920.EB lightgray adjust-for-leading-newline
     4921.if t \{\
     4922.sp 1
     4923.\}
    45604924.fi
     4925.fam
     4926.ps +1
    45614927.if n \{\
    45624928.RE
     
    45644930.sp
    45654931Default:
    4566 \fI\fIldapsam:editposix\fR\fR\fI = \fR\fIno\fR\fI \fR
     4932\fI\fIldapsam:editposix\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    45674933.RE
    45684934
     
    45804946.sp
    45814947Default:
    4582 \fI\fIldapsam:trusted\fR\fR\fI = \fR\fIno\fR\fI \fR
     4948\fI\fIldapsam:trusted\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    45834949.RE
    45844950
     
    46004966.sp
    46014967Default:
    4602 \fI\fIldap ssl ads\fR\fR\fI = \fR\fIno\fR\fI \fR
     4968\fI\fIldap ssl ads\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    46034969.RE
    46044970
     
    46104976\fINOT\fR
    46114977related to Samba\'s previous SSL support which was enabled by specifying the
    4612 \-\-with\-ssl
     4978\FC\-\-with\-ssl\F[]
    46134979option to the
    4614 configure
     4980\FCconfigure\F[]
    46154981script\&.
    46164982.sp
     
    46655031.sp
    46665032Default:
    4667 \fI\fIldap ssl\fR\fR\fI = \fR\fIstart tls\fR\fI \fR
     5033\fI\fIldap ssl\fR\fR\fI = \fR\fI\FCstart tls\F[]\fR\fI \fR
    46685034.RE
    46695035
     
    46825048.sp
    46835049Default:
    4684 \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
     5050\fI\fIldap suffix\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     5051.sp
     5052Example:
     5053\fI\fIldap suffix\fR\fR\fI = \fR\fI\FCdc=samba,dc=org\F[]\fR\fI \fR
    46885054.RE
    46895055
     
    46955061.sp
    46965062Default:
    4697 \fI\fIldap timeout\fR\fR\fI = \fR\fI15\fR\fI \fR
     5063\fI\fIldap timeout\fR\fR\fI = \fR\fI\FC15\F[]\fR\fI \fR
    46985064.RE
    46995065
     
    47095075.sp
    47105076Default:
    4711 \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
     5077\fI\fIldap user suffix\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     5078.sp
     5079Example:
     5080\fI\fIldap user suffix\fR\fR\fI = \fR\fI\FCou=people\F[]\fR\fI \fR
    47155081.RE
    47165082
     
    47395105.sp
    47405106Default:
    4741 \fI\fIlevel2 oplocks\fR\fR\fI = \fR\fIyes\fR\fI \fR
     5107\fI\fIlevel2 oplocks\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    47425108.RE
    47435109
     
    47635129.sp
    47645130Default:
    4765 \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
     5131\fI\fIlm announce\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
     5132.sp
     5133Example:
     5134\fI\fIlm announce\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    47695135.RE
    47705136
     
    47805146.sp
    47815147Default:
    4782 \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
     5148\fI\fIlm interval\fR\fR\fI = \fR\fI\FC60\F[]\fR\fI \fR
     5149.sp
     5150Example:
     5151\fI\fIlm interval\fR\fR\fI = \fR\fI\FC120\F[]\fR\fI \fR
    47865152.RE
    47875153
     
    47955161.sp
    47965162Default:
    4797 \fI\fIload printers\fR\fR\fI = \fR\fIyes\fR\fI \fR
     5163\fI\fIload printers\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    47985164.RE
    47995165
     
    48075173\fBno\fR
    48085174then
    4809 nmbd
     5175\FC nmbd\F[]
    48105176will 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
    48115177\fByes\fR\&. Setting this value to
     
    48145180\fIbecome\fR
    48155181the local master browser on a subnet, just that
    4816 nmbd
     5182\FCnmbd\F[]
    48175183will
    48185184\fIparticipate\fR
     
    48225188\fBno\fR
    48235189will cause
    4824 nmbd
     5190\FCnmbd\F[]
    48255191\fInever\fR
    48265192to become a local master browser\&.
    48275193.sp
    48285194Default:
    4829 \fI\fIlocal master\fR\fR\fI = \fR\fIyes\fR\fI \fR
     5195\fI\fIlocal master\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    48305196.RE
    48315197
     
    48495215.sp
    48505216Default:
    4851 \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
     5217\fI\fIlock directory\fR\fR\fI = \fR\fI\FC${prefix}/var/locks\F[]\fR\fI \fR
     5218.sp
     5219Example:
     5220\fI\fIlock directory\fR\fR\fI = \fR\fI\FC/var/run/samba/locks\F[]\fR\fI \fR
    48555221.RE
    48565222
     
    48625228.sp
    48635229If
    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\&.
     5230\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\&.
    48655231.sp
    48665232If
    4867 locking = yes, real locking will be performed by the server\&.
     5233\FClocking = yes\F[], real locking will be performed by the server\&.
    48685234.sp
    48695235This option
     
    48885254.sp
    48895255Default:
    4890 \fI\fIlock spin count\fR\fR\fI = \fR\fI0\fR\fI \fR
     5256\fI\fIlock spin count\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
    48915257.RE
    48925258
     
    49005266.sp
    49015267Default:
    4902 \fI\fIlock spin time\fR\fR\fI = \fR\fI200\fR\fI \fR
     5268\fI\fIlock spin time\fR\fR\fI = \fR\fI\FC200\F[]\fR\fI \fR
    49035269.RE
    49045270
     
    49145280.sp
    49155281Example:
    4916 \fI\fIlog file\fR\fR\fI = \fR\fI/usr/local/samba/var/log\&.%m\fR\fI \fR
     5282\fI\fIlog file\fR\fR\fI = \fR\fI\FC/usr/local/samba/var/log\&.%m\F[]\fR\fI \fR
    49175283.RE
    49185284
     
    49305296.RS 4
    49315297The value of the parameter (a astring) allows the debug level (logging level) to be specified in the
    4932 smb\&.conf
     5298\FCsmb\&.conf\F[]
    49335299file\&.
    49345300.sp
     
    51565522.RE
    51575523Default:
    5158 \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
     5524\fI\fIlog level\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     5525.sp
     5526Example:
     5527\fI\fIlog level\fR\fR\fI = \fR\fI\FC3 passdb:5 auth:10 winbind:2\F[]\fR\fI \fR
    51625528.RE
    51635529
     
    51725538.sp
    51735539Default:
    5174 \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
     5540\fI\fIlogon drive\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     5541.sp
     5542Example:
     5543\fI\fIlogon drive\fR\fR\fI = \fR\fI\FCh:\F[]\fR\fI \fR
    51785544.RE
    51795545
     
    51855551.sp
    51865552
    5187 C:\e>\fBNET USE H: /HOME\fR
     5553\FCC:\e>\F[]\fBNET USE H: /HOME\fR
    51885554.sp
    51895555from a command prompt, for example\&.
     
    51945560.sp
    51955561
    5196 logon home = \e\e%N\e%U\eprofile
     5562\FClogon home = \e\e%N\e%U\eprofile\F[]
    51975563.sp
    51985564This 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
    5199 net use /home
     5565\FCnet use /home\F[]
    52005566but use the whole string when dealing with profiles\&.
    52015567.sp
     
    52045570was returned rather than
    52055571\fIlogon home\fR\&. This broke
    5206 net use /home
     5572\FCnet use /home\F[]
    52075573but allowed profiles outside the home directory\&. The current implementation is correct, and can be used for profiles if you use the above trick\&.
    52085574.sp
     
    52145580.sp
    52155581Default:
    5216 \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
     5582\fI\fIlogon home\fR\fR\fI = \fR\fI\FC\e\e%N\e%U\F[]\fR\fI \fR
     5583.sp
     5584Example:
     5585\fI\fIlogon home\fR\fR\fI = \fR\fI\FC\e\eremote_smb_server\e%U\F[]\fR\fI \fR
    52205586.RE
    52215587
     
    52295595.sp
    52305596This 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",
    5231 desktop,
    5232 start menu,
    5233 network neighborhood,
    5234 programs
     5597\FCdesktop\F[],
     5598\FCstart menu\F[],
     5599\FCnetwork neighborhood\F[],
     5600\FCprograms\F[]
    52355601and other folders, and their contents, are loaded and displayed on your Windows NT client\&.
    52365602.sp
     
    52455611.\}
    52465612.RS 4
     5613.BM yellow
    52475614.it 1 an-trap
    52485615.nr an-no-space-flag 1
     
    52575624will 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)\&.
    52585625.sp .5v
     5626.EM yellow
    52595627.RE
    52605628Note that this option is only useful if Samba is set up as a domain controller\&.
     
    52685636.RS 4
    52695637.\}
     5638.fam C
     5639.ps -1
    52705640.nf
     5641.if t \{\
     5642.sp -1
     5643.\}
     5644.BB lightgray adjust-for-leading-newline
     5645.sp -1
     5646
    52715647logon path = \e\ePROFILESERVER\ePROFILE\e%U
     5648.EB lightgray adjust-for-leading-newline
     5649.if t \{\
     5650.sp 1
     5651.\}
    52725652.fi
     5653.fam
     5654.ps +1
    52735655.if n \{\
    52745656.RE
     
    52765658.sp
    52775659Default:
    5278 \fI\fIlogon path\fR\fR\fI = \fR\fI\e\e%N\e%U\eprofile\fR\fI \fR
     5660\fI\fIlogon path\fR\fR\fI = \fR\fI\FC\e\e%N\e%U\eprofile\F[]\fR\fI \fR
    52795661.RE
    52805662
     
    52835665.PP
    52845666.RS 4
    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\&.
     5667This 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\&.
    52865668.sp
    52875669The script must be a relative path to the
     
    52905672\m[blue]\fBpath\fR\m[]
    52915673of
    5292 /usr/local/samba/netlogon, and
     5674\FC/usr/local/samba/netlogon\F[], and
    52935675\m[blue]\fBlogon script = STARTUP\&.BAT\fR\m[], then the file that will be downloaded is:
    52945676.sp
     
    52965678.RS 4
    52975679.\}
     5680.fam C
     5681.ps -1
    52985682.nf
     5683.if t \{\
     5684.sp -1
     5685.\}
     5686.BB lightgray adjust-for-leading-newline
     5687.sp -1
     5688
    52995689        /usr/local/samba/netlogon/STARTUP\&.BAT
     5690.EB lightgray adjust-for-leading-newline
     5691.if t \{\
     5692.sp 1
     5693.\}
    53005694.fi
     5695.fam
     5696.ps +1
    53015697.if n \{\
    53025698.RE
     
    53045700.sp
    53055701The contents of the batch file are entirely your choice\&. A suggested command would be to add
    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
     5702\FCNET TIME \e\eSERVER /SET /YES\F[], to force every machine to synchronize clocks with the same time server\&. Another use would be to add
     5703\FCNET USE U: \e\eSERVER\eUTILS\F[]
    53085704for commonly used utilities, or
    53095705.sp
     
    53115707.RS 4
    53125708.\}
     5709.fam C
     5710.ps -1
    53135711.nf
     5712.if t \{\
     5713.sp -1
     5714.\}
     5715.BB lightgray adjust-for-leading-newline
     5716.sp -1
     5717
    53145718\fBNET USE Q: \e\eSERVER\eISO9001_QA\fR
     5719.EB lightgray adjust-for-leading-newline
     5720.if t \{\
     5721.sp 1
     5722.\}
    53155723.fi
     5724.fam
     5725.ps +1
    53165726.if n \{\
    53175727.RE
     
    53275737.sp
    53285738Default:
    5329 \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
     5739\fI\fIlogon script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     5740.sp
     5741Example:
     5742\fI\fIlogon script\fR\fR\fI = \fR\fI\FCscripts\e%U\&.bat\F[]\fR\fI \fR
    53335743.RE
    53345744
     
    53535763.sp
    53545764Default:
    5355 \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
     5765\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 \fR
     5766.sp
     5767Example:
     5768\fI\fIlppause command\fR\fR\fI = \fR\fI\FC/usr/bin/lpalt %p\-%j \-p0\F[]\fR\fI \fR
    53595769.RE
    53605770
     
    53645774.RS 4
    53655775This controls how long lpq info will be cached for to prevent the
    5366 lpq
     5776\FClpq\F[]
    53675777command being called too often\&. A separate cache is kept for each variation of the
    5368 lpq
     5778\FC lpq\F[]
    53695779command used by the system, so if you use different
    5370 lpq
     5780\FClpq\F[]
    53715781commands for different users then they won\'t share cache information\&.
    53725782.sp
    53735783The cache files are stored in
    5374 /tmp/lpq\&.xxxx
     5784\FC/tmp/lpq\&.xxxx\F[]
    53755785where xxxx is a hash of the
    5376 lpq
     5786\FClpq\F[]
    53775787command in use\&.
    53785788.sp
    53795789The default is 30 seconds, meaning that the cached results of a previous identical
    5380 lpq
     5790\FClpq\F[]
    53815791command will be used if the cached data is less than 30 seconds old\&. A large value may be advisable if your
    5382 lpq
     5792\FClpq\F[]
    53835793command is very slow\&.
    53845794.sp
     
    53865796.sp
    53875797Default:
    5388 \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
     5798\fI\fIlpq cache time\fR\fR\fI = \fR\fI\FC30\F[]\fR\fI \fR
     5799.sp
     5800Example:
     5801\fI\fIlpq cache time\fR\fR\fI = \fR\fI\FC10\F[]\fR\fI \fR
    53925802.RE
    53935803
     
    53975807.RS 4
    53985808This parameter specifies the command to be executed on the server host in order to obtain
    5399 lpq\-style printer status information\&.
     5809\FClpq \F[]\-style printer status information\&.
    54005810.sp
    54015811This command should be a program or script which takes a printer name as its only parameter and outputs printer status information\&.
     
    54205830.sp
    54215831Default:
    5422 \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
     5832\fI\fIlpq command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     5833.sp
     5834Example:
     5835\fI\fIlpq command\fR\fR\fI = \fR\fI\FC/usr/bin/lpq \-P%p\F[]\fR\fI \fR
    54265836.RE
    54275837
     
    54555865\fBSYSV\fR, in which case the default is:
    54565866.sp
    5457 lp \-i %p\-%j \-H resume
     5867\FClp \-i %p\-%j \-H resume\F[]
    54585868.sp
    54595869or if the value of the
     
    54625872\fBSOFTQ\fR, then the default is:
    54635873.sp
    5464 qstat \-s \-j%j \-r
     5874\FCqstat \-s \-j%j \-r\F[]
    54655875.sp
    54665876\fINo default\fR
    54675877.sp
    54685878Example:
    5469 \fI\fIlpresume command\fR\fR\fI = \fR\fI/usr/bin/lpalt %p\-%j \-p2\fR\fI \fR
     5879\fI\fIlpresume command\fR\fR\fI = \fR\fI\FC/usr/bin/lpalt %p\-%j \-p2\F[]\fR\fI \fR
    54705880.RE
    54715881
     
    54935903.RS 4
    54945904.\}
     5905.fam C
     5906.ps -1
    54955907.nf
     5908.if t \{\
     5909.sp -1
     5910.\}
     5911.BB lightgray adjust-for-leading-newline
     5912.sp -1
     5913
    54965914lprm command = /usr/bin/lprm \-P%p %j
    54975915
     
    54995917
    55005918lprm command = /usr/bin/cancel %p\-%j
     5919.EB lightgray adjust-for-leading-newline
     5920.if t \{\
     5921.sp 1
     5922.\}
    55015923.fi
     5924.fam
     5925.ps +1
    55025926.if n \{\
    55035927.RE
     
    55055929.sp
    55065930Default:
    5507 \fI\fIlprm command\fR\fR\fI = \fR\fI determined by printing parameter\fR\fI \fR
     5931\fI\fIlprm command\fR\fR\fI = \fR\fI\FC determined by printing parameter\F[]\fR\fI \fR
    55085932.RE
    55095933
     
    55155939\m[blue]\fBsecurity = domain\fR\m[]
    55165940parameter) then periodically a running smbd process will try and change the MACHINE ACCOUNT PASSWORD stored in the TDB called
    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\&.
     5941\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\&.
    55185942.sp
    55195943See also
     
    55235947.sp
    55245948Default:
    5525 \fI\fImachine password timeout\fR\fR\fI = \fR\fI604800\fR\fI \fR
     5949\fI\fImachine password timeout\fR\fR\fI = \fR\fI\FC604800\F[]\fR\fI \fR
    55265950.RE
    55275951
     
    55375961.\}
    55385962.RS 4
     5963.BM yellow
    55395964.it 1 an-trap
    55405965.nr an-no-space-flag 1
     
    55495974in the same directory the output file content is undefined\&.
    55505975.sp .5v
    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
     5976.EM yellow
     5977.RE
     5978Default:
     5979\fI\fImagic output\fR\fR\fI = \fR\fI\FC<magic script name>\&.out\F[]\fR\fI \fR
     5980.sp
     5981Example:
     5982\fI\fImagic output\fR\fR\fI = \fR\fI\FCmyfile\&.txt\F[]\fR\fI \fR
    55575983.RE
    55585984
     
    55806006.sp
    55816007Default:
    5582 \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
     6008\fI\fImagic script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     6009.sp
     6010Example:
     6011\fI\fImagic script\fR\fR\fI = \fR\fI\FCuser\&.csh\F[]\fR\fI \fR
    55866012.RE
    55876013
     
    56426068.sp
    56436069Default:
    5644 \fI\fImangled names\fR\fR\fI = \fR\fIyes\fR\fI \fR
     6070\fI\fImangled names\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    56456071.RE
    56466072
     
    56546080.sp
    56556081Default:
    5656 \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
     6082\fI\fImangle prefix\fR\fR\fI = \fR\fI\FC1\F[]\fR\fI \fR
     6083.sp
     6084Example:
     6085\fI\fImangle prefix\fR\fR\fI = \fR\fI\FC4\F[]\fR\fI \fR
    56606086.RE
    56616087
     
    56706096.sp
    56716097Default:
    5672 \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
     6098\fI\fImangling char\fR\fR\fI = \fR\fI\FC~\F[]\fR\fI \fR
     6099.sp
     6100Example:
     6101\fI\fImangling char\fR\fR\fI = \fR\fI\FC^\F[]\fR\fI \fR
    56766102.RE
    56776103
     
    56836109.sp
    56846110Default:
    5685 \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
     6111\fI\fImangling method\fR\fR\fI = \fR\fI\FChash2\F[]\fR\fI \fR
     6112.sp
     6113Example:
     6114\fI\fImangling method\fR\fR\fI = \fR\fI\FChash\F[]\fR\fI \fR
    56896115.RE
    56906116
     
    56986124.sp
    56996125Default:
    5700 \fI\fImap acl inherit\fR\fR\fI = \fR\fIno\fR\fI \fR
     6126\fI\fImap acl inherit\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    57016127.RE
    57026128
     
    57146140.sp
    57156141Default:
    5716 \fI\fImap archive\fR\fR\fI = \fR\fIyes\fR\fI \fR
     6142\fI\fImap archive\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    57176143.RE
    57186144
     
    57966222.RE
    57976223Default:
    5798 \fI\fImap read only\fR\fR\fI = \fR\fIyes\fR\fI \fR
     6224\fI\fImap read only\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    57996225.RE
    58006226
     
    58126238.sp
    58136239Default:
    5814 \fI\fImap system\fR\fR\fI = \fR\fIno\fR\fI \fR
     6240\fI\fImap system\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    58156241.RE
    58166242
     
    59026328.sp
    59036329Default:
    5904 \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
     6330\fI\fImap to guest\fR\fR\fI = \fR\fI\FCNever\F[]\fR\fI \fR
     6331.sp
     6332Example:
     6333\fI\fImap to guest\fR\fR\fI = \fR\fI\FCBad User\F[]\fR\fI \fR
    59086334.RE
    59096335
     
    59216347.sp
    59226348Default:
    5923 \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
     6349\fI\fImax connections\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     6350.sp
     6351Example:
     6352\fI\fImax connections\fR\fR\fI = \fR\fI\FC10\F[]\fR\fI \fR
    59276353.RE
    59286354
     
    59436369.sp
    59446370Default:
    5945 \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
     6371\fI\fImax disk size\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     6372.sp
     6373Example:
     6374\fI\fImax disk size\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
    59496375.RE
    59506376
     
    59546380.RS 4
    59556381This 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
    5956 \&.old
     6382\FC\&.old\F[]
    59576383extension\&.
    59586384.sp
     
    59606386.sp
    59616387Default:
    5962 \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
     6388\fI\fImax log size\fR\fR\fI = \fR\fI\FC5000\F[]\fR\fI \fR
     6389.sp
     6390Example:
     6391\fI\fImax log size\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
    59666392.RE
    59676393
     
    59736399.sp
    59746400Default:
    5975 \fI\fImax mux\fR\fR\fI = \fR\fI50\fR\fI \fR
     6401\fI\fImax mux\fR\fR\fI = \fR\fI\FC50\F[]\fR\fI \fR
    59766402.RE
    59776403
     
    59876413.sp
    59886414Default:
    5989 \fI\fImax open files\fR\fR\fI = \fR\fI10000\fR\fI \fR
     6415\fI\fImax open files\fR\fR\fI = \fR\fI\FC10000\F[]\fR\fI \fR
    59906416.RE
    59916417
     
    59996425.sp
    60006426Default:
    6001 \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
     6427\fI\fImax print jobs\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
     6428.sp
     6429Example:
     6430\fI\fImax print jobs\fR\fR\fI = \fR\fI\FC5000\F[]\fR\fI \fR
    60056431.RE
    60066432
     
    60816507.sp
    60826508Default:
    6083 \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
     6509\fI\fImax protocol\fR\fR\fI = \fR\fI\FCNT1\F[]\fR\fI \fR
     6510.sp
     6511Example:
     6512\fI\fImax protocol\fR\fR\fI = \fR\fI\FCLANMAN1\F[]\fR\fI \fR
    60876513.RE
    60886514
     
    60946520.sp
    60956521Default:
    6096 \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
     6522\fI\fImax reported print jobs\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     6523.sp
     6524Example:
     6525\fI\fImax reported print jobs\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
    61006526.RE
    61016527
     
    61116537.sp
    61126538Default:
    6113 \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
     6539\fI\fImax smbd processes\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     6540.sp
     6541Example:
     6542\fI\fImax smbd processes\fR\fR\fI = \fR\fI\FC1000\F[]\fR\fI \fR
    61176543.RE
    61186544
     
    61266552.sp
    61276553Default:
    6128 \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
     6554\fI\fImax stat cache size\fR\fR\fI = \fR\fI\FC256\F[]\fR\fI \fR
     6555.sp
     6556Example:
     6557\fI\fImax stat cache size\fR\fR\fI = \fR\fI\FC100\F[]\fR\fI \fR
    61326558.RE
    61336559
     
    61396565\fBnmbd\fR(8)
    61406566what the default \'time to live\' of NetBIOS names should be (in seconds) when
    6141 nmbd
     6567\FCnmbd\F[]
    61426568is 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\&.
    61436569.sp
    61446570Default:
    6145 \fI\fImax ttl\fR\fR\fI = \fR\fI259200\fR\fI \fR
     6571\fI\fImax ttl\fR\fR\fI = \fR\fI\FC259200\F[]\fR\fI \fR
    61466572.RE
    61476573
     
    61536579\fBsmbd\fR(8)
    61546580when acting as a WINS server (\m[blue]\fBwins support = yes\fR\m[]) what the maximum \'time to live\' of NetBIOS names that
    6155 nmbd
     6581\FCnmbd\F[]
    61566582will grant will be (in seconds)\&. You should never need to change this parameter\&. The default is 6 days (518400 seconds)\&.
    61576583.sp
    61586584Default:
    6159 \fI\fImax wins ttl\fR\fR\fI = \fR\fI518400\fR\fI \fR
     6585\fI\fImax wins ttl\fR\fR\fI = \fR\fI\FC518400\F[]\fR\fI \fR
    61606586.RE
    61616587
     
    61676593.sp
    61686594Default:
    6169 \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
     6595\fI\fImax xmit\fR\fR\fI = \fR\fI\FC16644\F[]\fR\fI \fR
     6596.sp
     6597Example:
     6598\fI\fImax xmit\fR\fR\fI = \fR\fI\FC8192\F[]\fR\fI \fR
    61736599.RE
    61746600
     
    61866612.RS 4
    61876613.\}
     6614.fam C
     6615.ps -1
    61886616.nf
    6189 message command = csh \-c \'xedit %s;rm %s\' &
     6617.if t \{\
     6618.sp -1
     6619.\}
     6620.BB lightgray adjust-for-leading-newline
     6621.sp -1
     6622
     6623\FCmessage command = csh \-c \'xedit %s;rm %s\' &\F[]
     6624.EB lightgray adjust-for-leading-newline
     6625.if t \{\
     6626.sp 1
     6627.\}
    61906628.fi
     6629.fam
     6630.ps +1
    61916631.if n \{\
    61926632.RE
     
    61946634.sp
    61956635This delivers the message using
    6196 xedit, then removes it afterwards\&.
     6636\FCxedit\F[], then removes it afterwards\&.
    61976637\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)\&.
    61986638.sp
     
    62476687.RS 4
    62486688.\}
     6689.fam C
     6690.ps -1
    62496691.nf
    6250 message command = /bin/mail \-s \'message from %f on %m\' root < %s; rm %s
     6692.if t \{\
     6693.sp -1
     6694.\}
     6695.BB lightgray adjust-for-leading-newline
     6696.sp -1
     6697
     6698\FCmessage command = /bin/mail \-s \'message from %f on %m\' root < %s; rm %s\F[]
     6699.EB lightgray adjust-for-leading-newline
     6700.if t \{\
     6701.sp 1
     6702.\}
    62516703.fi
     6704.fam
     6705.ps +1
    62526706.if n \{\
    62536707.RE
     
    62616715.RS 4
    62626716.\}
     6717.fam C
     6718.ps -1
    62636719.nf
    6264 message command = rm %s
     6720.if t \{\
     6721.sp -1
     6722.\}
     6723.BB lightgray adjust-for-leading-newline
     6724.sp -1
     6725
     6726\FCmessage command = rm %s\F[]
     6727.EB lightgray adjust-for-leading-newline
     6728.if t \{\
     6729.sp 1
     6730.\}
    62656731.fi
     6732.fam
     6733.ps +1
    62666734.if n \{\
    62676735.RE
     
    62696737.sp
    62706738Default:
    6271 \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
     6739\fI\fImessage command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     6740.sp
     6741Example:
     6742\fI\fImessage command\fR\fR\fI = \fR\fI\FCcsh \-c \'xedit %s; rm %s\' &\F[]\fR\fI \fR
    62756743.RE
    62766744
     
    62826750.sp
    62836751Default:
    6284 \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
     6752\fI\fImin print space\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     6753.sp
     6754Example:
     6755\fI\fImin print space\fR\fR\fI = \fR\fI\FC2000\F[]\fR\fI \fR
    62886756.RE
    62896757
     
    62956763\m[blue]\fBmax protocol\fR\m[]
    62966764parameter 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
    6297 source/smbd/negprot\&.c
     6765\FCsource/smbd/negprot\&.c\F[]
    62986766for a listing of known protocol dialects supported by clients\&.
    62996767.sp
     
    63036771.sp
    63046772Default:
    6305 \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
     6773\fI\fImin protocol\fR\fR\fI = \fR\fI\FCCORE\F[]\fR\fI \fR
     6774.sp
     6775Example:
     6776\fI\fImin protocol\fR\fR\fI = \fR\fI\FCNT1\F[]\fR\fI \fR
    63096777.RE
    63106778
     
    63226790.sp
    63236791Default:
    6324 \fI\fImin receivefile size\fR\fR\fI = \fR\fI0\fR\fI \fR
     6792\fI\fImin receivefile size\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
    63256793.RE
    63266794
     
    63326800\fBnmbd\fR(8)
    63336801when acting as a WINS server (\m[blue]\fBwins support = yes\fR\m[]) what the minimum \'time to live\' of NetBIOS names that
    6334 nmbd
     6802\FCnmbd\F[]
    63356803will grant will be (in seconds)\&. You should never need to change this parameter\&. The default is 6 hours (21600 seconds)\&.
    63366804.sp
    63376805Default:
    6338 \fI\fImin wins ttl\fR\fR\fI = \fR\fI21600\fR\fI \fR
     6806\fI\fImin wins ttl\fR\fR\fI = \fR\fI\FC21600\F[]\fR\fI \fR
    63396807.RE
    63406808
     
    63546822.sp
    63556823Example:
    6356 \fI\fImsdfs proxy\fR\fR\fI = \fR\fI\eotherserver\esomeshare\fR\fI \fR
     6824\fI\fImsdfs proxy\fR\fR\fI = \fR\fI\FC\eotherserver\esomeshare\F[]\fR\fI \fR
    63576825.RE
    63586826
     
    63636831If set to
    63646832\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
    6365 msdfs:serverA\e\eshareA,serverB\e\eshareB
     6833\FCmsdfs:serverA\e\eshareA,serverB\e\eshareB\F[]
    63666834and so on\&. For more information on setting up a Dfs tree on Samba, refer to the MSDFS chapter in the Samba3\-HOWTO book\&.
    63676835.sp
    63686836Default:
    6369 \fI\fImsdfs root\fR\fR\fI = \fR\fIno\fR\fI \fR
     6837\fI\fImsdfs root\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    63706838.RE
    63716839
     
    63776845.sp
    63786846Default:
    6379 \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
     6847\fI\fIname cache timeout\fR\fR\fI = \fR\fI\FC660\F[]\fR\fI \fR
     6848.sp
     6849Example:
     6850\fI\fIname cache timeout\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
    63836851.RE
    63846852
     
    64156883\fBhost\fR
    64166884: Do a standard host name to IP address resolution, using the system
    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
     6885\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 the
     6886\FC/etc/nsswitch\&.conf\F[]
    64196887file\&. 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\&.
    64206888.RE
     
    64506918The example below will cause the local lmhosts file to be examined first, followed by a broadcast attempt, followed by a normal system hostname lookup\&.
    64516919.sp
    6452 When Samba is functioning in ADS security mode (security = ads) it is advised to use following settings for
     6920When Samba is functioning in ADS security mode (\FCsecurity = ads\F[]) it is advised to use following settings for
    64536921\fIname resolve order\fR:
    64546922.sp
    6455 name resolve order = wins bcast
     6923\FCname resolve order = wins bcast\F[]
    64566924.sp
    64576925DC 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\&.
    64586926.sp
    64596927Default:
    6460 \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
     6928\fI\fIname resolve order\fR\fR\fI = \fR\fI\FClmhosts host wins bcast\F[]\fR\fI \fR
     6929.sp
     6930Example:
     6931\fI\fIname resolve order\fR\fR\fI = \fR\fI\FClmhosts bcast host\F[]\fR\fI \fR
    64646932.RE
    64656933
     
    64716939.sp
    64726940Default:
    6473 \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
     6941\fI\fInetbios aliases\fR\fR\fI = \fR\fI\FC # empty string (no additional names)\F[]\fR\fI \fR
     6942.sp
     6943Example:
     6944\fI\fInetbios aliases\fR\fR\fI = \fR\fI\FCTEST TEST1 TEST2\F[]\fR\fI \fR
    64776945.RE
    64786946
     
    64846952.sp
    64856953There 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
    6486 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
     6954\FCPIPE\F[]\&. To avoid this problem, do not name your Samba\-3 server
     6955\FCPIPE\F[]\&.
     6956.sp
     6957Default:
     6958\fI\fInetbios name\fR\fR\fI = \fR\fI\FC # machine DNS name\F[]\fR\fI \fR
     6959.sp
     6960Example:
     6961\fI\fInetbios name\fR\fR\fI = \fR\fI\FCMYNAME\F[]\fR\fI \fR
    64946962.RE
    64956963
     
    65016969.sp
    65026970Default:
    6503 \fI\fInetbios scope\fR\fR\fI = \fR\fI\fR\fI \fR
     6971\fI\fInetbios scope\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    65046972.RE
    65056973
     
    65196987.sp
    65206988Default:
    6521 \fI\fInis homedir\fR\fR\fI = \fR\fIno\fR\fI \fR
     6989\fI\fInis homedir\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    65226990.RE
    65236991
     
    65316999.sp
    65327000Default:
    6533 \fI\fInt acl support\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7001\fI\fInt acl support\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    65347002.RE
    65357003
     
    65437011.sp
    65447012If this option, and
    6545 lanman auth
     7013\FClanman auth\F[]
    65467014are both disabled, then only NTLMv2 logins will be permited\&. Not all clients support NTLMv2, and most will require special configuration to use it\&.
    65477015.sp
    65487016Default:
    6549 \fI\fIntlm auth\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7017\fI\fIntlm auth\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    65507018.RE
    65517019
     
    65617029.sp
    65627030Default:
    6563 \fI\fInt pipe support\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7031\fI\fInt pipe support\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    65647032.RE
    65657033
     
    65777045.sp
    65787046Default:
    6579 \fI\fInt status support\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7047\fI\fInt status support\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    65807048.RE
    65817049
     
    65907058.sp
    65917059Default:
    6592 \fI\fInull passwords\fR\fR\fI = \fR\fIno\fR\fI \fR
     7060\fI\fInull passwords\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    65937061.RE
    65947062
     
    66017069.sp
    66027070Default:
    6603 \fI\fIobey pam restrictions\fR\fR\fI = \fR\fIno\fR\fI \fR
     7071\fI\fIobey pam restrictions\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    66047072.RE
    66057073
     
    66177085.sp
    66187086Note 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
    6619 user = %S
     7087\FCuser = %S\F[]
    66207088which means your
    66217089\fIuser\fR
     
    66237091.sp
    66247092Default:
    6625 \fI\fIonly user\fR\fR\fI = \fR\fIno\fR\fI \fR
     7093\fI\fIonly user\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    66267094.RE
    66277095
     
    66357103.\}
    66367104.RS 4
     7105.BM yellow
    66377106.it 1 an-trap
    66387107.nr an-no-space-flag 1
     
    66457114DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE\&.
    66467115.sp .5v
    6647 .RE
    6648 Default:
    6649 \fI\fIoplock break wait time\fR\fR\fI = \fR\fI0\fR\fI \fR
     7116.EM yellow
     7117.RE
     7118Default:
     7119\fI\fIoplock break wait time\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
    66507120.RE
    66517121
     
    66627132In brief it specifies a number, which causes
    66637133\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
    6664 smbd
     7134\FCsmbd\F[]
    66657135to behave in a similar way to Windows NT\&.
    66667136.if n \{\
     
    66687138.\}
    66697139.RS 4
     7140.BM yellow
    66707141.it 1 an-trap
    66717142.nr an-no-space-flag 1
     
    66787149DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE\&.
    66797150.sp .5v
    6680 .RE
    6681 Default:
    6682 \fI\fIoplock contention limit\fR\fR\fI = \fR\fI2\fR\fI \fR
     7151.EM yellow
     7152.RE
     7153Default:
     7154\fI\fIoplock contention limit\fR\fR\fI = \fR\fI\FC2\F[]\fR\fI \fR
    66837155.RE
    66847156
     
    66887160.RS 4
    66897161This boolean option tells
    6690 smbd
     7162\FCsmbd\F[]
    66917163whether 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
    6692 Speed\&.txt
     7164\FCSpeed\&.txt\F[]
    66937165in the Samba
    6694 docs/
     7166\FCdocs/\F[]
    66957167directory\&.
    66967168.sp
     
    67027174.sp
    67037175Default:
    6704 \fI\fIoplocks\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7176\fI\fIoplocks\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    67057177.RE
    67067178
     
    67147186.sp
    67157187For example, a valid entry using the HP LaserJet 5 printer driver would appear as
    6716 HP LaserJet 5L = LASERJET\&.HP LaserJet 5L\&.
     7188\FCHP LaserJet 5L = LASERJET\&.HP LaserJet 5L\F[]\&.
    67177189.sp
    67187190The 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\&.
    67197191.sp
    67207192Default:
    6721 \fI\fIos2 driver map\fR\fR\fI = \fR\fI\fR\fI \fR
     7193\fI\fIos2 driver map\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    67227194.RE
    67237195
     
    67387210.sp
    67397211Default:
    6740 \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
     7212\fI\fIos level\fR\fR\fI = \fR\fI\FC20\F[]\fR\fI \fR
     7213.sp
     7214Example:
     7215\fI\fIos level\fR\fR\fI = \fR\fI\FC65\F[]\fR\fI \fR
    67447216.RE
    67457217
     
    67547226.sp
    67557227Default:
    6756 \fI\fIpam password change\fR\fR\fI = \fR\fIno\fR\fI \fR
     7228\fI\fIpam password change\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    67577229.RE
    67587230
     
    67687240.sp
    67697241Default:
    6770 \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
     7242\fI\fIpanic action\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7243.sp
     7244Example:
     7245\fI\fIpanic action\fR\fR\fI = \fR\fI\FC"/bin/sleep 90000"\F[]\fR\fI \fR
    67747246.RE
    67757247
     
    67837255.sp
    67847256Default:
    6785 \fI\fIparanoid server security\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7257\fI\fIparanoid server security\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    67867258.RE
    67877259
     
    68047276.IP \(bu 2.3
    68057277.\}
    6806 smbpasswd
     7278\FCsmbpasswd\F[]
    68077279\- The default smbpasswd backend\&. Takes a path to the smbpasswd file as an optional argument\&.
    68087280.RE
     
    68167288.IP \(bu 2.3
    68177289.\}
    6818 tdbsam
     7290\FCtdbsam\F[]
    68197291\- The TDB based password storage backend\&. Takes a path to the TDB as an optional argument (defaults to passdb\&.tdb in the
    68207292\m[blue]\fBprivate dir\fR\m[]
     
    68307302.IP \(bu 2.3
    68317303.\}
    6832 ldapsam
     7304\FCldapsam\F[]
    68337305\- The LDAP based passdb backend\&. Takes an LDAP URL as an optional argument (defaults to
    6834 ldap://localhost)
     7306\FCldap://localhost\F[])
    68357307.sp
    68367308LDAP connections should be secured where possible\&. This may be done using either Start\-TLS (see
     
    68487320.RS 4
    68497321.\}
     7322.fam C
     7323.ps -1
    68507324.nf
     7325.if t \{\
     7326.sp -1
     7327.\}
     7328.BB lightgray adjust-for-leading-newline
     7329.sp -1
     7330
    68517331passdb backend = tdbsam:/etc/samba/private/passdb\&.tdb
    68527332
     
    68587338
    68597339passdb backend = ldapsam:"ldap://ldap\-1\&.example\&.com ldap\-2\&.example\&.com"
     7340.EB lightgray adjust-for-leading-newline
     7341.if t \{\
     7342.sp 1
     7343.\}
    68607344.fi
     7345.fam
     7346.ps +1
    68617347.if n \{\
    68627348.RE
     
    68647350.sp
    68657351Default:
    6866 \fI\fIpassdb backend\fR\fR\fI = \fR\fIsmbpasswd\fR\fI \fR
     7352\fI\fIpassdb backend\fR\fR\fI = \fR\fI\FCsmbpasswd\F[]\fR\fI \fR
    68677353.RE
    68687354
     
    68747360.sp
    68757361Default:
    6876 \fI\fIpassdb expand explicit\fR\fR\fI = \fR\fIno\fR\fI \fR
     7362\fI\fIpassdb expand explicit\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    68777363.RE
    68787364
     
    68887374\m[blue]\fBdebug level\fR\m[]
    68897375of 100\&. This is a dangerous option as it will allow plaintext passwords to be seen in the
    6890 smbd
     7376\FCsmbd\F[]
    68917377log\&. It is available to help Samba admins debug their
    68927378\fIpasswd chat\fR
     
    68987384.sp
    68997385Default:
    6900 \fI\fIpasswd chat debug\fR\fR\fI = \fR\fIno\fR\fI \fR
     7386\fI\fIpasswd chat debug\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    69017387.RE
    69027388
     
    69087394.sp
    69097395Default:
    6910 \fI\fIpasswd chat timeout\fR\fR\fI = \fR\fI2\fR\fI \fR
     7396\fI\fIpasswd chat timeout\fR\fR\fI = \fR\fI\FC2\F[]\fR\fI \fR
    69117397.RE
    69127398
     
    69507436.sp
    69517437Default:
    6952 \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
     7438\fI\fIpasswd chat\fR\fR\fI = \fR\fI\FC*new*password* %n\en*new*password* %n\en *changed*\F[]\fR\fI \fR
     7439.sp
     7440Example:
     7441\fI\fIpasswd chat\fR\fR\fI = \fR\fI\FC"*Enter NEW password*" %n\en "*Reenter NEW password*" %n\en "*Password changed*"\F[]\fR\fI \fR
    69567442.RE
    69577443
     
    69767462\fIAS ROOT\fR
    69777463before the SMB password in the smbpasswd file is changed\&. If this UNIX password change fails, then
    6978 smbd
     7464\FCsmbd\F[]
    69797465will fail to change the SMB password also (this is by design)\&.
    69807466.sp
     
    69917477.sp
    69927478Default:
    6993 \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
     7479\fI\fIpasswd program\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7480.sp
     7481Example:
     7482\fI\fIpasswd program\fR\fR\fI = \fR\fI\FC/bin/passwd %u\F[]\fR\fI \fR
    69977483.RE
    69987484
     
    70277513.sp
    70287514Default:
    7029 \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
     7515\fI\fIpassword level\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     7516.sp
     7517Example:
     7518\fI\fIpassword level\fR\fR\fI = \fR\fI\FC4\F[]\fR\fI \fR
    70337519.RE
    70347520
     
    70387524.RS 4
    70397525By specifying the name of another SMB server or Active Directory domain controller with this option, and using
    7040 security = [ads|domain|server]
     7526\FCsecurity = [ads|domain|server]\F[]
    70417527it is possible to get Samba to do all its username/password validation using a specific remote server\&.
    70427528.sp
     
    70527538.\}
    70537539.RS 4
     7540.BM yellow
    70547541.it 1 an-trap
    70557542.nr an-no-space-flag 1
     
    70637550\fIDO NOT CHOOSE A PASSWORD SERVER THAT YOU DON\'T COMPLETELY TRUST\fR\&.
    70647551.sp .5v
     7552.EM yellow
    70657553.RE
    70667554Never point a Samba server at itself for password serving\&. This will cause a loop and could lock up your Samba server!
     
    70757563or
    70767564\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
    7077 security = domain
     7565\FC security = domain\F[]
    70787566is that if you list several hosts in the
    70797567\fIpassword server\fR
    70807568option then
    7081 smbd
     7569\FCsmbd \F[]
    70827570will try each in turn till it finds one that responds\&. This is useful in case your primary server goes down\&.
    70837571.sp
     
    70947582parameter is set to
    70957583\fBserver\fR, then there are different restrictions that
    7096 security = domain
     7584\FCsecurity = domain\F[]
    70977585doesn\'t suffer from:
    70987586.sp
     
    71087596\fIpassword server\fR
    71097597parameter, however if an
    7110 smbd
     7598\FCsmbd\F[]
    71117599makes a connection to a password server, and then the password server fails, no more users will be able to be authenticated from this
    7112 smbd\&. This is a restriction of the SMB/CIFS protocol when in
    7113 security = server
     7600\FCsmbd\F[]\&. This is a restriction of the SMB/CIFS protocol when in
     7601\FCsecurity = server \F[]
    71147602mode and cannot be fixed in Samba\&.
    71157603.RE
     
    71247612.\}
    71257613If 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
    7126 security = server
     7614\FC security = server\F[]
    71277615mode the network logon will appear to come from there rather than from the users workstation\&.
    71287616.sp
    71297617.RE
    71307618Default:
    7131 \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
     7619\fI\fIpassword server\fR\fR\fI = \fR\fI\FC*\F[]\fR\fI \fR
     7620.sp
     7621Example:
     7622\fI\fIpassword server\fR\fR\fI = \fR\fI\FCNT\-PDC, NT\-BDC1, NT\-BDC2, *\F[]\fR\fI \fR
     7623.sp
     7624Example:
     7625\fI\fIpassword server\fR\fR\fI = \fR\fI\FCwindc\&.mydomain\&.com:389 192\&.168\&.1\&.101 *\F[]\fR\fI \fR
    71387626.RE
    71397627
     
    71657653.sp
    71667654Default:
    7167 \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
     7655\fI\fIpath\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7656.sp
     7657Example:
     7658\fI\fIpath\fR\fR\fI = \fR\fI\FC/home/fred\F[]\fR\fI \fR
    71717659.RE
    71727660
     
    71787666.sp
    71797667Default:
    7180 \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
     7668\fI\fIpid directory\fR\fR\fI = \fR\fI\FC${prefix}/var/locks\F[]\fR\fI \fR
     7669.sp
     7670Example:
     7671\fI\fIpid directory\fR\fR\fI = \fR\fI\FCpid directory = /var/run/\F[]\fR\fI \fR
    71847672.RE
    71857673
     
    71937681.sp
    71947682Default:
    7195 \fI\fIposix locking\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7683\fI\fIposix locking\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    71967684.RE
    71977685
     
    72047692An interesting example may be to unmount server resources:
    72057693.sp
    7206 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
     7694\FCpostexec = /etc/umount /cdrom\F[]
     7695.sp
     7696Default:
     7697\fI\fIpostexec\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7698.sp
     7699Example:
     7700\fI\fIpostexec\fR\fR\fI = \fR\fI\FCecho \e"%u disconnected from %S from %m (%I)\e" >> /tmp/log\F[]\fR\fI \fR
    72137701.RE
    72147702
     
    72227710.sp
    72237711Default:
    7224 \fI\fIpreexec close\fR\fR\fI = \fR\fIno\fR\fI \fR
     7712\fI\fIpreexec close\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    72257713.RE
    72267714
     
    72427730.sp
    72437731
    7244 preexec = csh \-c \'echo \e"Welcome to %S!\e" | /usr/local/samba/bin/smbclient \-M %m \-I %I\' &
     7732\FCpreexec = csh \-c \'echo \e"Welcome to %S!\e" | /usr/local/samba/bin/smbclient \-M %m \-I %I\' & \F[]
    72457733.sp
    72467734Of course, this could get annoying after a while :\-)
     
    72527740.sp
    72537741Default:
    7254 \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
     7742\fI\fIpreexec\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7743.sp
     7744Example:
     7745\fI\fIpreexec\fR\fR\fI = \fR\fI\FCecho \e"%u connected to %S from %m (%I)\e" >> /tmp/log\F[]\fR\fI \fR
    72587746.RE
    72597747
     
    72767764If this is set to
    72777765\fByes\fR, on startup,
    7278 nmbd
     7766\FCnmbd\F[]
    72797767will 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
    72807768\m[blue]\fBdomain master = yes\fR\m[], so that
    7281 nmbd
     7769\FCnmbd\F[]
    72827770can guarantee becoming a domain master\&.
    72837771.sp
     
    72857773.sp
    72867774Default:
    7287 \fI\fIpreferred master\fR\fR\fI = \fR\fIauto\fR\fI \fR
     7775\fI\fIpreferred master\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
    72887776.RE
    72897777
     
    72957783.sp
    72967784Default:
    7297 \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
     7785\fI\fIpreload modules\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7786.sp
     7787Example:
     7788\fI\fIpreload modules\fR\fR\fI = \fR\fI\FC/usr/lib/samba/passdb/mysql\&.so\F[]\fR\fI \fR
    73017789.RE
    73027790
     
    73207808.sp
    73217809Default:
    7322 \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
     7810\fI\fIpreload\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     7811.sp
     7812Example:
     7813\fI\fIpreload\fR\fR\fI = \fR\fI\FCfred lp colorlp\F[]\fR\fI \fR
    73267814.RE
    73277815
     
    73387826.sp
    73397827Default:
    7340 \fI\fIpreserve case\fR\fR\fI = \fR\fIyes\fR\fI \fR
     7828\fI\fIpreserve case\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    73417829.RE
    73427830
     
    73617849.sp
    73627850Default:
    7363 \fI\fIprintable\fR\fR\fI = \fR\fIno\fR\fI \fR
     7851\fI\fIprintable\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    73647852.RE
    73657853
     
    73737861.sp
    73747862Default:
    7375 \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
     7863\fI\fIprintcap cache time\fR\fR\fI = \fR\fI\FC750\F[]\fR\fI \fR
     7864.sp
     7865Example:
     7866\fI\fIprintcap cache time\fR\fR\fI = \fR\fI\FC600\F[]\fR\fI \fR
    73797867.RE
    73807868
     
    73927880.RS 4
    73937881This parameter may be used to override the compiled\-in default printcap name used by the server (usually
    7394 /etc/printcap)\&. See the discussion of the
     7882\FC /etc/printcap\F[])\&. See the discussion of the
    73957883[printers]
    73967884section above for reasons why you might want to do this\&.
    73977885.sp
    73987886To use the CUPS printing interface set
    7399 printcap name = cups\&. This should be supplemented by an addtional setting
     7887\FCprintcap name = cups \F[]\&. This should be supplemented by an addtional setting
    74007888\m[blue]\fBprinting = cups\fR\m[]
    74017889in the [global] section\&.
    7402 printcap name = cups
     7890\FCprintcap name = cups\F[]
    74037891will use the "dummy" printcap created by CUPS, as specified in your CUPS configuration file\&.
    74047892.sp
    74057893On System V systems that use
    7406 lpstat
     7894\FClpstat\F[]
    74077895to list available printers you can use
    7408 printcap name = lpstat
     7896\FCprintcap name = lpstat \F[]
    74097897to 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
    74107898\fI printcap name\fR
    74117899is set to
    7412 lpstat
     7900\FClpstat\F[]
    74137901on these systems then Samba will launch
    7414 lpstat \-v
     7902\FClpstat \-v\F[]
    74157903and attempt to parse the output to obtain a printer list\&.
    74167904.sp
     
    74207908.RS 4
    74217909.\}
     7910.fam C
     7911.ps -1
    74227912.nf
     7913.if t \{\
     7914.sp -1
     7915.\}
     7916.BB lightgray adjust-for-leading-newline
     7917.sp -1
     7918
    74237919print1|My Printer 1
    74247920print2|My Printer 2
     
    74267922print4|My Printer 4
    74277923print5|My Printer 5
     7924.EB lightgray adjust-for-leading-newline
     7925.if t \{\
     7926.sp 1
     7927.\}
    74287928.fi
     7929.fam
     7930.ps +1
    74297931.if n \{\
    74307932.RE
     
    74367938.\}
    74377939.RS 4
     7940.BM yellow
    74387941.it 1 an-trap
    74397942.nr an-no-space-flag 1
     
    74457948.br
    74467949Under AIX the default printcap name is
    7447 /etc/qconfig\&. Samba will assume the file is in AIX
    7448 qconfig
     7950\FC/etc/qconfig\F[]\&. Samba will assume the file is in AIX
     7951\FCqconfig\F[]
    74497952format if the string
    7450 qconfig
     7953\FCqconfig\F[]
    74517954appears in the printcap filename\&.
    74527955.sp .5v
    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
     7956.EM yellow
     7957.RE
     7958Default:
     7959\fI\fIprintcap name\fR\fR\fI = \fR\fI\FC/etc/printcap\F[]\fR\fI \fR
     7960.sp
     7961Example:
     7962\fI\fIprintcap name\fR\fR\fI = \fR\fI\FC/etc/myprintcap\F[]\fR\fI \fR
    74597963.RE
    74607964
     
    74647968.RS 4
    74657969After a print job has finished spooling to a service, this command will be used via a
    7466 system()
     7970\FCsystem()\F[]
    74677971call 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\&.
    74687972.sp
     
    75038007You 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\&.
    75048008.sp
    7505 print command = echo Printing %s >> /tmp/print\&.log; lpr \-P %p %s; rm %s
     8009\FCprint command = echo Printing %s >> /tmp/print\&.log; lpr \-P %p %s; rm %s\F[]
    75068010.sp
    75078011You 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
     
    75108014.sp
    75118015Default: For
    7512 printing = BSD, AIX, QNX, LPRNG or PLP :
    7513 .sp
    7514 print command = lpr \-r \-P%p %s
     8016\FCprinting = BSD, AIX, QNX, LPRNG or PLP :\F[]
     8017.sp
     8018\FCprint command = lpr \-r \-P%p %s\F[]
    75158019.sp
    75168020For
    7517 printing = SYSV or HPUX :
    7518 .sp
    7519 print command = lp \-c \-d%p %s; rm %s
     8021\FCprinting = SYSV or HPUX :\F[]
     8022.sp
     8023\FCprint command = lp \-c \-d%p %s; rm %s\F[]
    75208024.sp
    75218025For
    7522 printing = SOFTQ :
    7523 .sp
    7524 print command = lp \-d%p \-s %s; rm %s
     8026\FCprinting = SOFTQ :\F[]
     8027.sp
     8028\FCprint command = lp \-d%p \-s %s; rm %s\F[]
    75258029.sp
    75268030For printing = CUPS : If SAMBA is compiled against libcups, then
    75278031\m[blue]\fBprintcap = cups\fR\m[]
    75288032uses 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
    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\&.
     8033\FClp \-c \-d%p \-oraw; rm %s\F[]\&. With
     8034\FCprinting = cups\F[], and if SAMBA is compiled against libcups, any manually set print command will be ignored\&.
    75318035.sp
    75328036\fINo default\fR
    75338037.sp
    75348038Example:
    7535 \fI\fIprint command\fR\fR\fI = \fR\fI/usr/local/samba/bin/myprintscript %p %s\fR\fI \fR
     8039\fI\fIprint command\fR\fR\fI = \fR\fI\FC/usr/local/samba/bin/myprintscript %p %s\F[]\fR\fI \fR
    75368040.RE
    75378041
     
    75458049.sp
    75468050Default:
    7547 \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
     8051\fI\fIprinter admin\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     8052.sp
     8053Example:
     8054\fI\fIprinter admin\fR\fR\fI = \fR\fI\FCadmin, @staff\F[]\fR\fI \fR
    75518055.RE
    75528056
     
    75708074\m[blue]\fBprinter name\fR\m[]
    75718075may be
    7572 lp
     8076\FClp\F[]
    75738077on many systems\&.
    75748078.sp
    75758079Default:
    7576 \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
     8080\fI\fIprinter name\fR\fR\fI = \fR\fI\FCnone\F[]\fR\fI \fR
     8081.sp
     8082Example:
     8083\fI\fIprinter name\fR\fR\fI = \fR\fI\FClaserwriter\F[]\fR\fI \fR
    75808084.RE
    75818085
     
    76168120.sp
    76178121Default:
    7618 \fI\fIprinting\fR\fR\fI = \fR\fIDepends on the operating system, see testparm \-v\&.\fR\fI \fR
     8122\fI\fIprinting\fR\fR\fI = \fR\fI\FCDepends on the operating system, see \FCtestparm \-v\&.\F[]\F[]\fR\fI \fR
    76198123.RE
    76208124
     
    76268130.sp
    76278131Default:
    7628 \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
     8132\fI\fIprintjob username\fR\fR\fI = \fR\fI\FC%U\F[]\fR\fI \fR
     8133.sp
     8134Example:
     8135\fI\fIprintjob username\fR\fR\fI = \fR\fI\FC%D\e%U\F[]\fR\fI \fR
    76328136.RE
    76338137
     
    76378141.RS 4
    76388142This parameters defines the directory smbd will use for storing such files as
    7639 smbpasswd
     8143\FCsmbpasswd\F[]
    76408144and
    7641 secrets\&.tdb\&.
    7642 .sp
    7643 Default:
    7644 \fI\fIprivate dir\fR\fR\fI = \fR\fI${prefix}/private\fR\fI \fR
     8145\FCsecrets\&.tdb\F[]\&.
     8146.sp
     8147Default:
     8148\fI\fIprivate dir\fR\fR\fI = \fR\fI\FC${prefix}/private\F[]\fR\fI \fR
    76458149.RE
    76468150
     
    76568160.sp
    76578161Default:
    7658 \fI\fIprofile acls\fR\fR\fI = \fR\fIno\fR\fI \fR
     8162\fI\fIprofile acls\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    76598163.RE
    76608164
     
    76788182.sp
    76798183Example:
    7680 \fI\fIqueuepause command\fR\fR\fI = \fR\fIdisable %p\fR\fI \fR
     8184\fI\fIqueuepause command\fR\fR\fI = \fR\fI\FCdisable %p\F[]\fR\fI \fR
    76818185.RE
    76828186
     
    76988202.sp
    76998203Default:
    7700 \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
     8204\fI\fIqueueresume command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     8205.sp
     8206Example:
     8207\fI\fIqueueresume command\fR\fR\fI = \fR\fI\FCenable %p\F[]\fR\fI \fR
    77048208.RE
    77058209
     
    77198223.sp
    77208224Default:
    7721 \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
     8225\fI\fIread list\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     8226.sp
     8227Example:
     8228\fI\fIread list\fR\fR\fI = \fR\fI\FCmary, @students\F[]\fR\fI \fR
    77258229.RE
    77268230
     
    77358239\fByes\fR, then users of a service may not create or modify files in the service\'s directory\&.
    77368240.sp
    7737 Note that a printable service (printable = yes) will
     8241Note that a printable service (\FCprintable = yes\F[]) will
    77388242\fIALWAYS\fR
    77398243allow writing to the directory (user privileges permitting), but only via spooling operations\&.
    77408244.sp
    77418245Default:
    7742 \fI\fIread only\fR\fR\fI = \fR\fIyes\fR\fI \fR
     8246\fI\fIread only\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    77438247.RE
    77448248
     
    77568260.sp
    77578261Default:
    7758 \fI\fIread raw\fR\fR\fI = \fR\fIyes\fR\fI \fR
     8262\fI\fIread raw\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    77598263.RE
    77608264
     
    77648268.RS 4
    77658269This option specifies the kerberos realm to use\&. The realm is used as the ADS equivalent of the NT4
    7766 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
     8270\FCdomain\F[]\&. It is usually set to the DNS name of the kerberos server\&.
     8271.sp
     8272Default:
     8273\fI\fIrealm\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     8274.sp
     8275Example:
     8276\fI\fIrealm\fR\fR\fI = \fR\fI\FCmysambabox\&.mycompany\&.com\F[]\fR\fI \fR
    77738277.RE
    77748278
     
    77908294.sp
    77918295Default:
    7792 \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
     8296\fI\fIregistry shares\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
     8297.sp
     8298Example:
     8299\fI\fIregistry shares\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    77968300.RE
    77978301
     
    78118315.RS 4
    78128316.\}
     8317.fam C
     8318.ps -1
    78138319.nf
    7814 remote announce = 192\&.168\&.2\&.255/SERVERS 192\&.168\&.4\&.255/STAFF
     8320.if t \{\
     8321.sp -1
     8322.\}
     8323.BB lightgray adjust-for-leading-newline
     8324.sp -1
     8325
     8326\FCremote announce = 192\&.168\&.2\&.255/SERVERS 192\&.168\&.4\&.255/STAFF\F[]
     8327.EB lightgray adjust-for-leading-newline
     8328.if t \{\
     8329.sp 1
     8330.\}
    78158331.fi
     8332.fam
     8333.ps +1
    78168334.if n \{\
    78178335.RE
     
    78198337.sp
    78208338the above line would cause
    7821 nmbd
     8339\FCnmbd\F[]
    78228340to 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
    78238341\m[blue]\fBworkgroup\fR\m[]
     
    78298347.sp
    78308348Default:
    7831 \fI\fIremote announce\fR\fR\fI = \fR\fI\fR\fI \fR
     8349\fI\fIremote announce\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    78328350.RE
    78338351
     
    78478365.RS 4
    78488366.\}
     8367.fam C
     8368.ps -1
    78498369.nf
     8370.if t \{\
     8371.sp -1
     8372.\}
     8373.BB lightgray adjust-for-leading-newline
     8374.sp -1
     8375
    78508376\fIremote browse sync = 192\&.168\&.2\&.255 192\&.168\&.4\&.255\fR
     8377.EB lightgray adjust-for-leading-newline
     8378.if t \{\
     8379.sp 1
     8380.\}
    78518381.fi
     8382.fam
     8383.ps +1
    78528384.if n \{\
    78538385.RE
     
    78558387.sp
    78568388the above line would cause
    7857 nmbd
     8389\FCnmbd\F[]
    78588390to request the master browser on the specified subnets or addresses to synchronize their browse lists with the local server\&.
    78598391.sp
     
    78658397.sp
    78668398Default:
    7867 \fI\fIremote browse sync\fR\fR\fI = \fR\fI\fR\fI \fR
     8399\fI\fIremote browse sync\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    78688400.RE
    78698401
     
    78778409.sp
    78788410When 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,
    7879 %uold
     8411\FC%uold\F[]
    78808412and
    7881 %unew, will be substituted with the old and new usernames, respectively\&. The script should return 0 upon successful completion, and nonzero otherwise\&.
     8413\FC%unew\F[], will be substituted with the old and new usernames, respectively\&. The script should return 0 upon successful completion, and nonzero otherwise\&.
    78828414.if n \{\
    78838415.sp
    78848416.\}
    78858417.RS 4
     8418.BM yellow
    78868419.it 1 an-trap
    78878420.nr an-no-space-flag 1
     
    78948427The 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\&.
    78958428.sp .5v
    7896 .RE
    7897 Default:
    7898 \fI\fIrename user script\fR\fR\fI = \fR\fIno\fR\fI \fR
     8429.EM yellow
     8430.RE
     8431Default:
     8432\fI\fIrename user script\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    78998433.RE
    79008434
     
    79068440.sp
    79078441Default:
    7908 \fI\fIreset on zero vc\fR\fR\fI = \fR\fIno\fR\fI \fR
     8442\fI\fIreset on zero vc\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    79098443.RE
    79108444
     
    79188452.RS 4
    79198453.\}
     8454.fam C
     8455.ps -1
    79208456.nf
     8457.if t \{\
     8458.sp -1
     8459.\}
     8460.BB lightgray adjust-for-leading-newline
     8461.sp -1
     8462
    79218463HKEY_LOCAL_MACHINE\eSYSTEM\eCurrentControlSet\e
    79228464           Control\eLSA\eRestrictAnonymous
     8465.EB lightgray adjust-for-leading-newline
     8466.if t \{\
     8467.sp 1
     8468.\}
    79238469.fi
     8470.fam
     8471.ps +1
    79248472.if n \{\
    79258473.RE
     
    79338481.\}
    79348482.RS 4
     8483.BM yellow
    79358484.it 1 an-trap
    79368485.nr an-no-space-flag 1
     
    79458494on any share\&.
    79468495.sp .5v
    7947 .RE
    7948 Default:
    7949 \fI\fIrestrict anonymous\fR\fR\fI = \fR\fI0\fR\fI \fR
     8496.EM yellow
     8497.RE
     8498Default:
     8499\fI\fIrestrict anonymous\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
    79508500.RE
    79518501
     
    79718521.RS 4
    79728522The server will
    7973 chroot()
     8523\FCchroot()\F[]
    79748524(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
    79758525\m[blue]\fBwide smbconfoptions\fR\m[]
     
    79858535\fIroot directory\fR
    79868536tree\&. In particular you will need to mirror
    7987 /etc/passwd
     8537\FC/etc/passwd\F[]
    79888538(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\&.
    79898539.sp
    79908540Default:
    7991 \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
     8541\fI\fIroot directory\fR\fR\fI = \fR\fI\FC/\F[]\fR\fI \fR
     8542.sp
     8543Example:
     8544\fI\fIroot directory\fR\fR\fI = \fR\fI\FC/homes/smb\F[]\fR\fI \fR
    79958545.RE
    79968546
     
    80048554.sp
    80058555Default:
    8006 \fI\fIroot postexec\fR\fR\fI = \fR\fI\fR\fI \fR
     8556\fI\fIroot postexec\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    80078557.RE
    80088558
     
    80168566.sp
    80178567Default:
    8018 \fI\fIroot preexec close\fR\fR\fI = \fR\fIno\fR\fI \fR
     8568\fI\fIroot preexec close\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    80198569.RE
    80208570
     
    80288578.sp
    80298579Default:
    8030 \fI\fIroot preexec\fR\fR\fI = \fR\fI\fR\fI \fR
     8580\fI\fIroot preexec\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
    80318581.RE
    80328582
     
    80498599.sp
    80508600Default:
    8051 \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
     8601\fI\fIsecurity mask\fR\fR\fI = \fR\fI\FC0777\F[]\fR\fI \fR
     8602.sp
     8603Example:
     8604\fI\fIsecurity mask\fR\fR\fI = \fR\fI\FC0770\F[]\fR\fI \fR
    80558605.RE
    80568606
     
    80608610.RS 4
    80618611This option affects how clients respond to Samba and is one of the most important settings in the
    8062 smb\&.conf
     8612\FC smb\&.conf\F[]
    80638613file\&.
    80648614.sp
     
    80688618.sp
    80698619The default is
    8070 security = user, as this is the most common setting needed when talking to Windows 98 and Windows NT\&.
     8620\FCsecurity = user\F[], as this is the most common setting needed when talking to Windows 98 and Windows NT\&.
    80718621.sp
    80728622The alternatives are
    8073 security = share,
    8074 security = server
     8623\FCsecurity = share\F[],
     8624\FCsecurity = server\F[]
    80758625or
    8076 security = domain\&.
     8626\FCsecurity = domain \F[]\&.
    80778627.sp
    80788628In versions of Samba prior to 2\&.0\&.0, the default was
    8079 security = share
     8629\FCsecurity = share\F[]
    80808630mainly because that was the only option at one stage\&.
    80818631.sp
     
    80838633.sp
    80848634If your PCs use usernames that are the same as their usernames on the UNIX machine then you will want to use
    8085 security = user\&. If you mostly use usernames that don\'t exist on the UNIX box then use
    8086 security = share\&.
     8635\FCsecurity = user\F[]\&. If you mostly use usernames that don\'t exist on the UNIX box then use
     8636\FCsecurity = share\F[]\&.
    80878637.sp
    80888638You should also use
    8089 security = share
     8639\FCsecurity = share\F[]
    80908640if 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
    8091 security = user, see the
     8641\FCsecurity = user\F[], see the
    80928642\m[blue]\fBmap to guest\fR\m[]
    80938643parameter for details\&.
    80948644.sp
    80958645It is possible to use
    8096 smbd
     8646\FCsmbd\F[]
    80978647in a
    80988648\fI hybrid mode\fR
     
    81058655.sp
    81068656When 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
    8107 security = share
     8657\FCsecurity = share \F[]
    81088658server)\&. Instead, the clients send authentication information (passwords) on a per\-share basis, at the time they attempt to connect to that share\&.
    81098659.sp
    81108660Note that
    8111 smbd
     8661\FCsmbd\F[]
    81128662\fIALWAYS\fR
    81138663uses a valid UNIX user to act on behalf of the client, even in
    8114 security = share
     8664\FCsecurity = share\F[]
    81158665level security\&.
    81168666.sp
    81178667As clients are not required to send a username to the server in share level security,
    8118 smbd
     8668\FCsmbd\F[]
    81198669uses several techniques to determine the correct UNIX user to use on behalf of the client\&.
    81208670.sp
     
    82498799\fINote\fR
    82508800that from the client\'s point of view
    8251 security = domain
     8801\FCsecurity = domain\F[]
    82528802is the same as
    8253 security = user\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&.
     8803\FCsecurity = user\F[]\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&.
    82548804.sp
    82558805\fINote\fR
     
    82738823.sp
    82748824In 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
    8275 security = user\&. It expects the
     8825\FCsecurity = user\F[]\&. It expects the
    82768826\m[blue]\fBencrypted passwords\fR\m[]
    82778827parameter to be set to
    82788828\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
    8279 smbpasswd
     8829\FCsmbpasswd\F[]
    82808830file to check users against\&. See the chapter about the User Database in the Samba HOWTO Collection for details on how to set this up\&.
    82818831.if n \{\
     
    82838833.\}
    82848834.RS 4
     8835.BM yellow
    82858836.it 1 an-trap
    82868837.nr an-no-space-flag 1
     
    82938844This 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)\&.
    82948845.sp .5v
     8846.EM yellow
    82958847.RE
    82968848.if n \{\
     
    82988850.\}
    82998851.RS 4
     8852.BM yellow
    83008853.it 1 an-trap
    83018854.nr an-no-space-flag 1
     
    83078860.br
    83088861From the client\'s point of view,
    8309 security = server
     8862\FCsecurity = server\F[]
    83108863is the same as
    8311 security = user\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&.
     8864\FCsecurity = user\F[]\&. It only affects how the server deals with the authentication, it does not in any way affect what the client sees\&.
    83128865.sp .5v
     8866.EM yellow
    83138867.RE
    83148868\fINote\fR
     
    83388892.sp
    83398893Default:
    8340 \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
     8894\fI\fIsecurity\fR\fR\fI = \fR\fI\FCUSER\F[]\fR\fI \fR
     8895.sp
     8896Example:
     8897\fI\fIsecurity\fR\fR\fI = \fR\fI\FCDOMAIN\F[]\fR\fI \fR
    83448898.RE
    83458899
     
    83578911.sp
    83588912Please note that with this set to
    8359 no, you will have to apply the WindowsXP
    8360 WinXP_SignOrSeal\&.reg
     8913\FCno\F[], you will have to apply the WindowsXP
     8914\FCWinXP_SignOrSeal\&.reg\F[]
    83618915registry patch found in the docs/registry subdirectory of the Samba distribution tarball\&.
    83628916.sp
    83638917Default:
    8364 \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
     8918\fI\fIserver schannel\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
     8919.sp
     8920Example:
     8921\fI\fIserver schannel\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    83688922.RE
    83698923
     
    83818935.sp
    83828936Default:
    8383 \fI\fIserver signing\fR\fR\fI = \fR\fIDisabled\fR\fI \fR
     8937\fI\fIserver signing\fR\fR\fI = \fR\fI\FCDisabled\F[]\fR\fI \fR
    83848938.RE
    83858939
     
    83898943.RS 4
    83908944This controls what string will show up in the printer comment box in print manager and next to the IPC connection in
    8391 net view\&. It can be any string that you wish to show to your users\&.
     8945\FCnet view\F[]\&. It can be any string that you wish to show to your users\&.
    83928946.sp
    83938947It also sets what will appear in browse lists next to the machine name\&.
     
    84028956.sp
    84038957Default:
    8404 \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
     8958\fI\fIserver string\fR\fR\fI = \fR\fI\FCSamba %v\F[]\fR\fI \fR
     8959.sp
     8960Example:
     8961\fI\fIserver string\fR\fR\fI = \fR\fI\FCUniversity of GNUs Samba Server\F[]\fR\fI \fR
    84088962.RE
    84098963
     
    84138967.RS 4
    84148968If
    8415 set directory = no, then users of the service may not use the setdir command to change directory\&.
     8969\FCset directory = no\F[], then users of the service may not use the setdir command to change directory\&.
    84168970.sp
    84178971The
    8418 setdir
     8972\FCsetdir\F[]
    84198973command is only implemented in the Digital Pathworks client\&. See the Pathworks documentation for details\&.
    84208974.sp
    84218975Default:
    8422 \fI\fIset directory\fR\fR\fI = \fR\fIno\fR\fI \fR
     8976\fI\fIset directory\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    84238977.RE
    84248978
     
    84288982.RS 4
    84298983Thanks 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
    8430 net rpc vampire\&.
     8984\FCnet rpc vampire\F[]\&.
    84318985\fI%u\fR
    84328986will be replaced with the user whose primary group is to be set\&.
     
    84358989.sp
    84368990Default:
    8437 \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
     8991\fI\fIset primary group script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     8992.sp
     8993Example:
     8994\fI\fIset primary group script\fR\fR\fI = \fR\fI\FC/usr/sbin/usermod \-g \'%g\' \'%u\'\F[]\fR\fI \fR
    84418995.RE
    84428996
     
    84469000.RS 4
    84479001The
    8448 set quota command
     9002\FCset quota command\F[]
    84499003should only be used whenever there is no operating system API available from the OS that samba can use\&.
    84509004.sp
    84519005This option is only available if Samba was configured with the argument
    8452 \-\-with\-sys\-quotas
     9006\FC\-\-with\-sys\-quotas\F[]
    84539007or on linux when
    8454 \&./configure \-\-with\-quotas
     9008\FC\&./configure \-\-with\-quotas\F[]
    84559009was used and a working quota api was found in the system\&. Most packages are configured with these options already\&.
    84569010.sp
     
    85959149.sp
    85969150Default:
    8597 \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
     9151\fI\fIset quota command\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     9152.sp
     9153Example:
     9154\fI\fIset quota command\fR\fR\fI = \fR\fI\FC/usr/local/sbin/set_quota\F[]\fR\fI \fR
    86019155.RE
    86029156
     
    86229176.sp
    86239177Default:
    8624 \fI\fIshare modes\fR\fR\fI = \fR\fIyes\fR\fI \fR
     9178\fI\fIshare modes\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    86259179.RE
    86269180
     
    86389192.sp
    86399193Default:
    8640 \fI\fIshort preserve case\fR\fR\fI = \fR\fIyes\fR\fI \fR
     9194\fI\fIshort preserve case\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    86419195.RE
    86429196
     
    86589212.\}
    86599213.RS 4
     9214.BM yellow
    86609215.it 1 an-trap
    86619216.nr an-no-space-flag 1
     
    86689223This does not prevent the same user from having administrative privilege on an individual printer\&.
    86699224.sp .5v
    8670 .RE
    8671 Default:
    8672 \fI\fIshow add printer wizard\fR\fR\fI = \fR\fIyes\fR\fI \fR
     9225.EM yellow
     9226.RE
     9227Default:
     9228\fI\fIshow add printer wizard\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    86739229.RE
    86749230
     
    87419297.RS 4
    87429298.\}
     9299.fam C
     9300.ps -1
    87439301.nf
     9302.if t \{\
     9303.sp -1
     9304.\}
     9305.BB lightgray adjust-for-leading-newline
     9306.sp -1
     9307
    87449308#!/bin/bash
    87459309
     
    87509314/sbin/shutdown $3 $4 +$time $1 &
    87519315
     9316.EB lightgray adjust-for-leading-newline
     9317.if t \{\
     9318.sp 1
     9319.\}
    87529320.fi
     9321.fam
     9322.ps +1
    87539323.if n \{\
    87549324.RE
     
    87589328.sp
    87599329Default:
    8760 \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
     9330\fI\fIshutdown script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     9331.sp
     9332Example:
     9333\fI\fIshutdown script\fR\fR\fI = \fR\fI\FC/usr/local/samba/sbin/shutdown %m %t %r %f\F[]\fR\fI \fR
    87649334.RE
    87659335
     
    87859355.sp
    87869356Default:
    8787 \fI\fIsmb encrypt\fR\fR\fI = \fR\fIauto\fR\fI \fR
     9357\fI\fIsmb encrypt\fR\fR\fI = \fR\fI\FCauto\F[]\fR\fI \fR
    87889358.RE
    87899359
     
    87999369.RS 4
    88009370.\}
     9371.fam C
     9372.ps -1
    88019373.nf
     9374.if t \{\
     9375.sp -1
     9376.\}
     9377.BB lightgray adjust-for-leading-newline
     9378.sp -1
     9379
    88029380smb passwd file = /etc/samba/smbpasswd
     9381.EB lightgray adjust-for-leading-newline
     9382.if t \{\
     9383.sp 1
     9384.\}
    88039385.fi
     9386.fam
     9387.ps +1
    88049388.if n \{\
    88059389.RE
     
    88079391.sp
    88089392Default:
    8809 \fI\fIsmb passwd file\fR\fR\fI = \fR\fI${prefix}/private/smbpasswd\fR\fI \fR
     9393\fI\fIsmb passwd file\fR\fR\fI = \fR\fI\FC${prefix}/private/smbpasswd\F[]\fR\fI \fR
    88109394.RE
    88119395
     
    88179401.sp
    88189402Default:
    8819 \fI\fIsmb ports\fR\fR\fI = \fR\fI445 139\fR\fI \fR
     9403\fI\fIsmb ports\fR\fR\fI = \fR\fI\FC445 139\F[]\fR\fI \fR
    88209404.RE
    88219405
     
    88319415.sp
    88329416Default:
    8833 \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
     9417\fI\fIsocket address\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     9418.sp
     9419Example:
     9420\fI\fIsocket address\fR\fR\fI = \fR\fI\FC192\&.168\&.2\&.20\F[]\fR\fI \fR
    88379421.RE
    88389422
     
    88469430.sp
    88479431This 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
    8848 man setsockopt
     9432\FCman setsockopt\F[]
    88499433will help)\&.
    88509434.sp
     
    89719555.sp
    89729556To specify an argument use the syntax SOME_OPTION = VALUE for example
    8973 SO_SNDBUF = 8192\&. Note that you must not have any spaces before or after the = sign\&.
     9557\FCSO_SNDBUF = 8192\F[]\&. Note that you must not have any spaces before or after the = sign\&.
    89749558.sp
    89759559If you are on a local network then a sensible option might be:
    89769560.sp
    8977 socket options = IPTOS_LOWDELAY
     9561\FCsocket options = IPTOS_LOWDELAY\F[]
    89789562.sp
    89799563If you have a local network then you could try:
    89809564.sp
    8981 socket options = IPTOS_LOWDELAY TCP_NODELAY
     9565\FCsocket options = IPTOS_LOWDELAY TCP_NODELAY\F[]
    89829566.sp
    89839567If you are on a wide area network then perhaps try setting IPTOS_THROUGHPUT\&.
     
    89869570.sp
    89879571Default:
    8988 \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
     9572\fI\fIsocket options\fR\fR\fI = \fR\fI\FCTCP_NODELAY\F[]\fR\fI \fR
     9573.sp
     9574Example:
     9575\fI\fIsocket options\fR\fR\fI = \fR\fI\FCIPTOS_LOWDELAY\F[]\fR\fI \fR
    89929576.RE
    89939577
     
    90019585.sp
    90029586Default:
    9003 \fI\fIstat cache\fR\fR\fI = \fR\fIyes\fR\fI \fR
     9587\fI\fIstat cache\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    90049588.RE
    90059589
     
    90209604.sp
    90219605Default:
    9022 \fI\fIstore dos attributes\fR\fR\fI = \fR\fIno\fR\fI \fR
     9606\fI\fIstore dos attributes\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    90239607.RE
    90249608
     
    90409624.sp
    90419625Default:
    9042 \fI\fIstrict allocate\fR\fR\fI = \fR\fIno\fR\fI \fR
     9626\fI\fIstrict allocate\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    90439627.RE
    90449628
     
    90559639.sp
    90569640Well\-behaved clients always ask for lock checks when it is important\&. So in the vast majority of cases,
    9057 strict locking = Auto
     9641\FCstrict locking = Auto\F[]
    90589642or
    9059 strict locking = no
     9643\FCstrict locking = no\F[]
    90609644is acceptable\&.
    90619645.sp
    90629646Default:
    9063 \fI\fIstrict locking\fR\fR\fI = \fR\fIAuto\fR\fI \fR
     9647\fI\fIstrict locking\fR\fR\fI = \fR\fI\FCAuto\F[]\fR\fI \fR
    90649648.RE
    90659649
     
    90759659.sp
    90769660Default:
    9077 \fI\fIstrict sync\fR\fR\fI = \fR\fIno\fR\fI \fR
     9661\fI\fIstrict sync\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    90789662.RE
    90799663
     
    90859669.sp
    90869670The administrator must create a directory name
    9087 svcctl
     9671\FCsvcctl\F[]
    90889672in Samba\'s $(libdir) and create symbolic links to the init scripts in
    9089 /etc/init\&.d/\&. The name of the links must match the names given as part of the
     9673\FC/etc/init\&.d/\F[]\&. The name of the links must match the names given as part of the
    90909674\fIsvcctl list\fR\&.
    90919675.sp
    90929676Default:
    9093 \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
     9677\fI\fIsvcctl list\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     9678.sp
     9679Example:
     9680\fI\fIsvcctl list\fR\fR\fI = \fR\fI\FCcups postfix portmap httpd\F[]\fR\fI \fR
    90979681.RE
    90989682
     
    91069690\fByes\fR
    91079691then every write will be followed by a
    9108 fsync()
     9692\FCfsync() \F[]
    91099693call to ensure the data is written to disk\&. Note that the
    91109694\fIstrict sync\fR
     
    91149698.sp
    91159699Default:
    9116 \fI\fIsync always\fR\fR\fI = \fR\fIno\fR\fI \fR
     9700\fI\fIsync always\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    91179701.RE
    91189702
     
    91269710.sp
    91279711Default:
    9128 \fI\fIsyslog only\fR\fR\fI = \fR\fIno\fR\fI \fR
     9712\fI\fIsyslog only\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    91299713.RE
    91309714
     
    91449728.sp
    91459729Default:
    9146 \fI\fIsyslog\fR\fR\fI = \fR\fI1\fR\fI \fR
     9730\fI\fIsyslog\fR\fR\fI = \fR\fI\FC1\F[]\fR\fI \fR
    91479731.RE
    91489732
     
    91609744.sp
    91619745Default:
    9162 \fI\fItemplate homedir\fR\fR\fI = \fR\fI/home/%D/%U\fR\fI \fR
     9746\fI\fItemplate homedir\fR\fR\fI = \fR\fI\FC/home/%D/%U\F[]\fR\fI \fR
    91639747.RE
    91649748
     
    91819765.sp
    91829766Default:
    9183 \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
     9767\fI\fItime offset\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     9768.sp
     9769Example:
     9770\fI\fItime offset\fR\fR\fI = \fR\fI\FC60\F[]\fR\fI \fR
    91879771.RE
    91889772
     
    91969780.sp
    91979781Default:
    9198 \fI\fItime server\fR\fR\fI = \fR\fIno\fR\fI \fR
     9782\fI\fItime server\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    91999783.RE
    92009784
     
    92089792.sp
    92099793Default:
    9210 \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
     9794\fI\fIunix charset\fR\fR\fI = \fR\fI\FCUTF8\F[]\fR\fI \fR
     9795.sp
     9796Example:
     9797\fI\fIunix charset\fR\fR\fI = \fR\fI\FCASCII\F[]\fR\fI \fR
    92149798.RE
    92159799
     
    92209804This boolean parameter controls whether Samba implements the CIFS UNIX extensions, as defined by HP\&. These extensions enable Samba to better serve UNIX CIFS clients by supporting features such as symbolic links, hard links, etc\&.\&.\&. These extensions require a similarly enabled client, and are of no current use to Windows clients\&.
    92219805.sp
    9222 Default:
    9223 \fI\fIunix extensions\fR\fR\fI = \fR\fIyes\fR\fI \fR
     9806Note if this parameter is turned on, the
     9807\m[blue]\fBwide links\fR\m[]
     9808parameter will automatically be disabled\&.
     9809.sp
     9810Default:
     9811\fI\fIunix extensions\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    92249812.RE
    92259813
     
    92379825.sp
    92389826Default:
    9239 \fI\fIunix password sync\fR\fR\fI = \fR\fIno\fR\fI \fR
     9827\fI\fIunix password sync\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    92409828.RE
    92419829
     
    92589846.sp
    92599847Note that even when this parameter is set, a user authenticating to
    9260 smbd
     9848\FCsmbd\F[]
    92619849must still enter a valid password in order to connect correctly, and to update their hashed (smbpasswd) passwords\&.
    92629850.sp
    92639851Default:
    9264 \fI\fIupdate encrypted\fR\fR\fI = \fR\fIno\fR\fI \fR
     9852\fI\fIupdate encrypted\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    92659853.RE
    92669854
     
    92709858.RS 4
    92719859This 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
    9272 disable spoolss = yes\&.
     9860\FCdisable spoolss = yes\F[]\&.
    92739861.sp
    92749862The 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)\&.
     
    92789866.sp
    92799867Default:
    9280 \fI\fIuse client driver\fR\fR\fI = \fR\fIno\fR\fI \fR
     9868\fI\fIuse client driver\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    92819869.RE
    92829870
     
    92919879.sp
    92929880When you are using the heimdal Kerberos libraries, you must also specify the following in
    9293 /etc/krb5\&.conf:
     9881\FC/etc/krb5\&.conf\F[]:
    92949882.sp
    92959883.if n \{\
    92969884.RS 4
    92979885.\}
     9886.fam C
     9887.ps -1
    92989888.nf
     9889.if t \{\
     9890.sp -1
     9891.\}
     9892.BB lightgray adjust-for-leading-newline
     9893.sp -1
     9894
    92999895[libdefaults]
    93009896default_keytab_name = FILE:/etc/krb5\&.keytab
     9897.EB lightgray adjust-for-leading-newline
     9898.if t \{\
     9899.sp 1
     9900.\}
    93019901.fi
     9902.fam
     9903.ps +1
    93029904.if n \{\
    93039905.RE
     
    93059907.sp
    93069908Default:
    9307 \fI\fIuse kerberos keytab\fR\fR\fI = \fR\fIFalse\fR\fI \fR
     9909\fI\fIuse kerberos keytab\fR\fR\fI = \fR\fI\FCFalse\F[]\fR\fI \fR
    93089910.RE
    93099911
     
    93179919.sp
    93189920Default:
    9319 \fI\fIuse mmap\fR\fR\fI = \fR\fIyes\fR\fI \fR
     9921\fI\fIuse mmap\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    93209922.RE
    93219923
     
    93329934.sp
    93339935Default:
    9334 \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
     9936\fI\fIusername level\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     9937.sp
     9938Example:
     9939\fI\fIusername level\fR\fR\fI = \fR\fI\FC5\F[]\fR\fI \fR
    93389940.RE
    93399941
     
    93479949.sp
    93489950Default:
    9349 \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
     9951\fI\fIusername map script\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     9952.sp
     9953Example:
     9954\fI\fIusername map script\fR\fR\fI = \fR\fI\FC/etc/samba/scripts/mapusers\&.sh\F[]\fR\fI \fR
    93539955.RE
    93549956
     
    93609962.sp
    93619963Please 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 =
    9362 DOMAIN\efoo)\&.
     9964\FCDOMAIN\efoo\F[])\&.
    93639965.sp
    93649966The 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\&.
     
    93819983.RS 4
    93829984.\}
     9985.fam C
     9986.ps -1
    93839987.nf
    9384 root = admin administrator
     9988.if t \{\
     9989.sp -1
     9990.\}
     9991.BB lightgray adjust-for-leading-newline
     9992.sp -1
     9993
     9994\FCroot = admin administrator\F[]
     9995.EB lightgray adjust-for-leading-newline
     9996.if t \{\
     9997.sp 1
     9998.\}
    93859999.fi
     10000.fam
     10001.ps +1
    938610002.if n \{\
    938710003.RE
     
    939710013.RS 4
    939810014.\}
     10015.fam C
     10016.ps -1
    939910017.nf
    9400 sys = @system
     10018.if t \{\
     10019.sp -1
     10020.\}
     10021.BB lightgray adjust-for-leading-newline
     10022.sp -1
     10023
     10024\FCsys = @system\F[]
     10025.EB lightgray adjust-for-leading-newline
     10026.if t \{\
     10027.sp 1
     10028.\}
    940110029.fi
     10030.fam
     10031.ps +1
    940210032.if n \{\
    940310033.RE
     
    940710037.sp
    940810038If your system supports the NIS NETGROUP option then the netgroup database is checked before the
    9409 /etc/group
     10039\FC/etc/group \F[]
    941010040database for matching groups\&.
    941110041.sp
     
    941510045.RS 4
    941610046.\}
     10047.fam C
     10048.ps -1
    941710049.nf
    9418 tridge = "Andrew Tridgell"
     10050.if t \{\
     10051.sp -1
     10052.\}
     10053.BB lightgray adjust-for-leading-newline
     10054.sp -1
     10055
     10056\FCtridge = "Andrew Tridgell"\F[]
     10057.EB lightgray adjust-for-leading-newline
     10058.if t \{\
     10059.sp 1
     10060.\}
    941910061.fi
     10062.fam
     10063.ps +1
    942010064.if n \{\
    942110065.RE
     
    942910073.RS 4
    943010074.\}
     10075.fam C
     10076.ps -1
    943110077.nf
     10078.if t \{\
     10079.sp -1
     10080.\}
     10081.BB lightgray adjust-for-leading-newline
     10082.sp -1
     10083
    943210084!sys = mary fred
    943310085guest = *
     10086.EB lightgray adjust-for-leading-newline
     10087.if t \{\
     10088.sp 1
     10089.\}
    943410090.fi
     10091.fam
     10092.ps +1
    943510093.if n \{\
    943610094.RE
     
    945110109.sp
    945210110Samba versions prior to 3\&.0\&.8 would only support reading the fully qualified username (e\&.g\&.:
    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\&.
     10111\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\&.
    945410112.sp
    945510113The following functionality is obeyed in version 3\&.0\&.8 and later:
     
    945810116.sp
    945910117When relying upon a external domain controller for validating authentication requests, smbd will apply the username map to the fully qualified username (i\&.e\&.
    9460 DOMAIN\euser) only after the user has been successfully authenticated\&.
     10118\FCDOMAIN\euser\F[]) only after the user has been successfully authenticated\&.
    946110119.sp
    946210120An example of use is:
     
    946510123.RS 4
    946610124.\}
     10125.fam C
     10126.ps -1
    946710127.nf
     10128.if t \{\
     10129.sp -1
     10130.\}
     10131.BB lightgray adjust-for-leading-newline
     10132.sp -1
     10133
    946810134username map = /usr/local/samba/lib/users\&.map
     10135.EB lightgray adjust-for-leading-newline
     10136.if t \{\
     10137.sp 1
     10138.\}
    946910139.fi
     10140.fam
     10141.ps +1
    947010142.if n \{\
    947110143.RE
     
    947310145.sp
    947410146Default:
    9475 \fI\fIusername map\fR\fR\fI = \fR\fI # no username map\fR\fI \fR
     10147\fI\fIusername map\fR\fR\fI = \fR\fI\FC # no username map\F[]\fR\fI \fR
    947610148.RE
    947710149
     
    952710199.sp
    952810200Default:
    9529 \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
     10201\fI\fIusername\fR\fR\fI = \fR\fI\FC # The guest account if a guest service, else <empty string>\&.\F[]\fR\fI \fR
     10202.sp
     10203Example:
     10204\fI\fIusername\fR\fR\fI = \fR\fI\FCfred, mary, jack, jane, @users, @pcgroup\F[]\fR\fI \fR
    953310205.RE
    953410206
     
    954210214.sp
    954310215Default:
    9544 \fI\fIusershare allow guests\fR\fR\fI = \fR\fIno\fR\fI \fR
     10216\fI\fIusershare allow guests\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    954510217.RE
    954610218
     
    955210224.sp
    955310225Default:
    9554 \fI\fIusershare max shares\fR\fR\fI = \fR\fI0\fR\fI \fR
     10226\fI\fIusershare max shares\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
    955510227.RE
    955610228
     
    956210234.sp
    956310235Default:
    9564 \fI\fIusershare owner only\fR\fR\fI = \fR\fITrue\fR\fI \fR
     10236\fI\fIusershare owner only\fR\fR\fI = \fR\fI\FCTrue\F[]\fR\fI \fR
    956510237.RE
    956610238
     
    957810250.RS 4
    957910251.\}
     10252.fam C
     10253.ps -1
    958010254.nf
     10255.if t \{\
     10256.sp -1
     10257.\}
     10258.BB lightgray adjust-for-leading-newline
     10259.sp -1
     10260
    958110261        ls \-ld /usr/local/samba/lib/usershares/
    958210262        drwxrwx\-\-T  2 root power_users 4096 2006\-05\-05 12:27 /usr/local/samba/lib/usershares/
    958310263       
     10264.EB lightgray adjust-for-leading-newline
     10265.if t \{\
     10266.sp 1
     10267.\}
    958410268.fi
     10269.fam
     10270.ps +1
    958510271.if n \{\
    958610272.RE
     
    959010276.sp
    959110277Default:
    9592 \fI\fIusershare path\fR\fR\fI = \fR\fINULL\fR\fI \fR
     10278\fI\fIusershare path\fR\fR\fI = \fR\fI\FCNULL\F[]\fR\fI \fR
    959310279.RE
    959410280
     
    960210288.sp
    960310289Default:
    9604 \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
     10290\fI\fIusershare prefix allow list\fR\fR\fI = \fR\fI\FCNULL\F[]\fR\fI \fR
     10291.sp
     10292Example:
     10293\fI\fIusershare prefix allow list\fR\fR\fI = \fR\fI\FC/home /data /space\F[]\fR\fI \fR
    960810294.RE
    960910295
     
    961710303.sp
    961810304Default:
    9619 \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
     10305\fI\fIusershare prefix deny list\fR\fR\fI = \fR\fI\FCNULL\F[]\fR\fI \fR
     10306.sp
     10307Example:
     10308\fI\fIusershare prefix deny list\fR\fR\fI = \fR\fI\FC/etc /dev /private\F[]\fR\fI \fR
    962310309.RE
    962410310
     
    963210318.sp
    963310319Default:
    9634 \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
     10320\fI\fIusershare template share\fR\fR\fI = \fR\fI\FCNULL\F[]\fR\fI \fR
     10321.sp
     10322Example:
     10323\fI\fIusershare template share\fR\fR\fI = \fR\fI\FCtemplate_share\F[]\fR\fI \fR
    963810324.RE
    963910325
     
    964810334.sp
    964910335Default:
    9650 \fI\fIuse sendfile\fR\fR\fI = \fR\fIfalse\fR\fI \fR
     10336\fI\fIuse sendfile\fR\fR\fI = \fR\fI\FCfalse\F[]\fR\fI \fR
    965110337.RE
    965210338
     
    966010346.sp
    966110347Default:
    9662 \fI\fIuse spnego\fR\fR\fI = \fR\fIyes\fR\fI \fR
     10348\fI\fIuse spnego\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    966310349.RE
    966410350
     
    966810354.RS 4
    966910355This parameter is only available if Samba has been configured and compiled with the option
    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
     10356\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 (usually
     10357\FC/var/run/utmp\F[]
    967210358on Linux)\&.
    967310359.sp
    967410360Default:
    9675 \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
     10361\fI\fIutmp directory\fR\fR\fI = \fR\fI\FC # Determined automatically\F[]\fR\fI \fR
     10362.sp
     10363Example:
     10364\fI\fIutmp directory\fR\fR\fI = \fR\fI\FC/var/run/utmp\F[]\fR\fI \fR
    967910365.RE
    968010366
     
    968410370.RS 4
    968510371This boolean parameter is only available if Samba has been configured and compiled with the option
    9686 \-\-with\-utmp\&. If set to
     10372\FC\-\-with\-utmp\F[]\&. If set to
    968710373\fByes\fR
    968810374then 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\&.
     
    969110377.sp
    969210378Default:
    9693 \fI\fIutmp\fR\fR\fI = \fR\fIno\fR\fI \fR
     10379\fI\fIutmp\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    969410380.RE
    969510381
     
    971010396.sp
    971110397Default:
    9712 \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
     10398\fI\fIvalid users\fR\fR\fI = \fR\fI\FC # No valid users list (anyone can login) \F[]\fR\fI \fR
     10399.sp
     10400Example:
     10401\fI\fIvalid users\fR\fR\fI = \fR\fI\FCgreg, @pcusers\F[]\fR\fI \fR
    971610402.RE
    971710403
     
    972510411.sp
    972610412Default:
    9727 \fI\fI\-valid\fR\fR\fI = \fR\fIyes\fR\fI \fR
     10413\fI\fI\-valid\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    972810414.RE
    972910415
     
    975610442.RS 4
    975710443.\}
     10444.fam C
     10445.ps -1
    975810446.nf
     10447.if t \{\
     10448.sp -1
     10449.\}
     10450.BB lightgray adjust-for-leading-newline
     10451.sp -1
     10452
    975910453; Veto any files containing the word Security,
    976010454; any ending in \&.tmp, and any directory containing the
     
    976510459; creates\&.
    976610460veto files = /\&.AppleDouble/\&.bin/\&.AppleDesktop/Network Trash Folder/
     10461.EB lightgray adjust-for-leading-newline
     10462.if t \{\
     10463.sp 1
     10464.\}
    976710465.fi
     10466.fam
     10467.ps +1
    976810468.if n \{\
    976910469.RE
     
    977110471.sp
    977210472Default:
    9773 \fI\fIveto files\fR\fR\fI = \fR\fINo files or directories are vetoed\&.\fR\fI \fR
     10473\fI\fIveto files\fR\fR\fI = \fR\fI\FCNo files or directories are vetoed\&.\F[]\fR\fI \fR
    977410474.RE
    977510475
     
    978510485.sp
    978610486You 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
    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\&.
     10487\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\&.
    978810488.sp
    978910489An example of use is:
     
    979210492.RS 4
    979310493.\}
     10494.fam C
     10495.ps -1
    979410496.nf
     10497.if t \{\
     10498.sp -1
     10499.\}
     10500.BB lightgray adjust-for-leading-newline
     10501.sp -1
     10502
    979510503veto oplock files = /\&.*SEM/
     10504.EB lightgray adjust-for-leading-newline
     10505.if t \{\
     10506.sp 1
     10507.\}
    979610508.fi
     10509.fam
     10510.ps +1
    979710511.if n \{\
    979810512.RE
     
    980010514.sp
    980110515Default:
    9802 \fI\fIveto oplock files\fR\fR\fI = \fR\fI # No files are vetoed for oplock grants\fR\fI \fR
     10516\fI\fIveto oplock files\fR\fR\fI = \fR\fI\FC # No files are vetoed for oplock grants\F[]\fR\fI \fR
    980310517.RE
    980410518
     
    981810532.sp
    981910533Default:
    9820 \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
     10534\fI\fIvfs objects\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     10535.sp
     10536Example:
     10537\fI\fIvfs objects\fR\fR\fI = \fR\fI\FCextd_audit recycle\F[]\fR\fI \fR
    982410538.RE
    982510539
     
    983110545.sp
    983210546Default:
    9833 \fI\fIvolume\fR\fR\fI = \fR\fI # the name of the share\fR\fI \fR
     10547\fI\fIvolume\fR\fR\fI = \fR\fI\FC # the name of the share\F[]\fR\fI \fR
    983410548.RE
    983510549
     
    984010554This parameter controls whether or not links in the UNIX file system may be followed by the server\&. Links that point to areas within the directory tree exported by the server are always allowed; this parameter controls access only to areas that are outside the directory tree being exported\&.
    984110555.sp
    9842 Note that setting this parameter can have a negative effect on your server performance due to the extra system calls that Samba has to do in order to perform the link checks\&.
    9843 .sp
    9844 Default:
    9845 \fI\fIwide links\fR\fR\fI = \fR\fIyes\fR\fI \fR
     10556Note: Turning this parameter on when UNIX extensions are enabled will allow UNIX clients to create symbolic links on the share that can point to files or directories outside restricted path exported by the share definition\&. This can cause access to areas outside of the share\&. Due to this problem, this parameter will be automatically disabled (with a message in the log file) if the
     10557\m[blue]\fBunix extensions\fR\m[]
     10558option is on\&.
     10559.sp
     10560Default:
     10561\fI\fIwide links\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    984610562.RE
    984710563
     
    985910575.sp
    986010576Default:
    9861 \fI\fIwinbind cache time\fR\fR\fI = \fR\fI300\fR\fI \fR
     10577\fI\fIwinbind cache time\fR\fR\fI = \fR\fI\FC300\F[]\fR\fI \fR
    986210578.RE
    986310579
     
    986910585\fBwinbindd\fR(8)
    987010586it may be necessary to suppress the enumeration of groups through the
    9871 setgrent(),
    9872 getgrent()
     10587\FCsetgrent()\F[],
     10588\FCgetgrent()\F[]
    987310589and
    9874 endgrent()
     10590\FCendgrent()\F[]
    987510591group of system calls\&. If the
    987610592\fIwinbind enum groups\fR
    987710593parameter is
    987810594\fBno\fR, calls to the
    9879 getgrent()
     10595\FCgetgrent()\F[]
    988010596system call will not return any data\&.
    988110597.if n \{\
     
    988310599.\}
    988410600.RS 4
     10601.BM yellow
    988510602.it 1 an-trap
    988610603.nr an-no-space-flag 1
     
    989310610Turning off group enumeration may cause some programs to behave oddly\&.
    989410611.sp .5v
    9895 .RE
    9896 Default:
    9897 \fI\fIwinbind enum groups\fR\fR\fI = \fR\fIno\fR\fI \fR
     10612.EM yellow
     10613.RE
     10614Default:
     10615\fI\fIwinbind enum groups\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    989810616.RE
    989910617
     
    990510623\fBwinbindd\fR(8)
    990610624it may be necessary to suppress the enumeration of users through the
    9907 setpwent(),
    9908 getpwent()
     10625\FCsetpwent()\F[],
     10626\FCgetpwent()\F[]
    990910627and
    9910 endpwent()
     10628\FCendpwent()\F[]
    991110629group of system calls\&. If the
    991210630\fIwinbind enum users\fR
    991310631parameter is
    991410632\fBno\fR, calls to the
    9915 getpwent
     10633\FCgetpwent\F[]
    991610634system call will not return any data\&.
    991710635.if n \{\
     
    991910637.\}
    992010638.RS 4
     10639.BM yellow
    992110640.it 1 an-trap
    992210641.nr an-no-space-flag 1
     
    992910648Turning 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\&.
    993010649.sp .5v
    9931 .RE
    9932 Default:
    9933 \fI\fIwinbind enum users\fR\fR\fI = \fR\fIno\fR\fI \fR
     10650.EM yellow
     10651.RE
     10652Default:
     10653\fI\fIwinbind enum users\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    993410654.RE
    993510655
     
    994510665.sp
    994610666Default:
    9947 \fI\fIwinbind expand groups\fR\fR\fI = \fR\fI1\fR\fI \fR
     10667\fI\fIwinbind expand groups\fR\fR\fI = \fR\fI\FC1\F[]\fR\fI \fR
    994810668.RE
    994910669
     
    995510675.sp
    995610676Default:
    9957 \fI\fIwinbind nested groups\fR\fR\fI = \fR\fIyes\fR\fI \fR
     10677\fI\fIwinbind nested groups\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    995810678.RE
    995910679
     
    996410684This parameter controls whether winbindd will replace whitespace in user and group names with an underscore (_) character\&. For example, whether the name "Space Kadet" should be replaced with the string "space_kadet"\&. Frequently Unix shell scripts will have difficulty with usernames contains whitespace due to the default field separator in the shell\&. If your domain possesses names containing the underscore character, this option may cause problems unless the name aliasing feature is supported by your nss_info plugin\&.
    996510685.sp
    9966 This feature also enables the name aliasing API which can be used to make domain user and group names to a non\-qualified version\&. Please refer to the manpage for the configured idmap and nss_info plugin for the specifics on how to configure name aliasing for a specific configuration\&. Name aliasing takes precendence (and is mutually exclusive) over the whitespace replacement mechanism discussed previsouly\&.
    9967 .sp
    9968 Default:
    9969 \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
     10686This feature also enables the name aliasing API which can be used to make domain user and group names to a non\-qualified version\&. Please refer to the manpage for the configured idmap and nss_info plugin for the specifics on how to configure name aliasing for a specific configuration\&. Name aliasing takes precedence (and is mutually exclusive) over the whitespace replacement mechanism discussed previsouly\&.
     10687.sp
     10688Default:
     10689\fI\fIwinbind normalize names\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
     10690.sp
     10691Example:
     10692\fI\fIwinbind normalize names\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    997310693.RE
    997410694
     
    1001210732.sp
    1001310733Default:
    10014 \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
     10734\fI\fIwinbind nss info\fR\fR\fI = \fR\fI\FCtemplate\F[]\fR\fI \fR
     10735.sp
     10736Example:
     10737\fI\fIwinbind nss info\fR\fR\fI = \fR\fI\FCtemplate sfu\F[]\fR\fI \fR
    1001810738.RE
    1001910739
     
    1002710747.sp
    1002810748Default:
    10029 \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
     10749\fI\fIwinbind offline logon\fR\fR\fI = \fR\fI\FCfalse\F[]\fR\fI \fR
     10750.sp
     10751Example:
     10752\fI\fIwinbind offline logon\fR\fR\fI = \fR\fI\FCtrue\F[]\fR\fI \fR
    1003310753.RE
    1003410754
     
    1004210762.sp
    1004310763Default:
    10044 \fI\fIwinbind reconnect delay\fR\fR\fI = \fR\fI30\fR\fI \fR
     10764\fI\fIwinbind reconnect delay\fR\fR\fI = \fR\fI\FC30\F[]\fR\fI \fR
    1004510765.RE
    1004610766
     
    1005410774.sp
    1005510775Default:
    10056 \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
     10776\fI\fIwinbind refresh tickets\fR\fR\fI = \fR\fI\FCfalse\F[]\fR\fI \fR
     10777.sp
     10778Example:
     10779\fI\fIwinbind refresh tickets\fR\fR\fI = \fR\fI\FCtrue\F[]\fR\fI \fR
    1006010780.RE
    1006110781
     
    1006510785.RS 4
    1006610786Setting this parameter to
    10067 yes
     10787\FCyes\F[]
    1006810788forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers\&.
    1006910789.sp
    1007010790Default:
    10071 \fI\fIwinbind rpc only\fR\fR\fI = \fR\fIno\fR\fI \fR
     10791\fI\fIwinbind rpc only\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    1007210792.RE
    1007310793
     
    1007810798This parameter allows an admin to define the character used when listing a username of the form of
    1007910799\fIDOMAIN \fR\e\fIuser\fR\&. This parameter is only applicable when using the
    10080 pam_winbind\&.so
     10800\FCpam_winbind\&.so\F[]
    1008110801and
    10082 nss_winbind\&.so
     10802\FCnss_winbind\&.so\F[]
    1008310803modules for UNIX services\&.
    1008410804.sp
     
    1008610806.sp
    1008710807Default:
    10088 \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
     10808\fI\fIwinbind separator\fR\fR\fI = \fR\fI\FC\'\e\'\F[]\fR\fI \fR
     10809.sp
     10810Example:
     10811\fI\fIwinbind separator\fR\fR\fI = \fR\fI\FC+\F[]\fR\fI \fR
    1009210812.RE
    1009310813
     
    1009710817.RS 4
    1009810818This 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
    10099 DOMAIN\euser1
     10819\FCDOMAIN\euser1\F[]
    1010010820would be mapped to the account user1 in /etc/passwd instead of allocating a new uid for him or her\&.
    1010110821.sp
     
    1010510825.sp
    1010610826Default:
    10107 \fI\fIwinbind trusted domains only\fR\fR\fI = \fR\fIno\fR\fI \fR
     10827\fI\fIwinbind trusted domains only\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    1010810828.RE
    1010910829
     
    1011710837.sp
    1011810838Default:
    10119 \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
     10839\fI\fIwinbind use default domain\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
     10840.sp
     10841Example:
     10842\fI\fIwinbind use default domain\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    1012310843.RE
    1012410844
     
    1013110851The wins hook parameter specifies the name of a script or executable that will be called as follows:
    1013210852.sp
    10133 wins_hook operation name nametype ttl IP_list
     10853\FCwins_hook operation name nametype ttl IP_list\F[]
    1013410854.sp
    1013510855.RS 4
     
    1018910909.RE
    1019010910An example script that calls the BIND dynamic DNS update program
    10191 nsupdate
     10911\FCnsupdate\F[]
    1019210912is provided in the examples directory of the Samba source code\&.
    1019310913.sp
     
    1020610926.sp
    1020710927Default:
    10208 \fI\fIwins proxy\fR\fR\fI = \fR\fIno\fR\fI \fR
     10928\fI\fIwins proxy\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    1020910929.RE
    1021010930
     
    1022410944.\}
    1022510945.RS 4
     10946.BM yellow
    1022610947.it 1 an-trap
    1022710948.nr an-no-space-flag 1
     
    1023410955You need to set up Samba to point to a WINS server if you have multiple subnets and wish cross\-subnet browsing to work correctly\&.
    1023510956.sp .5v
     10957.EM yellow
    1023610958.RE
    1023710959See the chapter in the Samba3\-HOWTO on Network Browsing\&.
    1023810960.sp
    1023910961Default:
    10240 \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
     10962\fI\fIwins server\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     10963.sp
     10964Example:
     10965\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 \fR
     10966.sp
     10967Example:
     10968\fI\fIwins server\fR\fR\fI = \fR\fI\FC192\&.9\&.200\&.1 192\&.168\&.2\&.61\F[]\fR\fI \fR
    1024710969.RE
    1024810970
     
    1025610978\fByes\fR
    1025710979unless you have a multi\-subnetted network and you wish a particular
    10258 nmbd
     10980\FCnmbd\F[]
    1025910981to be your WINS server\&. Note that you should
    1026010982\fINEVER\fR
     
    1026410986.sp
    1026510987Default:
    10266 \fI\fIwins support\fR\fR\fI = \fR\fIno\fR\fI \fR
     10988\fI\fIwins support\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    1026710989.RE
    1026810990
     
    1027610998.sp
    1027710999Default:
    10278 \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
     11000\fI\fIworkgroup\fR\fR\fI = \fR\fI\FCWORKGROUP\F[]\fR\fI \fR
     11001.sp
     11002Example:
     11003\fI\fIworkgroup\fR\fR\fI = \fR\fI\FCMYGROUP\F[]\fR\fI \fR
    1028211004.RE
    1028311005
     
    1029811020.sp
    1029911021Default:
    10300 \fI\fIwriteable\fR\fR\fI = \fR\fIno\fR\fI \fR
     11022\fI\fIwriteable\fR\fR\fI = \fR\fI\FCno\F[]\fR\fI \fR
    1030111023.RE
    1030211024
     
    1031411036.sp
    1031511037Default:
    10316 \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
     11038\fI\fIwrite cache size\fR\fR\fI = \fR\fI\FC0\F[]\fR\fI \fR
     11039.sp
     11040Example:
     11041\fI\fIwrite cache size\fR\fR\fI = \fR\fI\FC262144 # for a 256k cache size per file\F[]\fR\fI \fR
    1032011042.RE
    1032111043
     
    1033511057.sp
    1033611058Default:
    10337 \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
     11059\fI\fIwrite list\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     11060.sp
     11061Example:
     11062\fI\fIwrite list\fR\fR\fI = \fR\fI\FCadmin, root, @staff\F[]\fR\fI \fR
    1034111063.RE
    1034211064
     
    1034811070.sp
    1034911071Default:
    10350 \fI\fIwrite raw\fR\fR\fI = \fR\fIyes\fR\fI \fR
     11072\fI\fIwrite raw\fR\fR\fI = \fR\fI\FCyes\F[]\fR\fI \fR
    1035111073.RE
    1035211074
     
    1035611078.RS 4
    1035711079This parameter is only available if Samba has been configured and compiled with the option
    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\&.
     11080\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\&.
    1035911081.sp
    1036011082By default this is not set, meaning the system will use whatever utmp file the native system is set to use (usually
    10361 /var/run/wtmp
     11083\FC/var/run/wtmp\F[]
    1036211084on Linux)\&.
    1036311085.sp
    1036411086Default:
    10365 \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
     11087\fI\fIwtmp directory\fR\fR\fI = \fR\fI\FC\F[]\fR\fI \fR
     11088.sp
     11089Example:
     11090\fI\fIwtmp directory\fR\fR\fI = \fR\fI\FC/var/log/wtmp\F[]\fR\fI \fR
    1036911091.RE
    1037011092.SH "WARNINGS"
     
    1037711099.PP
    1037811100Use of the
    10379 [homes]
     11101\FC[homes]\F[]
    1038011102and
    10381 [printers]
     11103\FC[printers]\F[]
    1038211104special 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\&.
    1038311105.SH "VERSION"
Note: See TracChangeset for help on using the changeset viewer.