merge sendfile entry from SAMBA_2_2 and fix typo
authorGerald Carter <jerry@samba.org>
Thu, 3 Oct 2002 16:57:37 +0000 (16:57 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 3 Oct 2002 16:57:37 +0000 (16:57 +0000)
(This used to be commit 068d7ab14c0f6f83b61e6fe1724ef00ca2e0e590)

docs/docbook/manpages/smb.conf.5.sgml
docs/manpages/net.8
docs/manpages/smb.conf.5

index 79b7afda49247daaf430efa6fc11a92f3d2ad8ab..5ce86910765c5ab665a040b1a920e2c8c3cd48f3 100644 (file)
        <computeroutput>
        [foo]
                path = /home/bar
-               writeable = true
+               read only = no
        </computeroutput>
        </screen>
 
        <computeroutput>
        [aprinter]
                path = /usr/spool/public
-               writeable = false
-               printable = true
-               guest ok = true
+               read only = yes
+               printable = yes
+               guest ok = yes
        </computeroutput>
        </screen>
 </refsect1>
                <screen>
                <computeroutput>
                [homes]
-                       writeable = yes
+                       read only = no
                </computeroutput>
                </screen>
        
                <listitem><para><link linkend="UNIXPASSWORDSYNC"><parameter>unix password sync</parameter></link></para></listitem>
                <listitem><para><link linkend="UPDATEENCRYPTED"><parameter>update encrypted</parameter></link></para></listitem>
                <listitem><para><link linkend="USEMMAP"><parameter>use mmap</parameter></link></para></listitem>
+               <listitem><para><link linkend="USERHOSTS"><parameter>use rhosts</parameter></link></para></listitem>
+               <listitem><para><link linkend="USESENDFILE"><parameter>use sendfile</parameter></link></para></listitem>
                <listitem><para><link linkend="USERNAMELEVEL"><parameter>username level</parameter></link></para></listitem>
                <listitem><para><link linkend="USERNAMEMAP"><parameter>username map</parameter></link></para></listitem>
                <listitem><para><link linkend="UTMP"><parameter>utmp</parameter></link></para></listitem>
                queue the lock request, and periodically attempt to obtain 
                the lock until the timeout period expires.</para>
 
-               <para>If this parameter is set to <constant>false</constant>, then 
+               <para>If this parameter is set to <constant>no</constant>, then 
                Samba 2.2 will behave as previous versions of Samba would and 
                will fail the lock request immediately if the lock range 
                cannot be obtained.</para>
                <listitem><para>This controls whether <ulink url="smbd.8.html">
                <command>smbd(8)</command></ulink> will serve a browse list to 
                a client doing a <command>NetServerEnum</command> call. Normally 
-               set to <constant>true</constant>. You should never need to change 
+               set to <constant>yes</constant>. You should never need to change 
                this.</para>
                
                <para>Default: <command>browse list = yes</command></para></listitem>
                <listitem><para>This option is used when Samba is attempting to 
                delete a directory that contains one or more vetoed directories 
                (see the <link linkend="VETOFILES"><parameter>veto files</parameter></link>
-               option).  If this option is set to <constant>false</constant> (the default) then if a vetoed 
+               option).  If this option is set to <constant>no</constant> (the default) then if a vetoed 
                directory contains any non-vetoed files or directories then the 
                directory delete will fail. This is usually what you want.</para>
 
-               <para>If this option is set to <constant>true</constant>, then Samba 
+               <para>If this option is set to <constant>yes</constant>, 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 
 
                <varlistentry>
                <term><anchor id="DOMAINLOGONS">domain logons (G)</term>
-               <listitem><para>If set to <constant>true</constant>, the Samba server will serve 
+               <listitem><para>If set to <constant>yes</constant>, the Samba server will serve 
                Windows 95/98 Domain logons for the <link linkend="WORKGROUP">
                <parameter>workgroup</parameter></link> it is in. Samba 2.2 also 
                has limited capability to act as a domain controller for Windows 
                default, Samba runs with POSIX semantics and refuses to change the 
                timestamp on a file if the user <command>smbd</command> is acting 
                on behalf of is not the file owner. Setting this option to <constant>
-               true</constant> allows DOS semantics and <ulink url="smbd.8.html">smbd</ulink> will change the file 
+               yes</constant> allows DOS semantics and <ulink url="smbd.8.html">smbd</ulink> will change the file 
                timestamp as DOS requires.</para>
 
                <para>Default: <command>dos filetimes = no</command></para></listitem>
                caching algorithm will be used to reduce the time taken for getwd() 
                calls. This can have a significant impact on performance, especially 
                when the <link linkend="WIDELINKS"><parameter>wide links</parameter>
-               </link>parameter is set to <constant>false</constant>.</para>
+               </link>parameter is set to <constant>no</constant>.</para>
 
                <para>Default: <command>getwd cache = yes</command></para>
                </listitem>
                </varlistentry>
 
                <varlistentry>
-               <term><anchor id="HIDESPECIALFILS">hide special files (G)</term>
+               <term><anchor id="HIDESPECIALFILES">hide special files (G)</term>
                <listitem><para>This parameter prevents clients from seeing
                special files such as sockets, devices and fifo's in directory 
                listings.
                <varlistentry>
                <term><anchor id="HOMEDIRMAP">homedir map (G)</term>
                <listitem><para>If<link linkend="NISHOMEDIR"><parameter>nis homedir
-               </parameter></link> is <constant>true</constant>, and <ulink 
+               </parameter></link> is <constant>yes</constant>, and <ulink 
                url="smbd.8.html"><command>smbd(8)</command></ulink> is also acting 
                as a Win95/98 <parameter>logon server</parameter> then this parameter 
                specifies the NIS (or YP) map from which the server for the user's 
                oplocks</parameter></link> are supported then level2 oplocks are 
                not granted (even if this parameter is set to <constant>yes</constant>). 
                Note also, the <link linkend="OPLOCKS"><parameter>oplocks</parameter>
-               </link> parameter must be set to <constant>true</constant> on this share in order for 
+               </link> parameter must be set to <constant>yes</constant> on this share in order for 
                this parameter to have any effect.</para>
 
                <para>See also the <link linkend="OPLOCKS"><parameter>oplocks</parameter>
                <command>nmbd(8)</command></ulink> will produce Lanman announce 
                broadcasts that are needed by OS/2 clients in order for them to see 
                the Samba server in their browse list. This parameter can have three 
-               values, <constant>true</constant>, <constant>false</constant>, or
+               values, <constant>yes</constant>, <constant>no</constant>, or
                <constant>auto</constant>. The default is <constant>auto</constant>.  
-               If set to <constant>false</constant> Samba will never produce these 
-               broadcasts. If set to <constant>true</constant> Samba will produce 
+               If set to <constant>no</constant> Samba will never produce these 
+               broadcasts. If set to <constant>yes</constant> Samba will produce 
                Lanman announce broadcasts at a frequency set by the parameter 
                <parameter>lm interval</parameter>. If set to <constant>auto</constant> 
                Samba will not send Lanman announce broadcasts by default but will 
                <term><anchor id="LOCALMASTER">local master (G)</term>
                <listitem><para>This option allows <ulink url="nmbd.8.html"><command>
                nmbd(8)</command></ulink> to try and become a local master browser 
-               on a subnet. If set to <constant>false</constant> then <command>
+               on a subnet. If set to <constant>no</constant> then <command>
                nmbd</command> will not attempt to become a local master browser 
                on a subnet and will also lose in all browsing elections. By
-               default this value is set to <constant>true</constant>. Setting this value to <constant>true</constant> doesn't
+               default this value is set to <constant>yes</constant>. Setting this value to <constant>yes</constant> doesn't
                mean that Samba will <emphasis>become</emphasis> the local master 
                browser on a subnet, just that <command>nmbd</command> will <emphasis>
                participate</emphasis> in elections for local master browser.</para>
 
-               <para>Setting this value to <constant>false</constant> will cause <command>nmbd</command>
+               <para>Setting this value to <constant>no</constant> will cause <command>nmbd</command>
                <emphasis>never</emphasis> to become a local master browser.</para>
 
                <para>Default: <command>local master = yes</command></para>
                if the expect string is a full stop then no string is expected.</para>
 
                <para>If the <link linkend="PAMPASSWORDCHANGE"><parameter>pam
-               password change</parameter></link> parameter is set to true, the chat pairs
+               password change</parameter></link> parameter is set to <constant>yes</constant>, the chat pairs
                 may be matched in any order, and success is determined by the PAM result, 
                 not any particular output. The \n macro is ignored for PAM conversions.
                </para>
                it.</para>
 
                <para><emphasis>Note</emphasis> that if the <parameter>unix 
-               password sync</parameter> parameter is set to <constant>true
+               password sync</parameter> parameter is set to <constant>yes
                </constant> then this program is called <emphasis>AS ROOT</emphasis> 
                before the SMB password in the <ulink url="smbpasswd.5.html">smbpasswd(5)
                </ulink> file is changed. If this UNIX password change fails, then 
                is set this parameter <emphasis>MUST USE ABSOLUTE PATHS</emphasis> 
                for <emphasis>ALL</emphasis> programs called, and must be examined 
                for security implications. Note that by default <parameter>unix 
-               password sync</parameter> is set to <constant>false</constant>.</para>
+               password sync</parameter> is set to <constant>no</constant>.</para>
 
                <para>See also <link linkend="UNIXPASSWORDSYNC"><parameter>unix 
                password sync</parameter></link>.</para>
                url="nmbd.8.html">nmbd(8)</ulink> is a preferred master browser 
                for its workgroup.</para>
 
-               <para>If this is set to <constant>true</constant>, on startup, <command>nmbd</command> 
+               <para>If this is set to <constant>yes</constant>, on startup, <command>nmbd</command> 
                will force an election, and it will have a slight advantage in 
                winning the election.  It is recommended that this parameter is 
                used in conjunction with <command><link linkend="DOMAINMASTER"><parameter>
                
                <para>Note that a printable service will ALWAYS allow writing 
                to the service path (user privileges permitting) via the spooling 
-               of print data. The <link linkend="WRITEABLE"><parameter>writeable
+               of print data. The <link linkend="READONLY"><parameter>read only
                </parameter></link> parameter controls only non-printing access to 
                the resource.</para>
 
                <listitem><para>This is a list of users that are given read-only 
                access to a service. If the connecting user is in this list then 
                they will not be given write access, no matter what the <link 
-               linkend="WRITEABLE"><parameter>writeable</parameter></link>
+               linkend="READONLY"><parameter>read only</parameter></link>
                option is set to. The list can include group names using the 
                syntax described in the <link linkend="INVALIDUSERS"><parameter>
                invalid users</parameter></link> parameter.</para>
 
                <varlistentry>
                <term><anchor id="READONLY">read only (S)</term>
-               <listitem><para>Note that this is an inverted synonym for <link 
-               linkend="WRITEABLE"><parameter>writeable</parameter></link>.</para>
+               <listitem><para>An inverted synonym is <link linkend="WRITEABLE">
+               <parameter>writeable</parameter></link>.</para>
+
+               <para>If this parameter is <constant>yes</constant>, then users 
+               of a service may not create or modify files in the service's 
+               directory.</para>
+
+               <para>Note that a printable service (<command>printable = yes</command>)
+               will <emphasis>ALWAYS</emphasis> allow writing to the directory 
+               (user privileges permitting), but only via spooling operations.</para>
+
+               <para>Default: <command>read only = yes</command></para>
                </listitem>
                </varlistentry>
 
 
                <varlistentry>
                <term><anchor id="RESTRICTANONYMOUS">restrict anonymous (G)</term>
-               <listitem><para>This is a boolean parameter.  If it is <constant>true</constant>, then 
+               <listitem><para>This is a boolean parameter.  If it is <constant>yes</constant>, then 
                anonymous access to the server will be restricted, namely in the 
                case where the server is expecting the client to send a username, 
-               but it doesn't.  Setting it to <constant>true</constant> will force these anonymous 
+               but it doesn't.  Setting it to <constant>yes</constant> will force these anonymous 
                connections to be denied, and the client will be required to always 
                supply a username and password when connecting. Use of this parameter 
                is only recommended for homogeneous NT client environments.</para>
                likes to use anonymous connections when refreshing the share list, 
                and this is a way to work around that.</para>
 
-               <para>When restrict anonymous is <constant>true</constant>, all anonymous connections 
+               <para>When restrict anonymous is <constant>yes</constant>, all anonymous connections 
                are denied no matter what they are for.  This can effect the ability 
                of a machine to access the Samba Primary Domain Controller to revalidate 
                its machine account after someone else has logged on the client 
                url="smbpasswd.8.html">smbpasswd(8)</ulink> has been used to add this 
                machine into a Windows NT Domain. It expects the <link 
                linkend="ENCRYPTPASSWORDS"><parameter>encrypted passwords</parameter>
-               </link> parameter to be set to <constant>true</constant>. In this 
+               </link> parameter to be set to <constant>yes</constant>. In this 
                mode Samba will try to validate the username/password by passing
                it to a Windows NT Primary or Backup Domain Controller, in exactly 
                the same way that a Windows NT Server would do.</para>
                <term><anchor id="SYNCALWAYS">sync always (S)</term>
                <listitem><para>This is a boolean parameter that controls 
                whether writes will always be written to stable storage before 
-               the write call returns. If this is <constant>false</constant> then the server will be 
+               the write call returns. If this is <constant>no</constant> then the server will be 
                guided by the client's request in each write call (clients can 
                set a bit indicating that a particular write should be synchronous). 
-               If this is <constant>true</constant> then every write will be followed by a <command>fsync()
+               If this is <constant>yes</constant> then every write will be followed by a <command>fsync()
                </command> call to ensure the data is written to disk. Note that 
                the <parameter>strict sync</parameter> parameter must be set to
                <constant>yes</constant> in order for this parameter to have 
                <listitem><para>This boolean parameter controls whether Samba 
                attempts to synchronize the UNIX password with the SMB password 
                when the encrypted SMB password in the smbpasswd file is changed. 
-               If this is set to <constant>true</constant> the program specified in the <parameter>passwd
+               If this is set to <constant>yes</constant> the program specified in the <parameter>passwd
                program</parameter>parameter is called <emphasis>AS ROOT</emphasis> - 
                to allow the new UNIX password to be set without access to the 
                old UNIX password (as the SMB password change code has no 
                <listitem><para>This global parameter determines if the tdb internals of Samba can
                depend on mmap working correctly on the running system. Samba requires a coherent
                mmap/read-write system memory cache. Currently only HPUX does not have such a
-               coherent cache, and so this parameter is set to <constant>false</constant> by
+               coherent cache, and so this parameter is set to <constant>no</constant> by
                default on HPUX. On all other systems this parameter should be left alone. This
                parameter is provided to help the Samba developers track down problems with
                the tdb internal code.
 
 
 
+               <varlistentry>
+               <term><anchor id="USERHOSTS">use rhosts (G)</term>
+               <listitem><para>If this global parameter is <constant>yes</constant>, it specifies 
+               that the UNIX user's <filename>.rhosts</filename> file in their home directory 
+               will be read to find the names of hosts and users who will be allowed 
+               access without specifying a password.</para>
+
+               <para><emphasis>NOTE:</emphasis> The use of <parameter>use rhosts
+               </parameter> can be a major security hole. This is because you are 
+               trusting the PC to supply the correct username. It is very easy to 
+               get a PC to supply a false username. I recommend that the <parameter>
+               use rhosts</parameter> option be only used if you really know what 
+               you are doing.</para>
+
+               <para>Default: <command>use rhosts = no</command></para>
+               </listitem>
+               </varlistentry>
+
+
+
                <varlistentry>
                <term><anchor id="USER">user (S)</term>
                <listitem><para>Synonym for <link linkend="USERNAME"><parameter>
                <para>If any line begins with a '#' or a ';' then it is 
                ignored</para>
 
-               <para>If any line begins with an '!' then the processing 
-               will stop after that line if a mapping was done by the line. 
-               Otherwise mapping continues with every line being processed. 
-               Using '!' is most useful when you have a wildcard mapping line 
+               <para>If any line begins with an '!' then the processing
+               will stop after that line if a mapping was done by the line.
+               Otherwise mapping continues with every line being processed.
+               Using '!' is most useful when you have a wildcard mapping line
                later in the file.</para>
-               
-               <para>For example to map from the name <constant>admin</constant> 
+
+               <para>For example to map from the name <constant>admin</constant>
                or <constant>administrator</constant> to the UNIX name <constant>
                root</constant> you would use:</para>
 
                <para><command>root = admin administrator</command></para>
 
-               <para>Or to map anyone in the UNIX group <constant>system</constant> 
+               <para>Or to map anyone in the UNIX group <constant>system</constant>
                to the UNIX name <constant>sys</constant> you would use:</para>
 
                <para><command>sys = @system</command></para>
 
-               <para>You can have as many mappings as you like in a username 
+               <para>You can have as many mappings as you like in a username
                map file.</para>
-               
-               
-               <para>If your system supports the NIS NETGROUP option then 
+
+
+               <para>If your system supports the NIS NETGROUP option then
                the netgroup database is checked before the <filename>/etc/group
                </filename> database for matching groups.</para>
 
 
                <para><command>tridge = "Andrew Tridgell"</command></para>
 
-               <para>would map the windows username "Andrew Tridgell" to the 
+               <para>would map the windows username "Andrew Tridgell" to the
                unix username "tridge".</para>
 
-               <para>The following example would map mary and fred to the 
-               unix user sys, and map the rest to guest. Note the use of the 
-               '!' to tell Samba to stop processing if it gets a match on 
+               <para>The following example would map mary and fred to the
+               unix user sys, and map the rest to guest. Note the use of the
+               '!' to tell Samba to stop processing if it gets a match on
                that line.</para>
 
                <para><programlisting>
                guest = *
                </programlisting></para>
 
-               <para>Note that the remapping is applied to all occurrences 
+               <para>Note that the remapping is applied to all occurrences
                of usernames. Thus if you connect to \\server\fred and <constant>
-               fred</constant> is remapped to <constant>mary</constant> then you 
-               will actually be connecting to \\server\mary and will need to 
-               supply a password suitable for <constant>mary</constant> not 
-               <constant>fred</constant>. The only exception to this is the 
+               fred</constant> is remapped to <constant>mary</constant> then you
+               will actually be connecting to \\server\mary and will need to
+               supply a password suitable for <constant>mary</constant> not
+               <constant>fred</constant>. The only exception to this is the
                username passed to the <link linkend="PASSWORDSERVER"><parameter>
-               password server</parameter></link> (if you have one). The password 
-               server will receive whatever username the client supplies without 
+               password server</parameter></link> (if you have one). The password
+               server will receive whatever username the client supplies without
                modification.</para>
 
-               <para>Also note that no reverse mapping is done. The main effect 
-               this has is with printing. Users who have been mapped may have 
-               trouble deleting print jobs as PrintManager under WfWg will think 
+               <para>Also note that no reverse mapping is done. The main effect
+               this has is with printing. Users who have been mapped may have
+               trouble deleting print jobs as PrintManager under WfWg will think
                they don't own the print job.</para>
 
                <para>Default: <emphasis>no username map</emphasis></para>
                </listitem>
                </varlistentry>
 
+               
+               <varlistentry>
+               <term><anchor id="USESENDFILE">use sendfile (S)</term>
+               <listitem><para>If this parameter is <constant>yes</constant>, and Samba
+               was built with the --with-sendfile-support option, and the underlying operating
+               system supports sendfile system call, then some SMB read calls (mainly ReadAndX
+               and ReadRaw) will use the more efficient sendfile system call for files that
+               are exclusively oplocked. This may make more efficient use of the system CPU's
+               and cause Samba to be faster. This is off by default as it's effects are unknown
+               as yet.
+               </para>
+
+               <para>Default: <command>use sendfile = no</command></para>
+               </listitem>
+               </varlistentry>
+
 
 
                <varlistentry>
                <term><anchor id="UTMP">utmp (G)</term>
-               <listitem><para>This boolean parameter is only available if 
+               <listitem><para>This boolean parameter is only available if
                Samba has been configured and compiled  with the option <command>
-               --with-utmp</command>. If set to <constant>true</constant> then Samba will attempt
+               --with-utmp</command>. If set to <constant>yes</constant> then Samba will attempt
                to add utmp or utmpx records (depending on the UNIX system) whenever a
                connection is made to a Samba server. Sites may use this to record the
                user connecting to a Samba share.</para>
@@ -8034,7 +8082,7 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
                <command>getpwent()</command> and
                <command>endpwent()</command> group of system calls.  If
                the <parameter>winbind enum users</parameter> parameter is
-               false, calls to the <command>getpwent</command> system call
+               <constant>no</constant>, calls to the <command>getpwent</command> system call
                will not return any data. </para>
 
                <para><emphasis>Warning:</emphasis> Turning off user
@@ -8056,7 +8104,7 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
                <command>getgrent()</command> and
                <command>endgrent()</command> group of system calls.  If
                the <parameter>winbind enum groups</parameter> parameter is
-               false, calls to the <command>getgrent()</command> system
+               <constant>no</constant>, calls to the <command>getgrent()</command> system
                call will not return any data. </para>
 
                <para><emphasis>Warning:</emphasis> Turning off group
@@ -8132,9 +8180,9 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
                 own domain.  While this does not benifit Windows users, it makes SSH, FTP and e-mail 
                 function in a way much closer to the way they would in a native unix system.</para>
                
-               <para>Default: <command>winbind use default domain = &lt;falseg&gt; 
+               <para>Default: <command>winbind use default domain = &lt;no&gt; 
                </command></para>
-               <para>Example: <command>winbind use default domain = true</command></para>
+               <para>Example: <command>winbind use default domain = yes</command></para>
                </listitem>
                </varlistentry>
 
@@ -8229,9 +8277,9 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
                <term><anchor id="WINSSUPPORT">wins support (G)</term>
                <listitem><para>This boolean controls if the <ulink url="nmbd.8.html">          
                nmbd(8)</ulink> process in Samba will act as a WINS server. You should 
-               not set this to <constant>true</constant> unless you have a multi-subnetted network and 
+               not set this to <constant>yes</constant> unless you have a multi-subnetted network and 
                you wish a particular <command>nmbd</command> to be your WINS server. 
-               Note that you should <emphasis>NEVER</emphasis> set this to <constant>true</constant>
+               Note that you should <emphasis>NEVER</emphasis> set this to <constant>yes</constant>
                on more than one machine in your network.</para>
 
                <para>Default: <command>wins support = no</command></para>
@@ -8302,7 +8350,7 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
                <listitem><para>This is a list of users that are given read-write 
                access to a service. If the connecting user is in this list then 
                they will be given write access, no matter what the <link
-               linkend="WRITEABLE"><parameter>writeable</parameter></link>
+               linkend="READONLY"><parameter>read only</parameter></link>
                option is set to. The list can include group names using the 
                @group syntax.</para>
 
@@ -8340,8 +8388,8 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
 
                <varlistentry>
                <term><anchor id="WRITEOK">write ok (S)</term>
-               <listitem><para>Synonym for <link linkend="WRITEABLE"><parameter>
-               writeable</parameter></link>.</para>
+               <listitem><para>Inverted synonym for <link linkend="READONLY"><parameter>
+               read only</parameter></link>.</para>
                </listitem>
                </varlistentry>
 
@@ -8361,18 +8409,8 @@ veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
 
                <varlistentry>
                <term><anchor id="WRITEABLE">writeable (S)</term>
-               <listitem><para>An inverted synonym is <link linkend="READONLY">
-               <parameter>read only</parameter></link>.</para>
-
-               <para>If this parameter is <constant>no</constant>, then users 
-               of a service may not create or modify files in the service's 
-               directory.</para>
-
-               <para>Note that a printable service (<command>printable = yes</command>)
-               will <emphasis>ALWAYS</emphasis> allow writing to the directory 
-               (user privileges permitting), but only via spooling operations.</para>
-
-               <para>Default: <command>writeable = no</command></para>
+               <listitem><para>Inverted synonym for <link linkend="READONLY"><parameter>
+               read only</parameter></link>.</para>
                </listitem>
                </varlistentry>
 
index fd2a450a6b92429dfb57bb005f9c572c1a4cd344..1ac5af9287a68e1b5de0511ba2cd332d99aa150a 100644 (file)
 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 .\" Please send any bug reports, improvements, comments, patches, 
 .\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "NET" "8" "01 October 2002" "" ""
+.TH "NET" "8" "03 October 2002" "" ""
 .SH NAME
 net \- Tool for administration of Samba and remote CIFS servers.
 .SH SYNOPSIS
 
-\fBnet\fR \fB<ads|rap|rpc>\fR
+\fBnet\fR \fB<ads|rap|rpc>\fR [ \fB-h\fR ] [ \fB-w workgroup\fR ] [ \fB-W myworkgroup\fR ] [ \fB-U user\fR ] [ \fB-I ip-address\fR ] [ \fB-p port\fR ] [ \fB-n myname\fR ] [ \fB-s conffile\fR ] [ \fB-S server\fR ] [ \fB-C comment\fR ] [ \fB-M maxusers\fR ] [ \fB-F flags\fR ] [ \fB-j jobid\fR ] [ \fB-l\fR ] [ \fB-r\fR ] [ \fB-f\fR ] [ \fB-t timeout\fR ] [ \fB-P\fR ] [ \fB-D debuglevel\fR ]
 
 .SH "DESCRIPTION"
 .PP
 This tool is part of the  Samba suite.
-.SH "OPTIONS"
-.PP
-.SH "COMMANDS"
 .PP
-.SH "VERSION"
-.PP
-This man page is incomplete for version 3.0 of the Samba 
-suite.
-.SH "AUTHOR"
+The samba net utility is meant to work just like the net utility 
+available for windows and DOS.
+FIXME
+.SH "OPTIONS"
+.TP
+\fB-h\fR
+Display summary of all available options.
+.TP
+\fB-w target-workgroup\fR
+Sets target workgroup or domain. You have to specify either this option or the IP address or the name of a server.
+.TP
+\fB-W workgroup\fR
+Sets client workgroup or domain
+.TP
+\fB-U user\fR
+User name to use
+.TP
+\fB-I ip-address\fR
+IP address of target server to use. You have to specify either this option or a target workgroup or a target server.
+.TP
+\fB-p port\fR
+Port on the target server to connect to.
+.TP
+\fB-n myname\fR
+Sets name of the client.
+.TP
+\fB-s conffile\fR
+Specify alternative configuration file that should be loaded.
+.TP
+\fB-S server\fR
+Name of target server. You should specify either this option or a target workgroup or a target IP address.
+.TP
+\fB-C comment\fR
+FIXME
+.TP
+\fB-M maxusers\fR
+FIXME
+.TP
+\fB-F flags\fR
+FIXME
+.TP
+\fB-j jobid\fR
+FIXME
+.TP
+\fB-l\fR
+FIXME
+.TP
+\fB-r\fR
+FIXME
+.TP
+\fB-f\fR
+FIXME
+.TP
+\fB-t timeout\fR
+FIXME
+.TP
+\fB-P\fR
+Make queries to the external server using the machine account of the local server.
+.TP
+\fB-D debuglevel\fR
+set the debuglevel. Debug level 0 is the lowest
+and 100 being the highest. This should be set to 100 if you are
+planning on submitting a bug report to the Samba team (see
+\fIBUGS.txt\fR).
+.SH "TIME"
 .PP
-The original Samba software and related utilities 
-were created by Andrew Tridgell. Samba is now developed
-by the Samba Team as an Open Source project similar 
-to the way the Linux kernel is developed.
+The \fBNET TIME\fR command allows you to view the time on a remote server
+or synchronise the time on the local server with the time on the remote server.
+.TP
+\fB\fR
+Without any options, the \fBNET TIME\fR command 
+displays the time on the remote server.
+.TP
+\fBSYSTEM\fR
+Displays the time on the remote server in a format ready for /bin/date
+.TP
+\fBSET\fR
+Tries to set the date and time of the local server to that on 
+the remote server using /bin/date.
+.TP
+\fBZONE\fR
+Displays the timezone in hours from GMT on the remote computer.
+.SH "RPC"
 .PP
-The original Samba man pages were written by Karl Auer.
-The current set of manpages and documentation is maintained
-by the Samba Team in the same fashion as the Samba source code.
+The \fBNET RPC\fR command allows you to do various 
+NT4 operations.
+.TP
+\fBJOIN -U username[%password] [options]\fR
+Join a domain with specified username and password. Password 
+will be prompted if none is specified.
+.TP
+\fBJOIN [options except -U]\fR
+to join a domain created in server manager
+.TP
+\fBUSER [misc. options] [targets]\fR
+List users
+.TP
+\fBUSER DELETE <name> [misc options]\fR
+delete specified user
+.TP
+\fBUSER INFO <name> [misc options]\fR
+list the domain groups of the specified user
+.TP
+\fBUSER ADD <name> [password] [-F user flags] [misc. options\fR
+Add specified user
+.TP
+\fBGROUP [misc options] [targets]\fR
+List user groups
+.TP
+\fBGROUP DELETE <name> [misc. options] [targets]\fR
+Delete specified group
+.TP
+\fBGROUP ADD <name> [-C comment]\fR
+Create specified group
+.TP
+\fBSHARE [misc. options] [targets]\fR
+enumerates all exported resources (network shares) on target server
+.TP
+\fBSHARE ADD <name=serverpath> [misc. options] [targets]\fR
+Adds a share from a server (makes the export active)
+.TP
+\fBSHARE DELETE <sharenam .SH "VERSION" .PP This man page is incomplete for version 3.0 of the Samba  suite. .SH "AUTHOR" .PP The original Samba software and related utilities  were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar  to the way the Linux kernel is developed. .PP The original Samba man pages were written by Karl Auer. The current set of manpages and documentation is maintained by the Samba Team in the same fashion as the Samba source code. \fR
index 0fcf0179b83684b27f43c0115a0cc0e62437d845..dc2adaba47654d3d4db766007eac3a5f0e67fa6c 100644 (file)
@@ -3,7 +3,7 @@
 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 .\" Please send any bug reports, improvements, comments, patches, 
 .\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "SMB.CONF" "5" "03 oktober 2002" "" ""
+.TH "SMB.CONF" "5" "03 October 2002" "" ""
 .SH NAME
 smb.conf \- The configuration file for the Samba suite
 .SH "SYNOPSIS"
@@ -95,7 +95,7 @@ The share is accessed via the share name "foo":
 .nf
                [foo]
                path = /home/bar
-               writeable = true
+               read only = no
        
        
 .fi
@@ -110,9 +110,9 @@ elsewhere):
 .nf
                [aprinter]
                path = /usr/spool/public
-               writeable = false
-               printable = true
-               guest ok = true
+               read only = yes
+               printable = yes
+               guest ok = yes
        
        
 .fi
@@ -173,7 +173,7 @@ section:
 
 .nf
                                [homes]
-                       writeable = yes
+                       read only = no
                
                
 .fi
@@ -991,6 +991,12 @@ each parameter for details.  Note that some are synonyms.
 \fIuse mmap\fR
 .TP 0.2i
 \(bu
+\fIuse rhosts\fR
+.TP 0.2i
+\(bu
+\fIuse sendfile\fR
+.TP 0.2i
+\(bu
 \fIusername level\fR
 .TP 0.2i
 \(bu
@@ -1804,7 +1810,7 @@ cannot be immediately satisfied, Samba 2.2 will internally
 queue the lock request, and periodically attempt to obtain 
 the lock until the timeout period expires.
 
-If this parameter is set to false, then 
+If this parameter is set to no, then 
 Samba 2.2 will behave as previous versions of Samba would and 
 will fail the lock request immediately if the lock range 
 cannot be obtained.
@@ -1836,7 +1842,7 @@ See the \fI  browseable\fR.
 \fBbrowse list (G)\fR
 This controls whether   \fBsmbd(8)\fR will serve a browse list to 
 a client doing a \fBNetServerEnum\fR call. Normally 
-set to true. You should never need to change 
+set to yes. You should never need to change 
 this.
 
 Default: \fBbrowse list = yes\fR
@@ -2263,11 +2269,11 @@ Example: \fBdelete user from group script = /usr/sbin/deluser %u %g\fR
 This option is used when Samba is attempting to 
 delete a directory that contains one or more vetoed directories 
 (see the \fIveto files\fR
-option).  If this option is set to false (the default) then if a vetoed 
+option).  If this option is set to no (the default) then if a vetoed 
 directory contains any non-vetoed files or directories then the 
 directory delete will fail. This is usually what you want.
 
-If this option is set to true, then Samba 
+If this option is set to yes, 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 
@@ -2476,7 +2482,7 @@ See also the parameter \fI  wins support\fR.
 Default: \fBdns proxy = yes\fR
 .TP
 \fBdomain logons (G)\fR
-If set to true, the Samba server will serve 
+If set to yes, the Samba server will serve 
 Windows 95/98 Domain logons for the   \fIworkgroup\fR it is in. Samba 2.2 also 
 has limited capability to act as a domain controller for Windows 
 NT 4 Domains.  For more details on setting up this feature see 
@@ -2583,7 +2589,7 @@ 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 \fBsmbd\fR is acting 
-on behalf of is not the file owner. Setting this option to   true allows DOS semantics and smbd will change the file 
+on behalf of is not the file owner. Setting this option to   yes allows DOS semantics and smbd will change the file 
 timestamp as DOS requires.
 
 Default: \fBdos filetimes = no\fR
@@ -2904,7 +2910,7 @@ This is a tuning option. When this is enabled a
 caching algorithm will be used to reduce the time taken for getwd() 
 calls. This can have a significant impact on performance, especially 
 when the \fIwide links\fR
-parameter is set to false.
+parameter is set to no.
 
 Default: \fBgetwd cache = yes\fR
 .TP
@@ -3021,7 +3027,7 @@ Default: \fBhide special files = no\fR
 .TP
 \fBhomedir map (G)\fR
 If\fInis homedir
-\fR is true, and \fBsmbd(8)\fR is also acting 
+\fR is yes, and \fBsmbd(8)\fR is also acting 
 as a Win95/98 \fIlogon server\fR then this parameter 
 specifies the NIS (or YP) map from which the server for the user's 
 home directory should be extracted.  At present, only the Sun 
@@ -3462,7 +3468,7 @@ Currently, if \fIkernel
 oplocks\fR are supported then level2 oplocks are 
 not granted (even if this parameter is set to yes). 
 Note also, the \fIoplocks\fR
-parameter must be set to true on this share in order for 
+parameter must be set to yes on this share in order for 
 this parameter to have any effect.
 
 See also the \fIoplocks\fR
@@ -3475,10 +3481,10 @@ Default: \fBlevel2 oplocks = yes\fR
 This parameter determines if   \fBnmbd(8)\fR will produce Lanman announce 
 broadcasts that are needed by OS/2 clients in order for them to see 
 the Samba server in their browse list. This parameter can have three 
-values, true, false, or
+values, yes, no, or
 auto. The default is auto.  
-If set to false Samba will never produce these 
-broadcasts. If set to true Samba will produce 
+If set to no Samba will never produce these 
+broadcasts. If set to yes Samba will produce 
 Lanman announce broadcasts at a frequency set by the parameter 
 \fIlm interval\fR. If set to auto 
 Samba will not send Lanman announce broadcasts by default but will 
@@ -3518,13 +3524,13 @@ Default: \fBload printers = yes\fR
 .TP
 \fBlocal master (G)\fR
 This option allows \fB  nmbd(8)\fR to try and become a local master browser 
-on a subnet. If set to false then \fB  nmbd\fR will not attempt to become a local master browser 
+on a subnet. If set to no then \fB  nmbd\fR will not attempt to become a local master browser 
 on a subnet and will also lose in all browsing elections. By
-default this value is set to true. Setting this value to true doesn't
+default this value is set to yes. Setting this value to yes doesn't
 mean that Samba will \fBbecome\fR the local master 
 browser on a subnet, just that \fBnmbd\fR will \fB  participate\fR in elections for local master browser.
 
-Setting this value to false will cause \fBnmbd\fR
+Setting this value to no will cause \fBnmbd\fR
 \fBnever\fR to become a local master browser.
 
 Default: \fBlocal master = yes\fR
@@ -4931,7 +4937,7 @@ is a full stop ".",  then no string is sent. Similarly,
 if the expect string is a full stop then no string is expected.
 
 If the \fIpam
-password change\fR parameter is set to true, the chat pairs
+password change\fR parameter is set to yes, the chat pairs
 may be matched in any order, and success is determined by the PAM result, 
 not any particular output. The \\n macro is ignored for PAM conversions.
 
@@ -4979,7 +4985,7 @@ of mixed case chars and digits. This can pose a problem as some clients
 it.
 
 \fBNote\fR that if the \fIunix 
-password sync\fR parameter is set to true
+password sync\fR parameter is set to yes
 then this program is called \fBAS ROOT\fR 
 before the SMB password in the smbpasswd(5)
  file is changed. If this UNIX password change fails, then 
@@ -4990,7 +4996,7 @@ If the \fIunix password sync\fR parameter
 is set this parameter \fBMUST USE ABSOLUTE PATHS\fR 
 for \fBALL\fR programs called, and must be examined 
 for security implications. Note that by default \fIunix 
-password sync\fR is set to false.
+password sync\fR is set to no.
 
 See also \fIunix 
 password sync\fR.
@@ -5229,7 +5235,7 @@ Default: \fBpreexec close = no\fR
 This boolean parameter controls if nmbd(8) is a preferred master browser 
 for its workgroup.
 
-If this is set to true, on startup, \fBnmbd\fR 
+If this is set to yes, on startup, \fBnmbd\fR 
 will force an election, and it will have a slight advantage in 
 winning the election.  It is recommended that this parameter is 
 used in conjunction with \fB\fI  domain master\fB = yes\fR, so that \fB  nmbd\fR can guarantee becoming a domain master.
@@ -5368,7 +5374,7 @@ specified for the service.
 
 Note that a printable service will ALWAYS allow writing 
 to the service path (user privileges permitting) via the spooling 
-of print data. The \fIwriteable
+of print data. The \fIread only
 \fR parameter controls only non-printing access to 
 the resource.
 
@@ -5628,7 +5634,7 @@ Default: \fBread bmpx = no\fR
 \fBread list (S)\fR
 This is a list of users that are given read-only 
 access to a service. If the connecting user is in this list then 
-they will not be given write access, no matter what the \fIwriteable\fR
+they will not be given write access, no matter what the \fIread only\fR
 option is set to. The list can include group names using the 
 syntax described in the \fI  invalid users\fR parameter.
 
@@ -5640,7 +5646,17 @@ Default: \fBread list = <empty string>\fR
 Example: \fBread list = mary, @students\fR
 .TP
 \fBread only (S)\fR
-Note that this is an inverted synonym for \fIwriteable\fR.
+An inverted synonym is   \fIwriteable\fR.
+
+If this parameter is yes, then users 
+of a service may not create or modify files in the service's 
+directory.
+
+Note that a printable service (\fBprintable = yes\fR)
+will \fBALWAYS\fR allow writing to the directory 
+(user privileges permitting), but only via spooling operations.
+
+Default: \fBread only = yes\fR
 .TP
 \fBread raw (G)\fR
 This parameter controls whether or not the server 
@@ -5754,10 +5770,10 @@ Default: \fBremote browse sync = <empty string>
 \fR
 .TP
 \fBrestrict anonymous (G)\fR
-This is a boolean parameter.  If it is true, then 
+This is a boolean parameter.  If it is yes, then 
 anonymous access to the server will be restricted, namely in the 
 case where the server is expecting the client to send a username, 
-but it doesn't.  Setting it to true will force these anonymous 
+but it doesn't.  Setting it to yes will force these anonymous 
 connections to be denied, and the client will be required to always 
 supply a username and password when connecting. Use of this parameter 
 is only recommended for homogeneous NT client environments.
@@ -5767,7 +5783,7 @@ on the username (%U, %G, etc) consistent.  NT 4.0
 likes to use anonymous connections when refreshing the share list, 
 and this is a way to work around that.
 
-When restrict anonymous is true, all anonymous connections 
+When restrict anonymous is yes, all anonymous connections 
 are denied no matter what they are for.  This can effect the ability 
 of a machine to access the Samba Primary Domain Controller to revalidate 
 its machine account after someone else has logged on the client 
@@ -6015,7 +6031,7 @@ parameter.
 
 This mode will only work correctly if smbpasswd(8) has been used to add this 
 machine into a Windows NT Domain. It expects the \fIencrypted passwords\fR
-parameter to be set to true. In this 
+parameter to be set to yes. In this 
 mode Samba will try to validate the username/password by passing
 it to a Windows NT Primary or Backup Domain Controller, in exactly 
 the same way that a Windows NT Server would do.
@@ -6447,10 +6463,10 @@ Default: \fBstrip dot = no\fR
 \fBsync always (S)\fR
 This is a boolean parameter that controls 
 whether writes will always be written to stable storage before 
-the write call returns. If this is false then the server will be 
+the write call returns. If this is no then the server will be 
 guided by the client's request in each write call (clients can 
 set a bit indicating that a particular write should be synchronous). 
-If this is true then every write will be followed by a \fBfsync()
+If this is yes then every write will be followed by a \fBfsync()
 \fR call to ensure the data is written to disk. Note that 
 the \fIstrict sync\fR parameter must be set to
 yes in order for this parameter to have 
@@ -6562,7 +6578,7 @@ Default: \fBunix extensions = no\fR
 This boolean parameter controls whether Samba 
 attempts to synchronize the UNIX password with the SMB password 
 when the encrypted SMB password in the smbpasswd file is changed. 
-If this is set to true the program specified in the \fIpasswd
+If this is set to yes the program specified in the \fIpasswd
 program\fRparameter is called \fBAS ROOT\fR - 
 to allow the new UNIX password to be set without access to the 
 old UNIX password (as the SMB password change code has no 
@@ -6635,13 +6651,27 @@ Default: \fBuse client driver = no\fR
 This global parameter determines if the tdb internals of Samba can
 depend on mmap working correctly on the running system. Samba requires a coherent
 mmap/read-write system memory cache. Currently only HPUX does not have such a
-coherent cache, and so this parameter is set to false by
+coherent cache, and so this parameter is set to no by
 default on HPUX. On all other systems this parameter should be left alone. This
 parameter is provided to help the Samba developers track down problems with
 the tdb internal code.
 
 Default: \fBuse mmap = yes\fR
 .TP
+\fBuse rhosts (G)\fR
+If this global parameter is yes, it specifies 
+that the UNIX user's \fI.rhosts\fR file in their home directory 
+will be read to find the names of hosts and users who will be allowed 
+access without specifying a password.
+
+\fBNOTE:\fR The use of \fIuse rhosts
+\fR can be a major security hole. This is because you are 
+trusting the PC to supply the correct username. It is very easy to 
+get a PC to supply a false username. I recommend that the \fI  use rhosts\fR option be only used if you really know what 
+you are doing.
+
+Default: \fBuse rhosts = no\fR
+.TP
 \fBuser (S)\fR
 Synonym for \fI  username\fR.
 .TP
@@ -6752,26 +6782,26 @@ on the left. Processing then continues with the next line.
 If any line begins with a '#' or a ';' then it is 
 ignored
 
-If any line begins with an '!' then the processing 
-will stop after that line if a mapping was done by the line. 
-Otherwise mapping continues with every line being processed. 
-Using '!' is most useful when you have a wildcard mapping line 
+If any line begins with an '!' then the processing
+will stop after that line if a mapping was done by the line.
+Otherwise mapping continues with every line being processed.
+Using '!' is most useful when you have a wildcard mapping line
 later in the file.
 
-For example to map from the name admin 
+For example to map from the name admin
 or administrator to the UNIX name   root you would use:
 
 \fBroot = admin administrator\fR
 
-Or to map anyone in the UNIX group system 
+Or to map anyone in the UNIX group system
 to the UNIX name sys you would use:
 
 \fBsys = @system\fR
 
-You can have as many mappings as you like in a username 
+You can have as many mappings as you like in a username
 map file.
 
-If your system supports the NIS NETGROUP option then 
+If your system supports the NIS NETGROUP option then
 the netgroup database is checked before the \fI/etc/group
 \fR database for matching groups.
 
@@ -6780,12 +6810,12 @@ by using double quotes around the name. For example:
 
 \fBtridge = "Andrew Tridgell"\fR
 
-would map the windows username "Andrew Tridgell" to the 
+would map the windows username "Andrew Tridgell" to the
 unix username "tridge".
 
-The following example would map mary and fred to the 
-unix user sys, and map the rest to guest. Note the use of the 
-\&'!' to tell Samba to stop processing if it gets a match on 
+The following example would map mary and fred to the
+unix user sys, and map the rest to guest. Note the use of the
+\&'!' to tell Samba to stop processing if it gets a match on
 that line.
 
 
@@ -6795,18 +6825,18 @@ that line.
                
 .fi
 
-Note that the remapping is applied to all occurrences 
-of usernames. Thus if you connect to \\\\server\\fred and   fred is remapped to mary then you 
-will actually be connecting to \\\\server\\mary and will need to 
-supply a password suitable for mary not 
-fred. The only exception to this is the 
-username passed to the \fI  password server\fR (if you have one). The password 
-server will receive whatever username the client supplies without 
+Note that the remapping is applied to all occurrences
+of usernames. Thus if you connect to \\\\server\\fred and   fred is remapped to mary then you
+will actually be connecting to \\\\server\\mary and will need to
+supply a password suitable for mary not
+fred. The only exception to this is the
+username passed to the \fI  password server\fR (if you have one). The password
+server will receive whatever username the client supplies without
 modification.
 
-Also note that no reverse mapping is done. The main effect 
-this has is with printing. Users who have been mapped may have 
-trouble deleting print jobs as PrintManager under WfWg will think 
+Also note that no reverse mapping is done. The main effect
+this has is with printing. Users who have been mapped may have
+trouble deleting print jobs as PrintManager under WfWg will think
 they don't own the print job.
 
 Default: \fBno username map\fR
@@ -6814,9 +6844,20 @@ Default: \fBno username map\fR
 Example: \fBusername map = /usr/local/samba/lib/users.map
 \fR
 .TP
+\fBuse sendfile (S)\fR
+If this parameter is yes, and Samba
+was built with the --with-sendfile-support option, and the underlying operating
+system supports sendfile system call, then some SMB read calls (mainly ReadAndX
+and ReadRaw) will use the more efficient sendfile system call for files that
+are exclusively oplocked. This may make more efficient use of the system CPU's
+and cause Samba to be faster. This is off by default as it's effects are unknown
+as yet.
+
+Default: \fBuse sendfile = no\fR
+.TP
 \fButmp (G)\fR
-This boolean parameter is only available if 
-Samba has been configured and compiled  with the option \fB  --with-utmp\fR. If set to true then Samba will attempt
+This boolean parameter is only available if
+Samba has been configured and compiled  with the option \fB  --with-utmp\fR. If set to yes then Samba will attempt
 to add utmp or utmpx records (depending on the UNIX system) whenever a
 connection is made to a Samba server. Sites may use this to record the
 user connecting to a Samba share.
@@ -7010,7 +7051,7 @@ necessary to suppress the enumeration of users through the
 \fBgetpwent()\fR and
 \fBendpwent()\fR group of system calls.  If
 the \fIwinbind enum users\fR parameter is
-false, calls to the \fBgetpwent\fR system call
+no, calls to the \fBgetpwent\fR system call
 will not return any data. 
 
 \fBWarning:\fR Turning off user
@@ -7029,7 +7070,7 @@ necessary to suppress the enumeration of groups through the
 \fBgetgrent()\fR and
 \fBendgrent()\fR group of system calls.  If
 the \fIwinbind enum groups\fR parameter is
-false, calls to the \fBgetgrent()\fR system
+no, calls to the \fBgetgrent()\fR system
 call will not return any data. 
 
 \fBWarning:\fR Turning off group
@@ -7083,10 +7124,10 @@ Users without a domain component are treated as is part of the winbindd server's
 own domain.  While this does not benifit Windows users, it makes SSH, FTP and e-mail 
 function in a way much closer to the way they would in a native unix system.
 
-Default: \fBwinbind use default domain = <falseg
+Default: \fBwinbind use default domain = <no
 \fR
 
-Example: \fBwinbind use default domain = true\fR
+Example: \fBwinbind use default domain = yes\fR
 .TP
 \fBwins hook (G)\fR
 When Samba is running as a WINS server this 
@@ -7163,9 +7204,9 @@ Example: \fBwins server = 192.9.200.1\fR
 \fBwins support (G)\fR
 This boolean controls if the    
 nmbd(8) process in Samba will act as a WINS server. You should 
-not set this to true unless you have a multi-subnetted network and 
+not set this to yes unless you have a multi-subnetted network and 
 you wish a particular \fBnmbd\fR to be your WINS server. 
-Note that you should \fBNEVER\fR set this to true
+Note that you should \fBNEVER\fR set this to yes
 on more than one machine in your network.
 
 Default: \fBwins support = no\fR
@@ -7212,7 +7253,7 @@ for a 256k cache size per file.
 \fBwrite list (S)\fR
 This is a list of users that are given read-write 
 access to a service. If the connecting user is in this list then 
-they will be given write access, no matter what the \fIwriteable\fR
+they will be given write access, no matter what the \fIread only\fR
 option is set to. The list can include group names using the 
 @group syntax.
 
@@ -7240,7 +7281,7 @@ Default: \fBwins partners = \fR
 Example: \fBwins partners = 192.168.0.1 172.16.1.2\fR
 .TP
 \fBwrite ok (S)\fR
-Synonym for \fI  writeable\fR.
+Inverted synonym for \fI  read only\fR.
 .TP
 \fBwrite raw (G)\fR
 This parameter controls whether or not the server 
@@ -7250,17 +7291,7 @@ You should never need to change this parameter.
 Default: \fBwrite raw = yes\fR
 .TP
 \fBwriteable (S)\fR
-An inverted synonym is   \fIread only\fR.
-
-If this parameter is no, then users 
-of a service may not create or modify files in the service's 
-directory.
-
-Note that a printable service (\fBprintable = yes\fR)
-will \fBALWAYS\fR allow writing to the directory 
-(user privileges permitting), but only via spooling operations.
-
-Default: \fBwriteable = no\fR
+Inverted synonym for \fI  read only\fR.
 .SH "WARNINGS"
 .PP
 Although the configuration file permits service names