[Pkg-samba-maint] r1785 - in branches/samba/experimental/debian: . patches

vorlon at alioth.debian.org vorlon at alioth.debian.org
Mon Mar 24 09:12:54 UTC 2008


Author: vorlon
Date: 2008-03-24 09:12:54 +0000 (Mon, 24 Mar 2008)
New Revision: 1785

Added:
   branches/samba/experimental/debian/patches/fix-manpage-htmlchars.patch
Modified:
   branches/samba/experimental/debian/changelog
   branches/samba/experimental/debian/patches/series
Log:
* debian/patches/fix-manpage-htmlchars.patch: patch all the manpages from
  3.2.0pre2, which ended up with html entity encodings embedded in them
  by mistake.  This patch is expected to go away again for 3.2.0pre3.

Modified: branches/samba/experimental/debian/changelog
===================================================================
--- branches/samba/experimental/debian/changelog	2008-03-24 09:02:49 UTC (rev 1784)
+++ branches/samba/experimental/debian/changelog	2008-03-24 09:12:54 UTC (rev 1785)
@@ -1,4 +1,4 @@
-samba (3.2.0~pre2-1) experimental; urgency=low
+samba (3.2.0~pre2-1) UNRELEASED; urgency=low
 
   * New upstream (pre-)release. It closes the following bugs:
     - typos in net.8. Closes: #460487, #460491
@@ -17,6 +17,11 @@
       Closes: #448546
     - fix smbclient(1): useless use of cat. Closes: #429349
 
+  [ Steve Langasek ]
+  * debian/patches/fix-manpage-htmlchars.patch: patch all the manpages from
+    3.2.0pre2, which ended up with html entity encodings embedded in them
+    by mistake.  This patch is expected to go away again for 3.2.0pre3.
+
  -- Christian Perrier <bubulle at debian.org>  Wed, 05 Mar 2008 22:45:28 +0100
 
 samba (3.0.28a-1) unstable; urgency=low

Added: branches/samba/experimental/debian/patches/fix-manpage-htmlchars.patch
===================================================================
--- branches/samba/experimental/debian/patches/fix-manpage-htmlchars.patch	                        (rev 0)
+++ branches/samba/experimental/debian/patches/fix-manpage-htmlchars.patch	2008-03-24 09:12:54 UTC (rev 1785)
@@ -0,0 +1,27005 @@
+Index: samba-3.2.0~pre2/docs/manpages/eventlogadm.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/eventlogadm.8
++++ samba-3.2.0~pre2/docs/manpages/eventlogadm.8
+@@ -18,56 +18,56 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "EVENTLOGADM" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ eventlogadm - push records into the Samba event log store
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-eventlogadm [&#9619;fB-d&#9619;fR] [&#9619;fB-h&#9619;fR] &#9619;fB-o&#9619;fR&#9600;addsource&#9600;&#9619;fIEVENTLOG&#9619;fR&#9600;&#9619;fISOURCENAME&#9619;fR&#9600;&#9619;fIMSGFILE&#9619;fR
+-&#8962;HP 1
+-eventlogadm [&#9619;fB-d&#9619;fR] [&#9619;fB-h&#9619;fR] &#9619;fB-o&#9619;fR&#9600;write&#9600;&#9619;fIEVENTLOG&#9619;fR
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++eventlogadm [\fB-d\fR] [\fB-h\fR] \fB-o\fR addsource \fIEVENTLOG\fR \fISOURCENAME\fR \fIMSGFILE\fR
++.HP 1
++eventlogadm [\fB-d\fR] [\fB-h\fR] \fB-o\fR write \fIEVENTLOG\fR
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(1)
++\fBsamba\fR(1)
+ suite.
+-&#8962;PP
++.PP
+ eventlogadm
+ is a filter that accepts formatted event log records on standard input and writes them to the Samba event log store. Windows client can then manipulate these record using the usual administration tools.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
+-&#9619;fB-d&#9619;fR
+-&#8962;RS 4
++.SH "OPTIONS"
++.PP
++\fB-d\fR
++.RS 4
+ The
+ -d
+ option causes
+ eventlogadm
+ to emit debugging information.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fB-o&#9619;fR addsource &#9619;fIEVENTLOG&#9619;fR &#9619;fISOURCENAME&#9619;fR &#9619;fIMSGFILE&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fB-o\fR addsource \fIEVENTLOG\fR \fISOURCENAME\fR \fIMSGFILE\fR
++.RS 4
+ The
+ -o addsource
+ option creates a new event log source.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fB-o&#9619;fR write &#9619;fIEVENTLOG&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fB-o\fR write \fIEVENTLOG\fR
++.RS 4
+ The
+ -o write
+ reads event log records from standard input and writes them to theSamba event log store named by EVENTLOG.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fB-h&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fB-h\fR
++.RS 4
+ Print usage information.
+-&#8962;RE
+-&#8962;SH "EVENTLOG RECORD FORMAT"
+-&#8962;PP
++.RE
++.SH "EVENTLOG RECORD FORMAT"
++.PP
+ For the write operation,
+ eventlogadm
+ expects to be able to read structured records from standard input. These records are a sequence of lines, with the record key and data separated by a colon character. Records are separated by at least one or more blank line.
+-&#8962;PP
++.PP
+ The event log record field are:
+ \(bu
+ 
+@@ -145,8 +145,8 @@
+ 
+ DAT
+ - This field should be left unset.
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ An example of the record format accepted by
+ eventlogadm:
+ 
+@@ -169,7 +169,7 @@
+ 	DAT:
+ 	
+ .fi
+-&#8962;PP
++.PP
+ Set up an eventlog source, specifying a message file DLL:
+ 
+ .nf
+@@ -178,7 +178,7 @@
+ 	    	%SystemRoot%/system32/MyApplication.dll
+ 	
+ .fi
+-&#8962;PP
++.PP
+ Filter messages from the system log into an event log:
+ 
+ .nf
+@@ -188,10 +188,10 @@
+ 	      	eventlogadm SystemLogEvents
+ 	
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/findsmb.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/findsmb.1
++++ samba-3.2.0~pre2/docs/manpages/findsmb.1
+@@ -18,74 +18,74 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "FINDSMB" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ findsmb - list info about machines that respond to SMB name queries on a subnet
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-findsmb [subnet&#9600;broadcast&#9600;address]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++findsmb [subnet broadcast address]
++.SH "DESCRIPTION"
++.PP
+ This perl script is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ findsmb
+ is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests. It uses
+-&#9619;fBnmblookup&#9619;fR(1)
++\fBnmblookup\fR(1)
+ and
+-&#9619;fBsmbclient&#9619;fR(1)
++\fBsmbclient\fR(1)
+ to obtain this information.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -r
+-&#8962;RS 4
++.RS 4
+ Controls whether
+ findsmb
+ takes bugs in Windows95 into account when trying to find a Netbios name registered of the remote machine. This option is disabled by default because it is specific to Windows 95 and Windows 95 machines only. If set,
+-&#9619;fBnmblookup&#9619;fR(1)
++\fBnmblookup\fR(1)
+ will be called with
+-&#9619;fB-B&#9619;fR
++\fB-B\fR
+ option.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ subnet broadcast address
+-&#8962;RS 4
++.RS 4
+ Without this option,
+ findsmb
+ will probe the subnet of the machine where
+-&#9619;fBfindsmb&#9619;fR(1)
++\fBfindsmb\fR(1)
+ is run. This value is passed to
+-&#9619;fBnmblookup&#9619;fR(1)
++\fBnmblookup\fR(1)
+ as part of the
+-&#9619;fB-B&#9619;fR
++\fB-B\fR
+ option.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ The output of
+ findsmb
+ lists the following information for all machines that respond to the initial
+ nmblookup
+ for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version.
+-&#8962;PP
++.PP
+ There will be a '+' in front of the workgroup name for machines that are local master browsers for that workgroup. There will be an '*' in front of the workgroup name for machines that are the domain master browser for that workgroup. Machines that are running Windows for Workgroups, Windows 95 or Windows 98 will not show any information about the operating system or server version.
+-&#8962;PP
++.PP
+ The command with
+-&#9619;fB-r&#9619;fR
++\fB-r\fR
+ option must be run on a system without
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ running. If
+ nmbd
+ is running on the system, you will only get the IP address and the DNS name of the machine. To get proper responses from Windows 95 and Windows 98 machines, the command must be run as root and with
+-&#9619;fB-r&#9619;fR
++\fB-r\fR
+ option on a machine without
+ nmbd
+ running.
+-&#8962;PP
++.PP
+ For example, running
+ findsmb
+ without
+-&#9619;fB-r&#9619;fR
++\fB-r\fR
+ option set would yield output similar to the following
+ 
+ .nf
+@@ -104,18 +104,18 @@
+ 192.168.35.97   HERBNT1       *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBnmbd&#9619;fR(8),
+-&#9619;fBsmbclient&#9619;fR(1), and
+-&#9619;fBnmblookup&#9619;fR(1)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBnmbd\fR(8),
++\fBsmbclient\fR(1), and
++\fBnmblookup\fR(1)
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/idmap_ad.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/idmap_ad.8
++++ samba-3.2.0~pre2/docs/manpages/idmap_ad.8
+@@ -18,24 +18,24 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "IDMAP_AD" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ idmap_ad - Samba's idmap_ad Backend for Winbind
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ The idmap_ad plugin provides a way for Winbind to read id mappings from an AD server that uses RFC2307/SFU schema extensions. This module implements only the "idmap" API, and is READONLY. Mappings must be provided in advance by the administrator by adding the posixAccount/posixGroup classess and relative attribute/value pairs to the users and groups objects in AD
+-&#8962;SH "IDMAP OPTIONS"
+-&#8962;PP
++.SH "IDMAP OPTIONS"
++.PP
+ range = low - high
+-&#8962;RS 4
++.RS 4
+ Defines the available matching uid and gid range for which the backend is authoritative. Note that the range acts as a filter. If specified any UID or GID stored in AD that fall outside the range is ignored and the corresponding map is discarded. It is intended as a way to avoid accidental UID/GID overlaps between local and remotely defined IDs.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ schema_mode = <rfc2307 | sfu >
+-&#8962;RS 4
++.RS 4
+ Defines the schema that idmap_ad should use when querying Active Directory regarding user and group information. This can either the RFC2307 schema support included in Windows 2003 R2 or the Service for Unix (SFU) schema.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ The following example shows how to retrieve idmappings from our principal and and trusted AD domains. All is needed is to set default to yes. If trusted domains are present id conflicts must be resolved beforehand, there is no guarantee on the order conflicting mappings would be resolved at this point. This example also shows how to leave a small non conflicting range for local id allocation that may be used in internal backends like BUILTIN.
+ 
+ .nf
+@@ -50,7 +50,7 @@
+ 	idmap alloc config:range        = 5000 - 9999
+ 	
+ .fi
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/idmap_ldap.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/idmap_ldap.8
++++ samba-3.2.0~pre2/docs/manpages/idmap_ldap.8
+@@ -18,55 +18,55 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "IDMAP_LDAP" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ idmap_ldap - Samba's idmap_ldap Backend for Winbind
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ The idmap_ldap plugin provides a means for Winbind to store and retrieve SID/uid/gid mapping tables in an LDAP directory service. The module implements both the "idmap" and "idmap alloc" APIs.
+-&#8962;SH "IDMAP OPTIONS"
+-&#8962;PP
++.SH "IDMAP OPTIONS"
++.PP
+ ldap_base_dn = DN
+-&#8962;RS 4
++.RS 4
+ Defines the directory base suffix to use when searching for SID/uid/gid mapping entries. If not defined, idmap_ldap will default to using the "ldap idmap suffix" option from smb.conf.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ldap_user_dn = DN
+-&#8962;RS 4
++.RS 4
+ Defines the user DN to be used for authentication. If absent an anonymous bind will be performed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ldap_url = ldap://server/
+-&#8962;RS 4
++.RS 4
+ Specifies the LDAP server to use when searching for existing SID/uid/gid map entries. If not defined, idmap_ldap will assume that ldap://localhost/ should be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ range = low - high
+-&#8962;RS 4
++.RS 4
+ Defines the available matching uid and gid range for which the backend is authoritative. Note that the range commonly matches the allocation range due to the fact that the same backend will store and retrieve SID/uid/gid mapping entries. If the parameter is absent, Winbind fail over to use the "idmap uid" and "idmap gid" options from smb.conf.
+-&#8962;RE
+-&#8962;SH "IDMAP ALLOC OPTIONS"
+-&#8962;PP
++.RE
++.SH "IDMAP ALLOC OPTIONS"
++.PP
+ ldap_base_dn = DN
+-&#8962;RS 4
++.RS 4
+ Defines the directory base suffix under which new SID/uid/gid mapping entries should be stored. If not defined, idmap_ldap will default to using the "ldap idmap suffix" option from smb.conf.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ldap_user_dn = DN
+-&#8962;RS 4
++.RS 4
+ Defines the user DN to be used for authentication. If absent an anonymous bind will be performed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ldap_url = ldap://server/
+-&#8962;RS 4
++.RS 4
+ Specifies the LDAP server to which modify/add/delete requests should be sent. If not defined, idmap_ldap will assume that ldap://localhost/ should be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ range = low - high
+-&#8962;RS 4
++.RS 4
+ Defines the available matching uid and gid range from which winbindd can allocate for users and groups. If the parameter is absent, Winbind fail over to use the "idmap uid" and "idmap gid" options from smb.conf.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ The follow sets of a LDAP configuration which uses a slave server running on localhost for fast fetching SID/gid/uid mappings, it implies correct configuration of referrals. The idmap alloc backend is pointed directly to the master to skip the referral (and consequent reconnection to the master) that the slave would return as allocation requires writing on the master.
+ 
+ .nf
+@@ -85,10 +85,10 @@
+ 	    idmap alloc config:range        = 10000 - 50000
+ 	
+ .fi
+-&#8962;SH "NOTE"
+-&#8962;PP
++.SH "NOTE"
++.PP
+ In order to use authentication against ldap servers you may need to provide a DN and a password. To avoid exposing the password in plain text in the configuration file we store it into a security store. The "net idmap " command is used to store a secret for the DN specified in a specific idmap domain.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/idmap_nss.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/idmap_nss.8
++++ samba-3.2.0~pre2/docs/manpages/idmap_nss.8
+@@ -18,13 +18,13 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "IDMAP_NSS" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ idmap_nss - Samba's idmap_nss Backend for Winbind
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ The idmap_nss plugin provides a means to map Unix users and groups to Windows accounts and obseletes the "winbind trusted domains only" smb.conf option. This provides a simple means of ensuring that the SID for a Unix user named jsmith is reported as the one assigned to DOMAIN\jsmith which is necessary for reporting ACLs on files and printers stored on a Samba member server.
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ This example shows how to use idmap_nss to check the local accounts for its own domain while using allocation to create new mappings for trusted domains
+ 
+ .nf
+@@ -43,7 +43,7 @@
+ 	    idmap alloc config:range = 10000 - 50000
+ 	
+ .fi
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/idmap_rid.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/idmap_rid.8
++++ samba-3.2.0~pre2/docs/manpages/idmap_rid.8
+@@ -18,24 +18,24 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "IDMAP_RID" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ idmap_rid - Samba's idmap_rid Backend for Winbind
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ The idmap_rid backend provides a way to use an algorithmic mapping scheme to map UIDs/GIDs and SIDs. No database is required in this case as the mapping is deterministic.
+-&#8962;SH "IDMAP OPTIONS"
+-&#8962;PP
++.SH "IDMAP OPTIONS"
++.PP
+ range = low - high
+-&#8962;RS 4
++.RS 4
+ Defines the available matching uid and gid range for which the backend is authoritative. Note that the range acts as a filter. If algorithmically determined UID or GID fall outside the range, they are ignored and the corresponding map is discarded. It is intended as a way to avoid accidental UID/GID overlaps between local and remotely defined IDs.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ base_rid = INTEGER
+-&#8962;RS 4
++.RS 4
+ Defines the base integer used to build SIDs out of an UID or a GID, and to rebase the UID or GID to be obtained from a SID. User RIDs by default start at 1000 (512 hexadecimal), this means a good value for base_rid can be 1000 as the resulting ID is calculated this way: ID = RID - BASE_RID + LOW RANGE ID.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ This example shows how to configure 2 domains with idmap_rid
+ 
+ .nf
+@@ -52,7 +52,7 @@
+ 	    idmap config TRUSTED1:range    = 50000 - 99999
+ 	
+ .fi
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/idmap_tdb.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/idmap_tdb.8
++++ samba-3.2.0~pre2/docs/manpages/idmap_tdb.8
+@@ -18,25 +18,25 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "IDMAP_TDB" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ idmap_tdb - Samba's idmap_tdb Backend for Winbind
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ The idmap_tdb plugin is the default backend used by winbindd for storing SID/uid/gid mapping tables and implements both the "idmap" and "idmap alloc" APIs.
+-&#8962;SH "IDMAP OPTIONS"
+-&#8962;PP
++.SH "IDMAP OPTIONS"
++.PP
+ range = low - high
+-&#8962;RS 4
++.RS 4
+ Defines the available matching uid and gid range for which the backend is authoritative. Note that the range commonly matches the allocation range due to the fact that the same backend will store and retrieve SID/uid/gid mapping entries. If the parameter is absent, Winbind fail over to use the "idmap uid" and "idmap gid" options from smb.conf.
+-&#8962;RE
+-&#8962;SH "IDMAP ALLOC OPTIONS"
+-&#8962;PP
++.RE
++.SH "IDMAP ALLOC OPTIONS"
++.PP
+ range = low - high
+-&#8962;RS 4
++.RS 4
+ Defines the available matching uid and gid range from which winbindd can allocate for users and groups. If the parameter is absent, Winbind fail over to use the "idmap uid" and "idmap gid" options from smb.conf.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ The following example is equivalent to the pre-3.0.25 default idmap configuration using the "idmap backend = tdb" setting.
+ 
+ .nf
+@@ -51,7 +51,7 @@
+ 	    idmap alloc config:range = 10000 - 50000
+ 	
+ .fi
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ldb.3
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ldb.3
++++ samba-3.2.0~pre2/docs/manpages/ldb.3
+@@ -18,30 +18,30 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LDB" 3 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ldb - A light-weight database library
+-&#8962;SH "SYNOPSIS"
++.SH "SYNOPSIS"
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#8962;nf
++.sp
++.RS 4
++.nf
+ #include <ldb.h>
+-&#8962;fi
+-&#8962;RE
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.fi
++.RE
++.SH "DESCRIPTION"
++.PP
+ ldb is a light weight embedded database library and API. With a programming interface that is very similar to LDAP, ldb can store its data either in a tdb(3) database or in a real LDAP database.
+-&#8962;PP
++.PP
+ When used with the tdb backend ldb does not require any database daemon. Instead, ldb function calls are processed immediately by the ldb library, which does IO directly on the database, while allowing multiple readers/writers using operating system byte range locks. This leads to an API with very low overheads, often resulting in speeds of more than 10x what can be achieved with a more traditional LDAP architecture.
+-&#8962;PP
++.PP
+ In a taxonomy of databases ldb would sit half way between key/value pair databases (such as berkley db or tdb) and a full LDAP database. With a structured attribute oriented API like LDAP and good indexing capabilities, ldb can be used for quite sophisticated applications that need a light weight database, without the administrative overhead of a full LDAP installation.
+-&#8962;PP
++.PP
+ Included with ldb are a number of useful command line tools for manipulating a ldb database. These tools are similar in style to the equivalent ldap command line tools.
+-&#8962;PP
++.PP
+ In its default mode of operation with a tdb backend, ldb can also be seen as a "schema-less LDAP". By default ldb does not require a schema, which greatly reduces the complexity of getting started with ldb databases. As the complexity of you application grows you can take advantage of some of the optional schema-like attributes that ldb offers, or you can migrate to using the full LDAP api while keeping your exiting ldb code.
+-&#8962;PP
++.PP
+ If you are new to ldb, then I suggest starting with the manual pages for ldbsearch(1) and ldbedit(1), and experimenting with a local database. Then I suggest you look at the ldb_connect(3) and ldb_search(3) manual pages.
+-&#8962;SH "TOOLS"
++.SH "TOOLS"
+ \(bu
+ 
+ ldbsearch(1)
+@@ -66,139 +66,139 @@
+ 
+ ldbmodify(1)
+ - modify records in a ldb database using LDIF formatted input
+-&#8962;SH "FUNCTIONS"
++.SH "FUNCTIONS"
+ \(bu
+ 
+-&#9619;fBldb_connect(3)&#9619;fR
++\fBldb_connect(3)\fR
+ - connect to a ldb backend
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_search(3)&#9619;fR
++\fBldb_search(3)\fR
+ - perform a database search
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_add(3)&#9619;fR
++\fBldb_add(3)\fR
+ - add a record to the database
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_delete(3)&#9619;fR
++\fBldb_delete(3)\fR
+ - delete a record from the database
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_modify(3)&#9619;fR
++\fBldb_modify(3)\fR
+ - modify a record in the database
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_errstring(3)&#9619;fR
++\fBldb_errstring(3)\fR
+ - retrieve extended error information from the last operation
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_ldif_write(3)&#9619;fR
++\fBldb_ldif_write(3)\fR
+ - write a LDIF formatted message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_ldif_write_file(3)&#9619;fR
++\fBldb_ldif_write_file(3)\fR
+ - write a LDIF formatted message to a file
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_ldif_read(3)&#9619;fR
++\fBldb_ldif_read(3)\fR
+ - read a LDIF formatted message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_ldif_read_free(3)&#9619;fR
++\fBldb_ldif_read_free(3)\fR
+ - free the result of a ldb_ldif_read()
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_ldif_read_file(3)&#9619;fR
++\fBldb_ldif_read_file(3)\fR
+ - read a LDIF message from a file
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_ldif_read_string(3)&#9619;fR
++\fBldb_ldif_read_string(3)\fR
+ - read a LDIF message from a string
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_find_element(3)&#9619;fR
++\fBldb_msg_find_element(3)\fR
+ - find an element in a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_val_equal_exact(3)&#9619;fR
++\fBldb_val_equal_exact(3)\fR
+ - compare two ldb_val structures
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_find_val(3)&#9619;fR
++\fBldb_msg_find_val(3)\fR
+ - find an element by value
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_add_empty(3)&#9619;fR
++\fBldb_msg_add_empty(3)\fR
+ - add an empty message element to a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_add(3)&#9619;fR
++\fBldb_msg_add(3)\fR
+ - add a non-empty message element to a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_element_compare(3)&#9619;fR
++\fBldb_msg_element_compare(3)\fR
+ - compare two ldb_message_element structures
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_find_int(3)&#9619;fR
++\fBldb_msg_find_int(3)\fR
+ - return an integer value from a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_find_uint(3)&#9619;fR
++\fBldb_msg_find_uint(3)\fR
+ - return an unsigned integer value from a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_find_double(3)&#9619;fR
++\fBldb_msg_find_double(3)\fR
+ - return a double value from a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_msg_find_string(3)&#9619;fR
++\fBldb_msg_find_string(3)\fR
+ - return a string value from a ldb_message
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_set_alloc(3)&#9619;fR
++\fBldb_set_alloc(3)\fR
+ - set the memory allocation function to be used by ldb
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_set_debug(3)&#9619;fR
++\fBldb_set_debug(3)\fR
+ - set a debug handler to be used by ldb
+ .TP
+ \(bu
+ 
+-&#9619;fBldb_set_debug_stderr(3)&#9619;fR
++\fBldb_set_debug_stderr(3)\fR
+ - set a debug handler for stderr output
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ ldb was written by
+ Andrew Tridgell.
+-&#8962;PP
++.PP
+ If you wish to report a problem or make a suggestion then please see the
+ : http://ldb.samba.org/
+ web site for current contact and maintainer information.
+-&#8962;PP
++.PP
+ ldb is released under the GNU Lesser General Public License version 2 or later. Please see the file COPYING for license details.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ldbadd.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ldbadd.1
++++ samba-3.2.0~pre2/docs/manpages/ldbadd.1
+@@ -18,47 +18,47 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LDBADD" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ldbadd - Command-line utility for adding records to an LDB
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-ldbadd [-h] [-H&#9600;LDB-URL] [ldif-file1] [ldif-file2] [...]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++ldbadd [-h] [-H LDB-URL] [ldif-file1] [ldif-file2] [...]
++.SH "DESCRIPTION"
++.PP
+ ldbadd adds records to an ldb(7) database. It reads the ldif(5) files specified on the command line and adds the records from these files to the LDB database, which is specified by the -H option or the LDB_URL environment variable.
+-&#8962;PP
++.PP
+ If - is specified as a ldb file, the ldif input is read from standard input.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h
+-&#8962;RS 4
++.RS 4
+ Show list of available options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -H <ldb-url>
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to. See ldb(7) for details.
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT"
++.PP
+ LDB_URL
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to (can be overrided by using the -H command-line option.)
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 4.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ ldb(7), ldbmodify, ldbdel, ldif(5)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ ldb was written by
+ Andrew Tridgell.
+-&#8962;PP
++.PP
+ If you wish to report a problem or make a suggestion then please see the
+ : http://ldb.samba.org/
+ web site for current contact and maintainer information.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ldbdel.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ldbdel.1
++++ samba-3.2.0~pre2/docs/manpages/ldbdel.1
+@@ -18,49 +18,49 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LDBDEL" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ldbdel - Command-line program for deleting LDB records
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-ldbdel [-h] [-H&#9600;LDB-URL] [dn] [...]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++ldbdel [-h] [-H LDB-URL] [dn] [...]
++.SH "DESCRIPTION"
++.PP
+ ldbdel deletes records from an ldb(7) database. It deletes the records identified by the dn's specified on the command-line.
+-&#8962;PP
++.PP
+ ldbdel uses either the database that is specified with the -H option or the database specified by the LDB_URL environment variable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h
+-&#8962;RS 4
++.RS 4
+ Show list of available options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -H <ldb-url>
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to. See ldb(7) for details.
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT"
++.PP
+ LDB_URL
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to (can be overrided by using the -H command-line option.)
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 4.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ ldb(7), ldbmodify, ldbadd, ldif(5)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ ldb was written by
+ Andrew Tridgell.
+-&#8962;PP
++.PP
+ If you wish to report a problem or make a suggestion then please see the
+ : http://ldb.samba.org/
+ web site for current contact and maintainer information.
+-&#8962;PP
++.PP
+ ldbdel was written by Andrew Tridgell.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ldbedit.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ldbedit.1
++++ samba-3.2.0~pre2/docs/manpages/ldbedit.1
+@@ -18,80 +18,80 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LDBEDIT" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ldbedit - Edit LDB databases using your preferred editor
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-ldbedit [-?] [--usage] [-s&#9600;base|one|sub] [-b&#9600;basedn] [-a] [-e&#9600;editor] [-H&#9600;LDB-URL] [expression] [attributes...]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++ldbedit [-?] [--usage] [-s base|one|sub] [-b basedn] [-a] [-e editor] [-H LDB-URL] [expression] [attributes...]
++.SH "DESCRIPTION"
++.PP
+ ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -?, --help
+-&#8962;RS 4
++.RS 4
+ Show list of available options, and a phrase describing what that option does.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --usage
+-&#8962;RS 4
++.RS 4
+ Show list of available options. This is similar to the help option, however it does not provide any description, and is hence shorter.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -H <ldb-url>
+-&#8962;RS 4
+-LDB URL to connect to. For a tdb database, this will be of the form tdb://&#9619;fIfilename&#9619;fR. For a LDAP connection over unix domain sockets, this will be of the form ldapi://&#9619;fIsocket&#9619;fR. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://&#9619;fIhostname&#9619;fR. For an SQLite database, this will be of the form sqlite://&#9619;fIfilename&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++.RS 4
++LDB URL to connect to. For a tdb database, this will be of the form tdb://\fIfilename\fR. For a LDAP connection over unix domain sockets, this will be of the form ldapi://\fIsocket\fR. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://\fIhostname\fR. For an SQLite database, this will be of the form sqlite://\fIfilename\fR.
++.RE
++.PP
+ -s one|sub|base
+-&#8962;RS 4
++.RS 4
+ Search scope to use. One-level, subtree or base.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -a, -all
+-&#8962;RS 4
++.RS 4
+ Edit all records. This allows you to apply the same change to a number of records at once. You probably want to combine this with an expression of the form "objectclass=*".
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -e editor, --editor editor
+-&#8962;RS 4
++.RS 4
+ Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables). If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b basedn
+-&#8962;RS 4
++.RS 4
+ Specify Base Distinguished Name to use.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v, --verbose
+-&#8962;RS 4
++.RS 4
+ Make ldbedit more verbose about the operations that are being performed. Without this option, ldbedit will only provide a summary change line.
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT"
++.PP
+ LDB_URL
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to. This can be overridden by using the -H command-line option.)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ VISUAL and EDITOR
+-&#8962;RS 4
++.RS 4
+ Environment variables used to determine what editor to use. VISUAL takes precedence over EDITOR, and both are overridden by the -e command-line option.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 4.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ ldb(7), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ ldb was written by
+ Andrew Tridgell.
+-&#8962;PP
++.PP
+ If you wish to report a problem or make a suggestion then please see the
+ : http://ldb.samba.org/
+ web site for current contact and maintainer information.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij and updated by Brad Hards.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ldbmodify.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ldbmodify.1
++++ samba-3.2.0~pre2/docs/manpages/ldbmodify.1
+@@ -18,42 +18,42 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LDBMODIFY" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ldbmodify - Modify records in a LDB database
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-ldbmodify [-H&#9600;LDB-URL] [ldif-file]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++ldbmodify [-H LDB-URL] [ldif-file]
++.SH "DESCRIPTION"
++.PP
+ ldbmodify changes, adds and deletes records in a LDB database. The changes that should be made to the LDB database are read from the specified LDIF-file. If - is specified as the filename, input is read from stdin.
+-&#8962;PP
++.PP
+ For now, see ldapmodify(1) for details on the LDIF file format.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -H <ldb-url>
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to. See ldb(7) for details.
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT"
++.PP
+ LDB_URL
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to (can be overrided by using the -H command-line option.)
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 4.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ ldb(7), ldbedit
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ ldb was written by
+ Andrew Tridgell.
+-&#8962;PP
++.PP
+ If you wish to report a problem or make a suggestion then please see the
+ : http://ldb.samba.org/
+ web site for current contact and maintainer information.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ldbsearch.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ldbsearch.1
++++ samba-3.2.0~pre2/docs/manpages/ldbsearch.1
+@@ -18,60 +18,60 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LDBSEARCH" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ldbsearch - Search for records in a LDB database
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-ldbsearch [-h] [-s&#9600;base|one|sub] [-b&#9600;basedn] [-i] [-H&#9600;LDB-URL] [expression] [attributes]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++ldbsearch [-h] [-s base|one|sub] [-b basedn] [-i] [-H LDB-URL] [expression] [attributes]
++.SH "DESCRIPTION"
++.PP
+ ldbsearch searches a LDB database for records matching the specified expression (see the ldapsearch(1) manpage for a description of the expression format). For each record, the specified attributes are printed.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h
+-&#8962;RS 4
++.RS 4
+ Show list of available options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -H <ldb-url>
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to. See ldb(7) for details.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s one|sub|base
+-&#8962;RS 4
++.RS 4
+ Search scope to use. One-level, subtree or base.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ Read search expressions from stdin.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b basedn
+-&#8962;RS 4
++.RS 4
+ Specify Base DN to use.
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT"
++.PP
+ LDB_URL
+-&#8962;RS 4
++.RS 4
+ LDB URL to connect to (can be overrided by using the -H command-line option.)
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 4.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ ldb(7), ldbedit(1)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ ldb was written by
+ Andrew Tridgell.
+-&#8962;PP
++.PP
+ If you wish to report a problem or make a suggestion then please see the
+ : http://ldb.samba.org/
+ web site for current contact and maintainer information.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/libsmbclient.7
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/libsmbclient.7
++++ samba-3.2.0~pre2/docs/manpages/libsmbclient.7
+@@ -18,56 +18,56 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LIBSMBCLIENT" 7 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ libsmbclient - An extension library for browsers and that can be used as a generic browsing API.
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-Browser URL:&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++Browser URL:.PP
+ smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options]
+ 
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ 
+ libsmbclient
+ is a library toolset that permits applications to manipulate CIFS/SMB network resources using many of the standards POSIX functions available for manipulating local UNIX/Linux files. It permits much more than just browsing, files can be opened and read or written, permissions changed, file times modified, attributes and ACL's can be manipulated, and so on. Of course, its functionality includes all the capabilities commonly called browsing.
+-&#8962;PP
++.PP
+ 
+ libsmbclient
+ can not be used directly from the command line, instead it provides an extension of the capabilities of tools such as file managers and browsers. This man page describes the configuration options for this tool so that the user may obtain greatest utility of use.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ What the URLs mean:
+-&#8962;PP
++.PP
+ smb://
+-&#8962;RS 4
++.RS 4
+ Shows all workgroups or domains that are visible in the network. The behavior matches that of the Microsoft Windows Explorer.
+-&#8962;sp
++.sp
+ The method of locating the list of workgroups (domains also) varies depending on the setting of the context variable
+ (context->options.browse_max_lmb_count). It is the responsibility of the application that calls this library to set this to a sensible value. This is a compile-time option. This value determines the maximum number of local master browsers to query for the list of workgroups. In order to ensure that the list is complete for those present on the network, all master browsers must be querried. If there are a large number of workgroups on the network, the time spent querying will be significant. For small networks (just a few workgroups), it is suggested to set this value to 0, instructing libsmbclient to query all local master browsers. In an environment that has many workgroups a more reasonable setting may be around 3.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ smb://name/
+-&#8962;RS 4
++.RS 4
+ This command causes libsmbclient to perform a name look-up. If the NAME<1D> or NAME<1B> exists (workgroup name), libsmbclient will list all servers in the workgroup (or domain). Otherwise, a name look-up for the NAME<20> (machine name) will be performed, and the list of shared resources on the server will be displayed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ When libsmbclient is invoked by an application it searches for a directory called
+-&#9619;fI.smb&#9619;fR
++\fI.smb\fR
+ in the $HOME directory that is specified in the users shell environment. It then searches for a file called
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ which, if present, will fully over-ride the system
+-&#9619;fI/etc/samba/smb.conf&#9619;fR
++\fI/etc/samba/smb.conf\fR
+ file. If instead libsmbclient finds a file called
+-&#9619;fI~/.smb/smb.conf.append&#9619;fR, it will read the system
+-&#9619;fI/etc/samba/smb.conf&#9619;fR
++\fI~/.smb/smb.conf.append\fR, it will read the system
++\fI/etc/samba/smb.conf\fR
+ and then append the contents of the
+-&#9619;fI~/.smb/smb.conf.append&#9619;fR
++\fI~/.smb/smb.conf.append\fR
+ to it.
+-&#8962;PP
++.PP
+ 
+ libsmbclient
+ will check the users shell environment for the
+@@ -75,15 +75,15 @@
+ parameter and will use its value when if the
+ user
+ parameter was not included in the URL.
+-&#8962;SH "PROGRAMMERS GUIDE"
+-&#8962;PP
++.SH "PROGRAMMERS GUIDE"
++.PP
+ Watch this space for future updates.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The libsmbclient manpage page was written by John H Terpstra.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/lmhosts.5
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/lmhosts.5
++++ samba-3.2.0~pre2/docs/manpages/lmhosts.5
+@@ -18,40 +18,40 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LMHOSTS" 5 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ lmhosts - The Samba NetBIOS hosts file
+-&#8962;SH "SYNOPSIS"
+-&#8962;PP
+-&#9619;fIlmhosts&#9619;fR
++.SH "SYNOPSIS"
++.PP
++\fIlmhosts\fR
+ is the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ NetBIOS name to IP address mapping file.
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This file is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
+-&#9619;fIlmhosts&#9619;fR
++.PP
++\fIlmhosts\fR
+ is the
+ \fBSamba \fR
+ NetBIOS name to IP address mapping file. It is very similar to the
+-&#9619;fI/etc/hosts&#9619;fR
++\fI/etc/hosts\fR
+ file format, except that the hostname component must correspond to the NetBIOS naming format.
+-&#8962;SH "FILE FORMAT"
+-&#8962;PP
++.SH "FILE FORMAT"
++.PP
+ It is an ASCII file containing one line for NetBIOS name. The two fields on each line are separated from each other by white space. Any entry beginning with '#' is ignored. Each line in the lmhosts file contains the following information:
+ \(bu
+ IP Address - in dotted decimal format.
+ .TP
+ \(bu
+ NetBIOS Name - This name format is a maximum fifteen character host name, with an optional trailing '#' character followed by the NetBIOS name type as two hexadecimal digits.
+-&#8962;sp
++.sp
+ If the trailing '#' is omitted then the given IP address will be returned for all names that match the given name, whatever the NetBIOS name type in the lookup.
+-&#8962;PP
++.PP
+ An example follows:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -64,34 +64,34 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ Contains three IP to NetBIOS name mappings. The first and third will be returned for any queries for the names "TESTPC" and "SAMBASERVER" respectively, whatever the type component of the NetBIOS name requested.
+-&#8962;PP
++.PP
+ The second mapping will be returned only when the "0x20" name type for a name "NTSERVER" is queried. Any other name type will not be resolved.
+-&#8962;PP
++.PP
+ The default location of the
+-&#9619;fIlmhosts&#9619;fR
++\fIlmhosts\fR
+ file is in the same directory as the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file.
+-&#8962;SH "FILES"
+-&#8962;PP
++.SH "FILES"
++.PP
+ lmhosts is loaded from the configuration directory. This is usually
+-&#9619;fI/etc/samba&#9619;fR
++\fI/etc/samba\fR
+ or
+-&#9619;fI/usr/local/samba/lib&#9619;fR.
+-&#8962;SH "VERSION"
+-&#8962;PP
++\fI/usr/local/samba/lib\fR.
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbclient&#9619;fR(1),
+-&#9619;fBsmb.conf&#9619;fR(5), and
+-&#9619;fBsmbpasswd&#9619;fR(8)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmbclient\fR(1),
++\fBsmb.conf\fR(5), and
++\fBsmbpasswd\fR(8)
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/log2pcap.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/log2pcap.1
++++ samba-3.2.0~pre2/docs/manpages/log2pcap.1
+@@ -18,63 +18,63 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "LOG2PCAP" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ log2pcap - Extract network traces from Samba log files
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ log2pcap [-h] [-q] [logfile] [pcap_file]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ log2pcap
+ reads in a samba log file and generates a pcap file (readable by most sniffers, such as ethereal or tcpdump) based on the packet dumps in the log file.
+-&#8962;PP
++.PP
+ The log file must have a
+-&#9619;fIlog level&#9619;fR
++\fIlog level\fR
+ of at least
+-&#9619;fB5&#9619;fR
++\fB5\fR
+ to get the SMB header/parameters right,
+-&#9619;fB10&#9619;fR
++\fB10\fR
+ to get the first 512 data bytes of the packet and
+-&#9619;fB50&#9619;fR
++\fB50\fR
+ to get the whole packet.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h
+-&#8962;RS 4
++.RS 4
+ If this parameter is specified the output file will be a hex dump, in a format that is readable by the
+ text2pcap
+ utility.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -q
+-&#8962;RS 4
++.RS 4
+ Be quiet. No warning messages about missing or incomplete data will be given.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ logfile
+-&#8962;RS 4
++.RS 4
+ Samba log file. log2pcap will try to read the log from stdin if the log file is not specified.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ pcap_file
+-&#8962;RS 4
++.RS 4
+ Name of the output file to write the pcap (or hexdump) data to. If this argument is not specified, output data will be written to stdout.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ Extract all network traffic from all samba log files:
+-&#8962;PP
++.PP
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -82,11 +82,11 @@
+ 	
+ .fi
+ 
+-&#8962;PP
++.PP
+ Convert to pcap using text2pcap:
+-&#8962;PP
++.PP
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -94,21 +94,21 @@
+ 	
+ .fi
+ 
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "BUGS"
+-&#8962;PP
++.SH "BUGS"
++.PP
+ Only SMB data is extracted from the samba logs, no LDAP, NetBIOS lookup or other data.
+-&#8962;PP
++.PP
+ The generated TCP and IP headers don't contain a valid checksum.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBtext2pcap&#9619;fR(1),
+-&#9619;fBethereal&#9619;fR(1)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBtext2pcap\fR(1),
++\fBethereal\fR(1)
++.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.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/mount.cifs.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/mount.cifs.8
++++ samba-3.2.0~pre2/docs/manpages/mount.cifs.8
+@@ -18,206 +18,206 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "MOUNT.CIFS" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ mount.cifs - mount using the Common Internet File System (CIFS)
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-mount.cifs {service} {mount-point} [-o&#9600;options]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++mount.cifs {service} {mount-point} [-o options]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by the
+-&#9619;fBmount&#9619;fR(8)
++\fBmount\fR(8)
+ command when using the "-t cifs" option. This command only works in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is the successor to the SMB protocol and is supported by most Windows servers and many other commercial servers and Network Attached Storage appliances as well as by the popular Open Source server Samba.
+-&#8962;PP
++.PP
+ The mount.cifs utility attaches the UNC name (exported network resource) to the local directory
+ \fBmount-point\fR. It is possible to set the mode for mount.cifs to setuid root to allow non-root users to mount shares to directories for which they have write permission.
+-&#8962;PP
++.PP
+ Options to
+ \fBmount.cifs\fR
+ are specified as a comma-separated list of key=value pairs. It is possible to send options other than those listed here, assuming that the cifs filesystem kernel module (cifs.ko) supports them. Unrecognized cifs mount options passed to the cifs vfs kernel code will be logged to the kernel log.
+-&#8962;PP
++.PP
+ \fBmount.cifs\fR
+ causes the cifs vfs to launch a thread named cifsd. After mounting it keeps running until the mounted resource is unmounted (usually via the umount utility).
+-&#8962;SH "OPTIONS"
+-&#8962;PP
+-user=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.SH "OPTIONS"
++.PP
++user=\fIarg\fR
++.RS 4
+ specifies the username to connect as. If this is not given, then the environment variable
+ \fBUSER\fR
+ is used. This option can also take the form "user%password" or "workgroup/user" or "workgroup/user%password" to allow the password and workgroup to be specified as part of the username.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ The cifs vfs accepts the parameter
+-&#9619;fIuser=&#9619;fR, or for users familiar with smbfs it accepts the longer form of the parameter
+-&#9619;fIusername=&#9619;fR. Similarly the longer smbfs style parameter names may be accepted as synonyms for the shorter cifs parameters
+-&#9619;fIpass=&#9619;fR,&#9619;fIdom=&#9619;fR
++\fIuser=\fR, or for users familiar with smbfs it accepts the longer form of the parameter
++\fIusername=\fR. Similarly the longer smbfs style parameter names may be accepted as synonyms for the shorter cifs parameters
++\fIpass=\fR,\fIdom=\fR
+ and
+-&#9619;fIcred=&#9619;fR.
++\fIcred=\fR.
+ 
+-&#8962;RE
+-&#8962;PP
+-password=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++password=\fIarg\fR
++.RS 4
+ specifies the CIFS password. If this option is not given then the environment variable
+ \fBPASSWD\fR
+ is used. If the password is not specified directly or indirectly via an argument to mount
+ \fBmount.cifs\fR
+ will prompt for a password, unless the guest option is specified.
+-&#8962;sp
++.sp
+ Note that a password which contains the delimiter character (i.e. a comma ',') will fail to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly.
+-&#8962;RE
+-&#8962;PP
+-credentials=&#9619;fIfilename&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++credentials=\fIfilename\fR
++.RS 4
+ specifies a file that contains a username and/or password. The format of the file is:
+ 
+ .nf
+ 
+-		username=&#9619;fIvalue&#9619;fR
+-		password=&#9619;fIvalue&#9619;fR
++		username=\fIvalue\fR
++		password=\fIvalue\fR
+ 
+ .fi
+ This is preferred over having passwords in plaintext in a shared file, such as
+-&#9619;fI/etc/fstab&#9619;fR. Be sure to protect any credentials file properly.
+-&#8962;RE
+-&#8962;PP
+-uid=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++\fI/etc/fstab\fR. Be sure to protect any credentials file properly.
++.RE
++.PP
++uid=\fIarg\fR
++.RS 4
+ sets the uid that will own all files on the mounted filesystem. It may be specified as either a username or a numeric uid. This parameter is ignored when the target server supports the CIFS Unix extensions.
+-&#8962;RE
+-&#8962;PP
+-gid=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++gid=\fIarg\fR
++.RS 4
+ sets the gid that will own all files on the mounted filesystem. It may be specified as either a groupname or a numeric gid. This parameter is ignored when the target server supports the CIFS Unix extensions.
+-&#8962;RE
+-&#8962;PP
+-port=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++port=\fIarg\fR
++.RS 4
+ sets the port number on the server to attempt to contact to negotiate CIFS support. If the CIFS server is not listening on this port or if it is not specified, the default ports will be tried i.e. port 445 is tried and if no response then port 139 is tried.
+-&#8962;RE
+-&#8962;PP
+-netbiosname=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++netbiosname=\fIarg\fR
++.RS 4
+ When mounting to servers via port 139, specifies the RFC1001 source name to use to represent the client netbios machine name when doing the RFC1001 netbios session initialize.
+-&#8962;RE
+-&#8962;PP
+-file_mode=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++file_mode=\fIarg\fR
++.RS 4
+ If the server does not support the CIFS Unix extensions this overrides the default file mode.
+-&#8962;RE
+-&#8962;PP
+-dir_mode=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++dir_mode=\fIarg\fR
++.RS 4
+ If the server does not support the CIFS Unix extensions this overrides the default mode for directories.
+-&#8962;RE
+-&#8962;PP
+-ip=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++ip=\fIarg\fR
++.RS 4
+ sets the destination IP address.
+-&#8962;RE
+-&#8962;PP
+-domain=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++domain=\fIarg\fR
++.RS 4
+ sets the domain (workgroup) of the user
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ guest
+-&#8962;RS 4
++.RS 4
+ don't prompt for a password
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ iocharset
+-&#8962;RS 4
++.RS 4
+ Charset used to convert local path names to and from Unicode. Unicode is used by default for network path names if the server supports it. If iocharset is not specified then the nls_default specified during the local client kernel build will be used. If server does not support Unicode, this parameter is unused.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ro
+-&#8962;RS 4
++.RS 4
+ mount read-only
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ rw
+-&#8962;RS 4
++.RS 4
+ mount read-write
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setuids
+-&#8962;RS 4
++.RS 4
+ If the CIFS Unix extensions are negotiated with the server the client will attempt to set the effective uid and gid of the local process on newly created files, directories, and devices (create, mkdir, mknod). If the CIFS Unix Extensions are not negotiated, for newly created files and directories instead of using the default uid and gid specified on the the mount, cache the new file's uid and gid locally which means that the uid for the file can change when the inode is reloaded (or the user remounts the share).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nosetuids
+-&#8962;RS 4
++.RS 4
+ The client will not attempt to set the uid and gid on on newly created files, directories, and devices (create, mkdir, mknod) which will result in the server setting the uid and gid to the default (usually the server uid of the user who mounted the share). Letting the server (rather than the client) set the uid and gid is the default.If the CIFS Unix Extensions are not negotiated then the uid and gid for new files will appear to be the uid (gid) of the mounter or the uid (gid) parameter specified on the mount.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ perm
+-&#8962;RS 4
++.RS 4
+ Client does permission checks (vfs_permission check of uid and gid of the file against the mode and desired operation), Note that this is in addition to the normal ACL check on the target machine done by the server software. Client permission checking is enabled by default.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ noperm
+-&#8962;RS 4
++.RS 4
+ Client does not do permission checks. This can expose files on this mount to access by other users on the local client system. It is typically only needed when the server supports the CIFS Unix Extensions but the UIDs/GIDs on the client and server system do not match closely enough to allow access by the user doing the mount. Note that this does not affect the normal ACL check on the target machine done by the server software (of the server ACL against the user name provided at mount time).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ directio
+-&#8962;RS 4
++.RS 4
+ Do not do inode data caching on files opened on this mount. This precludes mmaping files on this mount. In some cases with fast networks and little or no caching benefits on the client (e.g. when the application is doing large sequential reads bigger than page size without rereading the same data) this can provide better performance than the default behavior which caches reads (readahead) and writes (writebehind) through the local Linux client pagecache if oplock (caching token) is granted and held. Note that direct allows write operations larger than page size to be sent to the server. On some kernels this requires the cifs.ko module to be built with the CIFS_EXPERIMENTAL configure option.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ mapchars
+-&#8962;RS 4
++.RS 4
+ Translate six of the seven reserved characters (not backslash, but including the colon, question mark, pipe, asterik, greater than and less than characters) to the remap range (above 0xF000), which also allows the CIFS client to recognize files created with such characters by Windows's POSIX emulation. This can also be useful when mounting to most versions of Samba (which also forbids creating and opening files whose names contain any of these seven characters). This has no effect if the server does not support Unicode on the wire.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nomapchars
+-&#8962;RS 4
++.RS 4
+ Do not translate any of these seven characters (default)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ intr
+-&#8962;RS 4
++.RS 4
+ currently unimplemented
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nointr
+-&#8962;RS 4
++.RS 4
+ (default) currently unimplemented
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hard
+-&#8962;RS 4
++.RS 4
+ The program accessing a file on the cifs mounted file system will hang when the server crashes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ soft
+-&#8962;RS 4
++.RS 4
+ (default) The program accessing a file on the cifs mounted file system will not hang when the server crashes and will return errors to the user application.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ noacl
+-&#8962;RS 4
++.RS 4
+ Do not allow POSIX ACL operations even if server would support them.
+-&#8962;sp
++.sp
+ The CIFS client can get and set POSIX ACLs (getfacl, setfacl) to Samba servers version 3.10 and later. Setting POSIX ACLs requires enabling both XATTR and then POSIX support in the CIFS configuration options when building the cifs module. POSIX ACL support can be disabled on a per mount basic by specifying "noacl" on mount.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nocase
+-&#8962;RS 4
++.RS 4
+ Request case insensitive path name matching (case sensitive is the default if the server suports it).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ sec=
+-&#8962;RS 4
++.RS 4
+ Security mode. Allowed values are:
+ \(bu
+ none attempt to connection as a null user (no name)
+@@ -239,94 +239,94 @@
+ .TP
+ \(bu
+ ntlmv2i Use NTLMv2 password hashing with packet signing
+-&#8962;IP "" 4
++.IP "" 4
+ [NB This [sec parameter] is under development and expected to be available in cifs kernel module 1.40 and later]
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nobrl
+-&#8962;RS 4
++.RS 4
+ Do not send byte range lock requests to the server. This is necessary for certain applications that break with cifs style mandatory byte range locks (and most cifs servers do not yet support requesting advisory byte range locks).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ sfu
+-&#8962;RS 4
++.RS 4
+ When the CIFS Unix Extensions are not negotiated, attempt to create device files and fifos in a format compatible with Services for Unix (SFU). In addition retrieve bits 10-12 of the mode via the SETFILEBITS extended attribute (as SFU does). In the future the bottom 9 bits of the mode mode also will be emulated using queries of the security descriptor (ACL). [NB: requires version 1.39 or later of the CIFS VFS. To recognize symlinks and be able to create symlinks in an SFU interoperable form requires version 1.40 or later of the CIFS VFS kernel module.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ serverino
+-&#8962;RS 4
++.RS 4
+ Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client. Although server inode numbers make it easier to spot hardlinked files (as they will have the same inode numbers) and inode numbers may be persistent (which is userful for some sofware), the server does not guarantee that the inode numbers are unique if multiple server side mounts are exported under a single share (since inode numbers on the servers might not be unique if multiple filesystems are mounted under the same shared higher level directory). Note that not all servers support returning server inode numbers, although those that support the CIFS Unix Extensions, and Windows 2000 and later servers typically do support this (although not necessarily on every local server filesystem). Parameter has no effect if the server lacks support for returning inode numbers or equivalent.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ noserverino
+-&#8962;RS 4
++.RS 4
+ client generates inode numbers (rather than using the actual one from the server) by default.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nouser_xattr
+-&#8962;RS 4
++.RS 4
+ (default) Do not allow getfattr/setfattr to get/set xattrs, even if server would support it otherwise.
+-&#8962;RE
+-&#8962;PP
+-rsize=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++rsize=\fIarg\fR
++.RS 4
+ default network read size
+-&#8962;RE
+-&#8962;PP
+-wsize=&#9619;fIarg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++wsize=\fIarg\fR
++.RS 4
+ default network write size
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --verbose
+-&#8962;RS 4
++.RS 4
+ Print additional debugging information for the mount. Note that this parameter must be specified before the -o. For example:
+-&#8962;sp
++.sp
+ mount -t cifs //server/share /mnt --verbose -o user=username
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT VARIABLES"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT VARIABLES"
++.PP
+ The variable
+ \fBUSER\fR
+ may contain the username of the person to be used to authenticate to the server. The variable can be used to set both username and password by using the format username%password.
+-&#8962;PP
++.PP
+ The variable
+ \fBPASSWD\fR
+ may contain the password of the person using the client.
+-&#8962;PP
++.PP
+ The variable
+ \fBPASSWD_FILE\fR
+ may contain the pathname of a file to read the password from. A single line of input is read and used as the password.
+-&#8962;SH "NOTES"
+-&#8962;PP
++.SH "NOTES"
++.PP
+ This command may be used only by root, unless installed setuid, in which case the noeexec and nosuid mount flags are enabled.
+-&#8962;SH "CONFIGURATION"
+-&#8962;PP
++.SH "CONFIGURATION"
++.PP
+ The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem. In the directory
+-&#9619;fI/proc/fs/cifs&#9619;fR
++\fI/proc/fs/cifs\fR
+ are various configuration files and pseudo files which can display debug information. There are additional startup options such as maximum buffer size and number of buffers which only may be set when the kernel cifs vfs (cifs.ko module) is loaded. These can be seen by running the modinfo utility against the file cifs.ko which will list the options that may be passed to cifs during module installation (device driver load). For more information see the kernel file
+-&#9619;fIfs/cifs/README&#9619;fR.
+-&#8962;SH "BUGS"
+-&#8962;PP
++\fIfs/cifs/README\fR.
++.SH "BUGS"
++.PP
+ Mounting using the CIFS URL specification is currently not supported.
+-&#8962;PP
++.PP
+ The credentials file does not handle usernames or passwords with leading space.
+-&#8962;PP
++.PP
+ Note that the typical response to a bug report is a suggestion to try the latest version first. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: mount.cifs (try mount.cifs -V), kernel (see /proc/version) and server type you are trying to contact.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 1.39 of the cifs vfs filesystem (roughly Linux kernel 2.6.15).
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information.
+-&#8962;PP
+-&#9619;fBumount.cifs&#9619;fR(8)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.PP
++\fBumount.cifs\fR(8)
++.SH "AUTHOR"
++.PP
+ Steve French
+-&#8962;PP
++.PP
+ The syntax and manpage were loosely based on that of smbmount. It was converted to Docbook/XML by Jelmer Vernooij.
+-&#8962;PP
++.PP
+ The maintainer of the Linux cifs vfs and the userspace tool
+ \fBmount.cifs\fR
+ is
+Index: samba-3.2.0~pre2/docs/manpages/net.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/net.8
++++ samba-3.2.0~pre2/docs/manpages/net.8
+@@ -18,392 +18,392 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "NET" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ net - Tool for administration of Samba and remote CIFS servers.
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-net {<ads|rap|rpc>} [-h] [-w&#9600;workgroup] [-W&#9600;myworkgroup] [-U&#9600;user] [-I&#9600;ip-address] [-p&#9600;port] [-n&#9600;myname] [-s&#9600;conffile] [-S&#9600;server] [-l] [-P] [-d&#9600;debuglevel] [-V]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++net {<ads|rap|rpc>} [-h] [-w workgroup] [-W myworkgroup] [-U user] [-I ip-address] [-p port] [-n myname] [-s conffile] [-S server] [-l] [-P] [-d debuglevel] [-V]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The Samba net utility is meant to work just like the net utility available for windows and DOS. The first argument should be used to specify the protocol to use when executing a certain command. ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3) clients and RPC can be used for NT4 and Windows 2000. If this argument is omitted, net will try to determine it automatically. Not all commands are available on all protocols.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -w target-workgroup
+-&#8962;RS 4
++.RS 4
+ Sets target workgroup or domain. You have to specify either this option or the IP address or the name of a server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -W workgroup
+-&#8962;RS 4
++.RS 4
+ Sets client workgroup or domain
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U user
+-&#8962;RS 4
++.RS 4
+ User name to use
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -I ip-address
+-&#8962;RS 4
++.RS 4
+ IP address of target server to use. You have to specify either this option or a target workgroup or a target server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p port
+-&#8962;RS 4
++.RS 4
+ Port on the target server to connect to (usually 139 or 445). Defaults to trying 445 first, then 139.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n <primary NetBIOS name>
+-&#8962;RS 4
++.RS 4
+ This option allows you to override the NetBIOS name that Samba uses for itself. This is identical to setting the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file. However, a command line setting will take precedence over settings in
+-&#9619;fIsmb.conf&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fIsmb.conf\fR.
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S server
+-&#8962;RS 4
++.RS 4
+ Name of target server. You should specify either this option or a target workgroup or a target IP address.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l
+-&#8962;RS 4
++.RS 4
+ When listing data, give more information on each item.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P
+-&#8962;RS 4
++.RS 4
+ Make queries to the external server using the machine account of the local server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;SH "COMMANDS"
+-&#8962;SS "CHANGESECRETPW"
+-&#8962;PP
++.RE
++.SH "COMMANDS"
++.SS "CHANGESECRETPW"
++.PP
+ This command allows the Samba machine account password to be set from an external application to a machine account password that has already been stored in Active Directory. DO NOT USE this command unless you know exactly what you are doing. The use of this command requires that the force flag (-f) be used also. There will be NO command prompt. Whatever information is piped into stdin, either by typing at the command line or otherwise, will be stored as the literal machine password. Do NOT use this without care and attention as it will overwrite a legitimate machine password without warning. YOU HAVE BEEN WARNED.
+-&#8962;SS "TIME"
+-&#8962;PP
++.SS "TIME"
++.PP
+ The
+ NET TIME
+ 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.
+ 
+ .SS "TIME"
+-&#8962;PP
++.PP
+ Without any options, the
+ NET TIME
+ command displays the time on the remote server.
+ 
+ .SS "TIME SYSTEM"
+-&#8962;PP
++.PP
+ Displays the time on the remote server in a format ready for
+ /bin/date.
+ 
+ .SS "TIME SET"
+-&#8962;PP
++.PP
+ Tries to set the date and time of the local server to that on the remote server using
+ /bin/date.
+ 
+ .SS "TIME ZONE"
+-&#8962;PP
++.PP
+ Displays the timezone in hours from GMT on the remote computer.
+-&#8962;SS "[RPC|ADS] JOIN [TYPE] [-U username[%password]] [createupn=UPN] [createcomputer=OU] [options]"
+-&#8962;PP
++.SS "[RPC|ADS] JOIN [TYPE] [-U username[%password]] [createupn=UPN] [createcomputer=OU] [options]"
++.PP
+ Join a domain. If the account already exists on the server, and [TYPE] is MEMBER, the machine will attempt to join automatically. (Assuming that the machine has been created in server manager) Otherwise, a password will be prompted for, and a new account may be created.
+-&#8962;PP
++.PP
+ [TYPE] may be PDC, BDC or MEMBER to specify the type of server joining the domain.
+-&#8962;PP
++.PP
+ [UPN] (ADS only) set the principalname attribute during the join. The default format is host/netbiosname at REALM.
+-&#8962;PP
++.PP
+ [OU] (ADS only) Precreate the computer account in a specific OU. The OU string reads from top to bottom without RDNs, and is delimited by a '/'. Please note that '\' is used for escape by both the shell and ldap, so it may need to be doubled or quadrupled to pass through, and it is not used as a delimiter.
+-&#8962;SS "[RPC] OLDJOIN [options]"
+-&#8962;PP
++.SS "[RPC] OLDJOIN [options]"
++.PP
+ Join a domain. Use the OLDJOIN option to join the domain using the old style of domain joining - you need to create a trust account in server manager first.
+-&#8962;SS "[RPC|ADS] USER"
++.SS "[RPC|ADS] USER"
+ 
+ .SS "[RPC|ADS] USER"
+-&#8962;PP
++.PP
+ List all users
+ 
+ .SS "[RPC|ADS] USER DELETE target"
+-&#8962;PP
++.PP
+ Delete specified user
+ 
+ .SS "[RPC|ADS] USER INFO target"
+-&#8962;PP
++.PP
+ List the domain groups of the specified user.
+ 
+ .SS "[RPC|ADS] USER RENAME oldname newname"
+-&#8962;PP
++.PP
+ Rename specified user.
+ 
+ .SS "[RPC|ADS] USER ADD name [password] [-F user flags] [-C comment]"
+-&#8962;PP
++.PP
+ Add specified user.
+-&#8962;SS "[RPC|ADS] GROUP"
++.SS "[RPC|ADS] GROUP"
+ 
+ .SS "[RPC|ADS] GROUP [misc options] [targets]"
+-&#8962;PP
++.PP
+ List user groups.
+ 
+ .SS "[RPC|ADS] GROUP DELETE name [misc. options]"
+-&#8962;PP
++.PP
+ Delete specified group.
+ 
+ .SS "[RPC|ADS] GROUP ADD name [-C comment]"
+-&#8962;PP
++.PP
+ Create specified group.
+-&#8962;SS "[RAP|RPC] SHARE"
++.SS "[RAP|RPC] SHARE"
+ 
+ .SS "[RAP|RPC] SHARE [misc. options] [targets]"
+-&#8962;PP
++.PP
+ Enumerates all exported resources (network shares) on target server.
+ 
+ .SS "[RAP|RPC] SHARE ADD name=serverpath [-C comment] [-M maxusers] [targets]"
+-&#8962;PP
++.PP
+ Adds a share from a server (makes the export active). Maxusers specifies the number of users that can be connected to the share simultaneously.
+ 
+ .SS "SHARE DELETE sharename"
+-&#8962;PP
++.PP
+ Delete specified share.
+-&#8962;SS "[RPC|RAP] FILE"
++.SS "[RPC|RAP] FILE"
+ 
+ .SS "[RPC|RAP] FILE"
+-&#8962;PP
++.PP
+ List all open files on remote server.
+ 
+ .SS "[RPC|RAP] FILE CLOSE fileid"
+-&#8962;PP
++.PP
+ Close file with specified
+-&#9619;fIfileid&#9619;fR
++\fIfileid\fR
+ on remote server.
+ 
+ .SS "[RPC|RAP] FILE INFO fileid"
+-&#8962;PP
++.PP
+ Print information on specified
+-&#9619;fIfileid&#9619;fR. Currently listed are: file-id, username, locks, path, permissions.
++\fIfileid\fR. Currently listed are: file-id, username, locks, path, permissions.
+ 
+ .SS "[RAP|RPC] FILE USER user"
+-&#8962;PP
++.PP
+ List files opened by specified
+-&#9619;fIuser&#9619;fR. Please note that
++\fIuser\fR. Please note that
+ net rap file user
+ does not work against Samba servers.
+-&#8962;SS "SESSION"
++.SS "SESSION"
+ 
+ .SS "RAP SESSION"
+-&#8962;PP
++.PP
+ Without any other options, SESSION enumerates all active SMB/CIFS sessions on the target server.
+ 
+ .SS "RAP SESSION DELETE|CLOSE CLIENT_NAME"
+-&#8962;PP
++.PP
+ Close the specified sessions.
+ 
+ .SS "RAP SESSION INFO CLIENT_NAME"
+-&#8962;PP
++.PP
+ Give a list with all the open files in specified session.
+-&#8962;SS "RAP SERVER &#9619;fIDOMAIN&#9619;fR"
+-&#8962;PP
++.SS "RAP SERVER \fIDOMAIN\fR"
++.PP
+ List all servers in specified domain or workgroup. Defaults to local domain.
+-&#8962;SS "RAP DOMAIN"
+-&#8962;PP
++.SS "RAP DOMAIN"
++.PP
+ Lists all domains and workgroups visible on the current network.
+-&#8962;SS "RAP PRINTQ"
++.SS "RAP PRINTQ"
+ 
+ .SS "RAP PRINTQ LIST QUEUE_NAME"
+-&#8962;PP
++.PP
+ Lists the specified print queue and print jobs on the server. If the
+-&#9619;fIQUEUE_NAME&#9619;fR
++\fIQUEUE_NAME\fR
+ is omitted, all queues are listed.
+ 
+ .SS "RAP PRINTQ DELETE JOBID"
+-&#8962;PP
++.PP
+ Delete job with specified id.
+-&#8962;SS "RAP VALIDATE &#9619;fIuser&#9619;fR [&#9619;fIpassword&#9619;fR]"
+-&#8962;PP
++.SS "RAP VALIDATE \fIuser\fR [\fIpassword\fR]"
++.PP
+ Validate whether the specified user can log in to the remote server. If the password is not specified on the commandline, it will be prompted.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ Currently NOT implemented.
+ 
+-&#8962;SS "RAP GROUPMEMBER"
++.SS "RAP GROUPMEMBER"
+ 
+ .SS "RAP GROUPMEMBER LIST GROUP"
+-&#8962;PP
++.PP
+ List all members of the specified group.
+ 
+ .SS "RAP GROUPMEMBER DELETE GROUP USER"
+-&#8962;PP
++.PP
+ Delete member from group.
+ 
+ .SS "RAP GROUPMEMBER ADD GROUP USER"
+-&#8962;PP
++.PP
+ Add member to group.
+-&#8962;SS "RAP ADMIN &#9619;fIcommand&#9619;fR"
+-&#8962;PP
++.SS "RAP ADMIN \fIcommand\fR"
++.PP
+ Execute the specified
+-&#9619;fIcommand&#9619;fR
++\fIcommand\fR
+ on the remote server. Only works with OS/2 servers.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ Currently NOT implemented.
+ 
+-&#8962;SS "RAP SERVICE"
++.SS "RAP SERVICE"
+ 
+ .SS "RAP SERVICE START NAME [arguments...]"
+-&#8962;PP
++.PP
+ Start the specified service on the remote server. Not implemented yet.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ Currently NOT implemented.
+ 
+ 
+ .SS "RAP SERVICE STOP"
+-&#8962;PP
++.PP
+ Stop the specified service on the remote server.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ Currently NOT implemented.
+ 
+-&#8962;SS "RAP PASSWORD &#9619;fIUSER&#9619;fR &#9619;fIOLDPASS&#9619;fR &#9619;fINEWPASS&#9619;fR"
+-&#8962;PP
++.SS "RAP PASSWORD \fIUSER\fR \fIOLDPASS\fR \fINEWPASS\fR"
++.PP
+ Change password of
+-&#9619;fIUSER&#9619;fR
++\fIUSER\fR
+ from
+-&#9619;fIOLDPASS&#9619;fR
++\fIOLDPASS\fR
+ to
+-&#9619;fINEWPASS&#9619;fR.
+-&#8962;SS "LOOKUP"
++\fINEWPASS\fR.
++.SS "LOOKUP"
+ 
+ .SS "LOOKUP HOST HOSTNAME [TYPE]"
+-&#8962;PP
++.PP
+ Lookup the IP address of the given host with the specified type (netbios suffix). The type defaults to 0x20 (workstation).
+ 
+ .SS "LOOKUP LDAP [DOMAIN]"
+-&#8962;PP
++.PP
+ Give IP address of LDAP server of specified
+-&#9619;fIDOMAIN&#9619;fR. Defaults to local domain.
++\fIDOMAIN\fR. Defaults to local domain.
+ 
+ .SS "LOOKUP KDC [REALM]"
+-&#8962;PP
++.PP
+ Give IP address of KDC for the specified
+-&#9619;fIREALM&#9619;fR. Defaults to local realm.
++\fIREALM\fR. Defaults to local realm.
+ 
+ .SS "LOOKUP DC [DOMAIN]"
+-&#8962;PP
++.PP
+ Give IP's of Domain Controllers for specified
+-&#9619;fI DOMAIN&#9619;fR. Defaults to local domain.
++\fI DOMAIN\fR. Defaults to local domain.
+ 
+ .SS "LOOKUP MASTER DOMAIN"
+-&#8962;PP
++.PP
+ Give IP of master browser for specified
+-&#9619;fIDOMAIN&#9619;fR
++\fIDOMAIN\fR
+ or workgroup. Defaults to local domain.
+-&#8962;SS "CACHE"
+-&#8962;PP
++.SS "CACHE"
++.PP
+ Samba uses a general caching interface called 'gencache'. It can be controlled using 'NET CACHE'.
+-&#8962;PP
++.PP
+ All the timeout parameters support the suffixes:
+-&#8962;IP "" 4
++.IP "" 4
+ s - Seconds
+-&#8962;IP "" 4
++.IP "" 4
+ m - Minutes
+-&#8962;IP "" 4
++.IP "" 4
+ h - Hours
+-&#8962;IP "" 4
++.IP "" 4
+ d - Days
+-&#8962;IP "" 4
++.IP "" 4
+ w - Weeks
+ 
+ 
+ .SS "CACHE ADD key data time-out"
+-&#8962;PP
++.PP
+ Add specified key+data to the cache with the given timeout.
+ 
+ .SS "CACHE DEL key"
+-&#8962;PP
++.PP
+ Delete key from the cache.
+ 
+ .SS "CACHE SET key data time-out"
+-&#8962;PP
++.PP
+ Update data of existing cache entry.
+ 
+ .SS "CACHE SEARCH PATTERN"
+-&#8962;PP
++.PP
+ Search for the specified pattern in the cache data.
+ 
+ .SS "CACHE LIST"
+-&#8962;PP
++.PP
+ List all current items in the cache.
+ 
+ .SS "CACHE FLUSH"
+-&#8962;PP
++.PP
+ Remove all the current items from the cache.
+-&#8962;SS "GETLOCALSID [DOMAIN]"
+-&#8962;PP
++.SS "GETLOCALSID [DOMAIN]"
++.PP
+ Prints the SID of the specified domain, or if the parameter is omitted, the SID of the local server.
+-&#8962;SS "SETLOCALSID S-1-5-21-x-y-z"
+-&#8962;PP
++.SS "SETLOCALSID S-1-5-21-x-y-z"
++.PP
+ Sets SID for the local server to the specified SID.
+-&#8962;SS "GETDOMAINSID"
+-&#8962;PP
++.SS "GETDOMAINSID"
++.PP
+ Prints the local machine SID and the SID of the current domain.
+-&#8962;SS "SETDOMAINSID"
+-&#8962;PP
++.SS "SETDOMAINSID"
++.PP
+ Sets the SID of the current domain.
+-&#8962;SS "GROUPMAP"
+-&#8962;PP
++.SS "GROUPMAP"
++.PP
+ Manage the mappings between Windows group SIDs and UNIX groups. Common options include:
+ \(bu
+ unixgroup - Name of the UNIX group
+@@ -424,10 +424,10 @@
+ comment - Freeform text description of the group
+ 
+ .SS "GROUPMAP ADD"
+-&#8962;PP
++.PP
+ Add a new group mapping entry:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -438,18 +438,18 @@
+ 
+ 
+ .SS "GROUPMAP DELETE"
+-&#8962;PP
++.PP
+ Delete a group mapping entry. If more than one group name matches, the first entry found is deleted.
+-&#8962;PP
++.PP
+ net groupmap delete {ntgroup=string|sid=SID}
+ 
+ .SS "GROUPMAP MODIFY"
+-&#8962;PP
++.PP
+ Update en existing group entry.
+-&#8962;PP
++.PP
+ 
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -460,250 +460,250 @@
+ 
+ 
+ .SS "GROUPMAP LIST"
+-&#8962;PP
++.PP
+ List existing group mapping entries.
+-&#8962;PP
++.PP
+ net groupmap list [verbose] [ntgroup=string] [sid=SID]
+-&#8962;SS "MAXRID"
+-&#8962;PP
++.SS "MAXRID"
++.PP
+ Prints out the highest RID currently in use on the local server (by the active 'passdb backend').
+-&#8962;SS "RPC INFO"
+-&#8962;PP
++.SS "RPC INFO"
++.PP
+ Print information about the domain of the remote server, such as domain name, domain sid and number of users and groups.
+-&#8962;SS "[RPC|ADS] TESTJOIN"
+-&#8962;PP
++.SS "[RPC|ADS] TESTJOIN"
++.PP
+ Check whether participation in a domain is still valid.
+-&#8962;SS "[RPC|ADS] CHANGETRUSTPW"
+-&#8962;PP
++.SS "[RPC|ADS] CHANGETRUSTPW"
++.PP
+ Force change of domain trust password.
+-&#8962;SS "RPC TRUSTDOM"
++.SS "RPC TRUSTDOM"
+ 
+ .SS "RPC TRUSTDOM ADD DOMAIN"
+-&#8962;PP
++.PP
+ Add a interdomain trust account for
+-&#9619;fIDOMAIN&#9619;fR. This is in fact a Samba account named
+-&#9619;fIDOMAIN$&#9619;fR
++\fIDOMAIN\fR. This is in fact a Samba account named
++\fIDOMAIN$\fR
+ with the account flag
+-&#9619;fB'I'&#9619;fR
++\fB'I'\fR
+ (interdomain trust account). If the command is used against localhost it has the same effect as
+ smbpasswd -a -i DOMAIN. Please note that both commands expect a appropriate UNIX account.
+ 
+ .SS "RPC TRUSTDOM DEL DOMAIN"
+-&#8962;PP
++.PP
+ Remove interdomain trust account for
+-&#9619;fIDOMAIN&#9619;fR. If it is used against localhost it has the same effect as
++\fIDOMAIN\fR. If it is used against localhost it has the same effect as
+ smbpasswd -x DOMAIN$.
+ 
+ .SS "RPC TRUSTDOM ESTABLISH DOMAIN"
+-&#8962;PP
++.PP
+ Establish a trust relationship to a trusting domain. Interdomain account must already be created on the remote PDC.
+ 
+ .SS "RPC TRUSTDOM REVOKE DOMAIN"
+-&#8962;PP
++.PP
+ Abandon relationship to trusted domain
+ 
+ .SS "RPC TRUSTDOM LIST"
+-&#8962;PP
++.PP
+ List all current interdomain trust relationships.
+ 
+ .SS "RPC RIGHTS"
+-&#8962;PP
++.PP
+ This subcommand is used to view and manage Samba's rights assignments (also referred to as privileges). There are three options currently available:
+-&#9619;fIlist&#9619;fR,
+-&#9619;fIgrant&#9619;fR, and
+-&#9619;fIrevoke&#9619;fR. More details on Samba's privilege model and its use can be found in the Samba-HOWTO-Collection.
+-&#8962;SS "RPC ABORTSHUTDOWN"
+-&#8962;PP
++\fIlist\fR,
++\fIgrant\fR, and
++\fIrevoke\fR. More details on Samba's privilege model and its use can be found in the Samba-HOWTO-Collection.
++.SS "RPC ABORTSHUTDOWN"
++.PP
+ Abort the shutdown of a remote server.
+-&#8962;SS "RPC SHUTDOWN [-t timeout] [-r] [-f] [-C message]"
+-&#8962;PP
++.SS "RPC SHUTDOWN [-t timeout] [-r] [-f] [-C message]"
++.PP
+ Shut down the remote server.
+-&#8962;PP
++.PP
+ -r
+-&#8962;RS 4
++.RS 4
+ Reboot after shutdown.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -f
+-&#8962;RS 4
++.RS 4
+ Force shutting down all applications.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t timeout
+-&#8962;RS 4
++.RS 4
+ Timeout before system will be shut down. An interactive user of the system can use this time to cancel the shutdown.
+-&#8962;RE
++.RE
+ '>
+ 
+-&#8962;PP
++.PP
+ -C message
+-&#8962;RS 4
++.RS 4
+ Display the specified message on the screen to announce the shutdown.
+-&#8962;RE
+-&#8962;SS "RPC SAMDUMP"
+-&#8962;PP
++.RE
++.SS "RPC SAMDUMP"
++.PP
+ Print out sam database of remote server. You need to run this against the PDC, from a Samba machine joined as a BDC.
+-&#8962;SS "RPC VAMPIRE"
+-&#8962;PP
++.SS "RPC VAMPIRE"
++.PP
+ Export users, aliases and groups from remote server to local server. You need to run this against the PDC, from a Samba machine joined as a BDC.
+-&#8962;SS "RPC GETSID"
+-&#8962;PP
++.SS "RPC GETSID"
++.PP
+ Fetch domain SID and store it in the local
+-&#9619;fIsecrets.tdb&#9619;fR.
+-&#8962;SS "ADS LEAVE"
+-&#8962;PP
++\fIsecrets.tdb\fR.
++.SS "ADS LEAVE"
++.PP
+ Make the remote host leave the domain it is part of.
+-&#8962;SS "ADS STATUS"
+-&#8962;PP
++.SS "ADS STATUS"
++.PP
+ Print out status of machine account of the local machine in ADS. Prints out quite some debug info. Aimed at developers, regular users should use
+ NET ADS TESTJOIN.
+-&#8962;SS "ADS PRINTER"
++.SS "ADS PRINTER"
+ 
+ .SS "ADS PRINTER INFO [PRINTER] [SERVER]"
+-&#8962;PP
++.PP
+ Lookup info for
+-&#9619;fIPRINTER&#9619;fR
++\fIPRINTER\fR
+ on
+-&#9619;fISERVER&#9619;fR. The printer name defaults to "*", the server name defaults to the local host.
++\fISERVER\fR. The printer name defaults to "*", the server name defaults to the local host.
+ 
+ .SS "ADS PRINTER PUBLISH PRINTER"
+-&#8962;PP
++.PP
+ Publish specified printer using ADS.
+ 
+ .SS "ADS PRINTER REMOVE PRINTER"
+-&#8962;PP
++.PP
+ Remove specified printer from ADS directory.
+-&#8962;SS "ADS SEARCH &#9619;fIEXPRESSION&#9619;fR &#9619;fIATTRIBUTES...&#9619;fR"
+-&#8962;PP
++.SS "ADS SEARCH \fIEXPRESSION\fR \fIATTRIBUTES...\fR"
++.PP
+ Perform a raw LDAP search on a ADS server and dump the results. The expression is a standard LDAP search expression, and the attributes are a list of LDAP fields to show in the results.
+-&#8962;PP
++.PP
+ Example:
+-&#9619;fBnet ads search '(objectCategory=group)' sAMAccountName&#9619;fR
+-&#8962;SS "ADS DN &#9619;fIDN&#9619;fR &#9619;fI(attributes)&#9619;fR"
+-&#8962;PP
++\fBnet ads search '(objectCategory=group)' sAMAccountName\fR
++.SS "ADS DN \fIDN\fR \fI(attributes)\fR"
++.PP
+ Perform a raw LDAP search on a ADS server and dump the results. The DN standard LDAP DN, and the attributes are a list of LDAP fields to show in the result.
+-&#8962;PP
++.PP
+ Example:
+-&#9619;fBnet ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName&#9619;fR
+-&#8962;SS "ADS WORKGROUP"
+-&#8962;PP
++\fBnet ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName\fR
++.SS "ADS WORKGROUP"
++.PP
+ Print out workgroup name for specified kerberos realm.
+-&#8962;SS "SAM CREATEBUILTINGROUP <NAME>"
+-&#8962;PP
++.SS "SAM CREATEBUILTINGROUP <NAME>"
++.PP
+ (Re)Create a BUILTIN group. Only a wellknown set of BUILTIN groups can be created with this command. This is the list of currently recognized group names: Administrators, Users, Guests, Power Users, Account Operators, Server Operators, Print Operators, Backup Operators, Replicator, RAS Servers, Pre-Windows 2000 compatible Access. This command requires a running Winbindd with idmap allocation properly configured. The group gid will be allocated out of the winbindd range.
+-&#8962;SS "SAM CREATELOCALGROUP <NAME>"
+-&#8962;PP
++.SS "SAM CREATELOCALGROUP <NAME>"
++.PP
+ Create a LOCAL group (also known as Alias). This command requires a running Winbindd with idmap allocation properly configured. The group gid will be allocated out of the winbindd range.
+-&#8962;SS "SAM DELETELOCALGROUP <NAME>"
+-&#8962;PP
++.SS "SAM DELETELOCALGROUP <NAME>"
++.PP
+ Delete an existing LOCAL group (also known as Alias).
+-&#8962;SS "SAM MAPUNIXGROUP <NAME>"
+-&#8962;PP
++.SS "SAM MAPUNIXGROUP <NAME>"
++.PP
+ Map an existing Unix group and make it a Domain Group, the domain group will have the same name.
+-&#8962;SS "SAM UNMAPUNIXGROUP <NAME>"
+-&#8962;PP
++.SS "SAM UNMAPUNIXGROUP <NAME>"
++.PP
+ Remove an existing group mapping entry.
+-&#8962;SS "SAM ADDMEM <GROUP> <MEMBER>"
+-&#8962;PP
++.SS "SAM ADDMEM <GROUP> <MEMBER>"
++.PP
+ Add a member to a Local group. The group can be specified only by name, the member can be specified by name or SID.
+-&#8962;SS "SAM DELMEM <GROUP> <MEMBER>"
+-&#8962;PP
++.SS "SAM DELMEM <GROUP> <MEMBER>"
++.PP
+ Remove a member from a Local group. The group and the member must be specified by name.
+-&#8962;SS "SAM LISTMEM <GROUP>"
+-&#8962;PP
++.SS "SAM LISTMEM <GROUP>"
++.PP
+ List Local group members. The group must be specified by name.
+-&#8962;SS "SAM LIST <users|groups|localgroups|builtin|workstations> [verbose]"
+-&#8962;PP
++.SS "SAM LIST <users|groups|localgroups|builtin|workstations> [verbose]"
++.PP
+ List the specified set of accounts by name. If verbose is specified, the rid and description is also provided for each account.
+-&#8962;SS "SAM SHOW <NAME>"
+-&#8962;PP
++.SS "SAM SHOW <NAME>"
++.PP
+ Show the full DOMAIN\\NAME the SID and the type for the corresponding account.
+-&#8962;SS "SAM SET HOMEDIR <NAME> <DIRECTORY>"
+-&#8962;PP
++.SS "SAM SET HOMEDIR <NAME> <DIRECTORY>"
++.PP
+ Set the home directory for a user account.
+-&#8962;SS "SAM SET PROFILEPATH <NAME> <PATH>"
+-&#8962;PP
++.SS "SAM SET PROFILEPATH <NAME> <PATH>"
++.PP
+ Set the profile path for a user account.
+-&#8962;SS "SAM SET COMMENT <NAME> <COMMENT>"
+-&#8962;PP
++.SS "SAM SET COMMENT <NAME> <COMMENT>"
++.PP
+ Set the comment for a user or group account.
+-&#8962;SS "SAM SET FULLNAME <NAME> <FULL NAME>"
+-&#8962;PP
++.SS "SAM SET FULLNAME <NAME> <FULL NAME>"
++.PP
+ Set the full name for a user account.
+-&#8962;SS "SAM SET LOGONSCRIPT <NAME> <SCRIPT>"
+-&#8962;PP
++.SS "SAM SET LOGONSCRIPT <NAME> <SCRIPT>"
++.PP
+ Set the logon script for a user account.
+-&#8962;SS "SAM SET HOMEDRIVE <NAME> <DRIVE>"
+-&#8962;PP
++.SS "SAM SET HOMEDRIVE <NAME> <DRIVE>"
++.PP
+ Set the home drive for a user account.
+-&#8962;SS "SAM SET WORKSTATIONS <NAME> <WORKSTATIONS>"
+-&#8962;PP
++.SS "SAM SET WORKSTATIONS <NAME> <WORKSTATIONS>"
++.PP
+ Set the workstations a user account is allowed to log in from.
+-&#8962;SS "SAM SET DISABLE <NAME>"
+-&#8962;PP
++.SS "SAM SET DISABLE <NAME>"
++.PP
+ Set the "disabled" flag for a user account.
+-&#8962;SS "SAM SET PWNOTREQ <NAME>"
+-&#8962;PP
++.SS "SAM SET PWNOTREQ <NAME>"
++.PP
+ Set the "password not required" flag for a user account.
+-&#8962;SS "SAM SET AUTOLOCK <NAME>"
+-&#8962;PP
++.SS "SAM SET AUTOLOCK <NAME>"
++.PP
+ Set the "autolock" flag for a user account.
+-&#8962;SS "SAM SET PWNOEXP <NAME>"
+-&#8962;PP
++.SS "SAM SET PWNOEXP <NAME>"
++.PP
+ Set the "password do not expire" flag for a user account.
+-&#8962;SS "SAM SET PWDMUSTCHANGENOW <NAME> [yes|no]"
+-&#8962;PP
++.SS "SAM SET PWDMUSTCHANGENOW <NAME> [yes|no]"
++.PP
+ Set or unset the "password must change" flag for a user account.
+-&#8962;SS "SAM POLICY LIST"
+-&#8962;PP
++.SS "SAM POLICY LIST"
++.PP
+ List the available account policies.
+-&#8962;SS "SAM POLICY SHOW <account policy>"
+-&#8962;PP
++.SS "SAM POLICY SHOW <account policy>"
++.PP
+ Show the account policy value.
+-&#8962;SS "SAM POLICY SET <account policy> <value>"
+-&#8962;PP
++.SS "SAM POLICY SET <account policy> <value>"
++.PP
+ Set a value for the account policy. Valid values can be: "forever", "never", "off", or a number.
+-&#8962;SS "SAM PROVISION"
+-&#8962;PP
++.SS "SAM PROVISION"
++.PP
+ Only available if ldapsam:editposix is set and winbindd is running. Properly populates the ldap tree with the basic accounts (Administrator) and groups (Domain Users, Domain Admins, Domain Guests) on the ldap tree.
+-&#8962;SS "IDMAP DUMP <local tdb file name>"
+-&#8962;PP
++.SS "IDMAP DUMP <local tdb file name>"
++.PP
+ Dumps the mappings contained in the local tdb file specified. This command is useful to dump only the mappings produced by the idmap_tdb backend.
+-&#8962;SS "IDMAP RESTORE [input file]"
+-&#8962;PP
++.SS "IDMAP RESTORE [input file]"
++.PP
+ Restore the mappings from the specified file or stdin.
+-&#8962;SS "IDMAP SECRET <DOMAIN>|ALLOC <secret>"
+-&#8962;PP
++.SS "IDMAP SECRET <DOMAIN>|ALLOC <secret>"
++.PP
+ Store a secret for the specified domain, used primarily for domains that use idmap_ldap as a backend. In this case the secret is used as the password for the user DN used to bind to the ldap server.
+-&#8962;SS "USERSHARE"
+-&#8962;PP
++.SS "USERSHARE"
++.PP
+ Starting with version 3.0.23, a Samba server now supports the ability for non-root users to add user defined shares to be exported using the "net usershare" commands.
+-&#8962;PP
++.PP
+ To set this up, first set up your smb.conf by adding to the [global] section: usershare path = /usr/local/samba/lib/usershares Next create the directory /usr/local/samba/lib/usershares, change the owner to root and set the group owner to the UNIX group who should have the ability to create usershares, for example a group called "serverops". Set the permissions on /usr/local/samba/lib/usershares to 01770. (Owner and group all access, no access for others, plus the sticky bit, which means that a file in that directory can be renamed or deleted only by the owner of the file). Finally, tell smbd how many usershares you will allow by adding to the [global] section of smb.conf a line such as : usershare max shares = 100. To allow 100 usershare definitions. Now, members of the UNIX group "serverops" can create user defined shares on demand using the commands below.
+-&#8962;PP
++.PP
+ The usershare commands are:
+-&#8962;IP "" 4
++.IP "" 4
+ net usershare add sharename path [comment] [acl] [guest_ok=[y|n]] - to add or change a user defined share.
+-&#8962;IP "" 4
++.IP "" 4
+ net usershare delete sharename - to delete a user defined share.
+-&#8962;IP "" 4
++.IP "" 4
+ net usershare info [-l|--long] [wildcard sharename] - to print info about a user defined share.
+-&#8962;IP "" 4
++.IP "" 4
+ net usershare list [-l|--long] [wildcard sharename] - to list user defined shares.
+ 
+ 
+ .SS "USERSHARE ADD sharename path [comment] [acl] [guest_ok=[y|n]]"
+-&#8962;PP
++.PP
+ Add or replace a new user defined share, with name "sharename".
+-&#8962;PP
++.PP
+ "path" specifies the absolute pathname on the system to be exported. Restrictions may be put on this, see the global smb.conf parameters: "usershare owner only", "usershare prefix allow list", and "usershare prefix deny list".
+-&#8962;PP
++.PP
+ The optional "comment" parameter is the comment that will appear on the share when browsed to by a client.
+-&#8962;PP
++.PP
+ The optional "acl" field specifies which users have read and write access to the entire share. Note that guest connections are not allowed unless the smb.conf parameter "usershare allow guests" has been set. The definition of a user defined share acl is: "user:permission", where user is a valid username on the system and permission can be "F", "R", or "D". "F" stands for "full permissions", ie. read and write permissions. "D" stands for "deny" for a user, ie. prevent this user from accessing this share. "R" stands for "read only", ie. only allow read access to this share (no creation of new files or directories or writing to files).
+-&#8962;PP
++.PP
+ The default if no "acl" is given is "Everyone:R", which means any authenticated user has read-only access.
+-&#8962;PP
++.PP
+ The optional "guest_ok" has the same effect as the parameter of the same name in smb.conf, in that it allows guest access to this user defined share. This parameter is only allowed if the global parameter "usershare allow guests" has been set to true in the smb.conf.
+ 
+ 
+@@ -715,117 +715,117 @@
+ to restart smbd on adding, deleting or changing a user defined share.
+ 
+ .SS "USERSHARE DELETE sharename"
+-&#8962;PP
++.PP
+ Deletes the user defined share by name. The Samba smbd daemon immediately notices this change, although it will not disconnect any users currently connected to the deleted share.
+ 
+ .SS "USERSHARE INFO [-l|--long] [wildcard sharename]"
+-&#8962;PP
++.PP
+ Get info on user defined shares owned by the current user matching the given pattern, or all users.
+-&#8962;PP
++.PP
+ net usershare info on its own dumps out info on the user defined shares that were created by the current user, or restricts them to share names that match the given wildcard pattern ('*' matches one or more characters, '?' matches only one character). If the '-l' or '--long' option is also given, it prints out info on user defined shares created by other users.
+-&#8962;PP
++.PP
+ The information given about a share looks like: [foobar] path=/home/jeremy comment=testme usershare_acl=Everyone:F guest_ok=n And is a list of the current settings of the user defined share that can be modified by the "net usershare add" command.
+ 
+ .SS "USERSHARE LIST [-l|--long] wildcard sharename"
+-&#8962;PP
++.PP
+ List all the user defined shares owned by the current user matching the given pattern, or all users.
+-&#8962;PP
++.PP
+ net usershare list on its own list out the names of the user defined shares that were created by the current user, or restricts the list to share names that match the given wildcard pattern ('*' matches one or more characters, '?' matches only one character). If the '-l' or '--long' option is also given, it includes the names of user defined shares created by other users.
+-&#8962;SS "CONF"
+-&#8962;PP
++.SS "CONF"
++.PP
+ Starting with version 3.2.0, a Samba server can be configured by data stored in registry. This configuration data can be edited with the new "net conf" commands.
+-&#8962;PP
++.PP
+ The deployment of this configuration data can be activated in two levels from the
+ \fBsmb.conf\fR
+ file: Share definitions from registry are activated by setting
+-&#9619;fIregistry shares&#9619;fR
++\fIregistry shares\fR
+ to
+ \fByes\fR
+ in the [global] section and global configuration options are activated by setting
+ include = registry in the [global] section. See the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ manpage for details.
+-&#8962;PP
++.PP
+ The conf commands are:
+-&#8962;IP "" 4
++.IP "" 4
+ net conf list - Dump the complete configuration in smb.conf like
+ format.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf import - Import configuration from file in smb.conf
+ format.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf listshares - List the registry shares.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf drop - Delete the complete configuration from
+ registry.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf showshare - Show the definition of a registry share.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf addshare - Create a new registry share.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf delshare - Delete a registry share.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf setparm - Store a parameter.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf getparm - Retrieve the value of a parameter.
+-&#8962;IP "" 4
++.IP "" 4
+ net conf delparm - Delete a parameter.
+ 
+ 
+ .SS "CONF LIST"
+-&#8962;PP
++.PP
+ Print the configuration data stored in the registry in a smb.conf-like format to standard output.
+ 
+ .SS "CONF IMPORT [--test|-T] filename [section]"
+-&#8962;PP
++.PP
+ This command imports configuration from a file in smb.conf format. If a section encountered in the input file is present in registry, its contents is replaced. Sections of registry configuration that have no counterpart in the input file are not affected. If you want to delete these, you will have to use the "net conf drop" or "net conf delshare" commands. Optionally, a section may be specified to restrict the effect of the import command to that specific section. A test mode is enabled by specifying the parameter "-T" on the commandline. In test mode, no changes are made to the registry, and the resulting configuration is printed to standard output instead.
+ 
+ .SS "CONF LISTSHARES"
+-&#8962;PP
++.PP
+ List the names of the shares defined in registry.
+ 
+ .SS "CONF DROP"
+-&#8962;PP
++.PP
+ Delete the complete configuration data from registry.
+ 
+ .SS "CONF SHOWSHARE sharename"
+-&#8962;PP
++.PP
+ Show the definition of the share or section specified. It is valid to specify "global" as sharename to retrieve the global configuration options from registry.
+ 
+ .SS "CONF ADDSHARE sharename path [writeable={y|N} [guest_ok={y|N} [comment]]] "
+-&#8962;PP
++.PP
+ Create a new share definition in registry. The sharename and path have to be given. The share name may
+ \fBnot\fR
+ be "global". Optionally, values for the very common options "writeable", "guest ok" and a "comment" may be specified. The same result may be obtained by a sequence of "net conf setparm" commands.
+ 
+ .SS "CONF DELSHARE sharename"
+-&#8962;PP
++.PP
+ Delete a share definition from registry.
+ 
+ .SS "CONF SETPARM section parameter value"
+-&#8962;PP
++.PP
+ Store a parameter in registry. The section may be global or a sharename. The section is created if it does not exist yet.
+ 
+ .SS "CONF GETPARM section parameter"
+-&#8962;PP
++.PP
+ Show a parameter stored in registry.
+ 
+ .SS "CONF DELPARM section parameter"
+-&#8962;PP
++.PP
+ Delete a parameter stored in registry.
+ 
+ .SS ""
+-&#8962;PP
++.PP
+ 
+-&#8962;SS "HELP [COMMAND]"
+-&#8962;PP
++.SS "HELP [COMMAND]"
++.PP
+ Gives usage information for the specified command.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is complete for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The net manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/nmbd.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/nmbd.8
++++ samba-3.2.0~pre2/docs/manpages/nmbd.8
+@@ -18,44 +18,44 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "NMBD" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ nmbd - NetBIOS name server to provide NetBIOS over IP naming services to clients
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-nmbd [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d&#9600;<debug&#9600;level>] [-H&#9600;<lmhosts&#9600;file>] [-l&#9600;<log&#9600;directory>] [-p&#9600;<port&#9600;number>] [-s&#9600;<configuration&#9600;file>]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++nmbd [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d <debug level>] [-H <lmhosts file>] [-l <log directory>] [-p <port number>] [-s <configuration file>]
++.SH "DESCRIPTION"
++.PP
+ This program is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ nmbd
+ is a server that understands and can reply to NetBIOS over IP name service requests, like those produced by SMB/CIFS clients such as Windows 95/98/ME, Windows NT, Windows 2000, Windows XP and LanManager clients. It also participates in the browsing protocols which make up the Windows "Network Neighborhood" view.
+-&#8962;PP
++.PP
+ SMB/CIFS clients, when they start up, may wish to locate an SMB/CIFS server. That is, they wish to know what IP number a specified host is using.
+-&#8962;PP
++.PP
+ Amongst other services,
+ nmbd
+ will listen for such requests, and if its own NetBIOS name is specified it will respond with the IP number of the host it is running on. Its "own NetBIOS name" is by default the primary DNS name of the host it is running on, but this can be overridden by the
+ netbios name in
+-&#9619;fIsmb.conf&#9619;fR. Thus
++\fIsmb.conf\fR. Thus
+ nmbd
+ will reply to broadcast queries for its own name(s). Additional names for
+ nmbd
+ to respond on can be set via parameters in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ configuration file.
+-&#8962;PP
++.PP
+ nmbd
+ can also be used as a WINS (Windows Internet Name Server) server. What this basically means is that it will act as a WINS database server, creating a database from name registration requests that it receives and replying to queries from clients for these names.
+-&#8962;PP
++.PP
+ In addition,
+ nmbd
+ can act as a WINS proxy, relaying broadcast queries from clients that do not understand how to talk the WINS protocol to a WINS server.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -D
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes
+ nmbd
+ to operate as a daemon. That is, it detaches itself and runs in the background, fielding requests on the appropriate port. By default,
+@@ -63,10 +63,10 @@
+ will operate as a daemon if launched from a command shell. nmbd can also be operated from the
+ inetd
+ meta-daemon, although this is not recommended.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -F
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes the main
+ nmbd
+ process to not daemonize, i.e. double-fork and disassociate with the terminal. Child processes are still created as normal to service each connection request, but the main process does not exit. This operation mode is suitable for running
+@@ -78,150 +78,150 @@
+ from Daniel J. Bernstein's
+ daemontools
+ package, or the AIX process monitor.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes
+ nmbd
+ to log to standard output rather than a file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit daemon mode when run from the command line.
+ nmbd
+ also logs to standard output, as if the
+-&#9619;fB-S&#9619;fR
++\fB-S\fR
+ parameter had been given.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -H <filename>
+-&#8962;RS 4
++.RS 4
+ NetBIOS lmhosts file. The lmhosts file is a list of NetBIOS names to IP addresses that is loaded by the nmbd server and used via the name resolution mechanism
+ name resolve order described in
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ to resolve any NetBIOS name queries needed by the server. Note that the contents of this file are
+ \fBNOT\fR
+ used by
+ nmbd
+ to answer any name queries. Adding a line to this file affects name NetBIOS resolution from this host
+ \fBONLY\fR.
+-&#8962;sp
++.sp
+ The default path to this file is compiled into Samba as part of the build process. Common defaults are
+-&#9619;fI/usr/local/samba/lib/lmhosts&#9619;fR,
+-&#9619;fI/usr/samba/lib/lmhosts&#9619;fR
++\fI/usr/local/samba/lib/lmhosts\fR,
++\fI/usr/samba/lib/lmhosts\fR
+ or
+-&#9619;fI/etc/samba/lmhosts&#9619;fR. See the
+-&#9619;fBlmhosts&#9619;fR(5)
++\fI/etc/samba/lmhosts\fR. See the
++\fBlmhosts\fR(5)
+ man page for details on the contents of this file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p <UDP port number>
+-&#8962;RS 4
++.RS 4
+ UDP port number is a positive integer value. This option changes the default UDP port number (normally 137) that
+ nmbd
+ responds to name queries on. Don't use this option unless you are an expert, in which case you won't need help!
+-&#8962;RE
+-&#8962;SH "FILES"
+-&#8962;PP
+-&#9619;fI/etc/inetd.conf&#9619;fR
+-&#8962;RS 4
++.RE
++.SH "FILES"
++.PP
++\fI/etc/inetd.conf\fR
++.RS 4
+ If the server is to be run by the
+ inetd
+ meta-daemon, this file must contain suitable startup information for the meta-daemon.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/etc/rc&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/etc/rc\fR
++.RS 4
+ or whatever initialization script your system uses).
+-&#8962;sp
++.sp
+ If running the server as a daemon at startup, this file will need to contain an appropriate startup sequence for the server.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/etc/services&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/etc/services\fR
++.RS 4
+ If running the server via the meta-daemon
+ inetd, this file must contain a mapping of service name (e.g., netbios-ssn) to service port (e.g., 139) and protocol type (e.g., tcp).
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/usr/local/samba/lib/smb.conf&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/usr/local/samba/lib/smb.conf\fR
++.RS 4
+ This is the default location of the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ server configuration file. Other common places that systems install this file are
+-&#9619;fI/usr/samba/lib/smb.conf&#9619;fR
++\fI/usr/samba/lib/smb.conf\fR
+ and
+-&#9619;fI/etc/samba/smb.conf&#9619;fR.
+-&#8962;sp
++\fI/etc/samba/smb.conf\fR.
++.sp
+ When run as a WINS server (see the
+ wins support parameter in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ man page),
+ nmbd
+ will store the WINS database in the file
+-&#9619;fIwins.dat&#9619;fR
++\fIwins.dat\fR
+ in the
+-&#9619;fIvar/locks&#9619;fR
++\fIvar/locks\fR
+ directory configured under wherever Samba was configured to install itself.
+-&#8962;sp
++.sp
+ If
+ nmbd
+ is acting as a
+ \fB browse master\fR
+ (see the
+ local master parameter in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ man page,
+ nmbd
+ will store the browsing database in the file
+-&#9619;fIbrowse.dat &#9619;fR
++\fIbrowse.dat \fR
+ in the
+-&#9619;fIvar/locks&#9619;fR
++\fIvar/locks\fR
+ directory configured under wherever Samba was configured to install itself.
+-&#8962;RE
+-&#8962;SH "SIGNALS"
+-&#8962;PP
++.RE
++.SH "SIGNALS"
++.PP
+ To shut down an
+ nmbd
+ process it is recommended that SIGKILL (-9)
+@@ -229,42 +229,42 @@
+ be used, except as a last resort, as this may leave the name database in an inconsistent state. The correct way to terminate
+ nmbd
+ is to send it a SIGTERM (-15) signal and wait for it to die on its own.
+-&#8962;PP
++.PP
+ nmbd
+ will accept SIGHUP, which will cause it to dump out its namelists into the file
+-&#9619;fInamelist.debug &#9619;fR
++\fInamelist.debug \fR
+ in the
+-&#9619;fI/usr/local/samba/var/locks&#9619;fR
++\fI/usr/local/samba/var/locks\fR
+ directory (or the
+-&#9619;fIvar/locks&#9619;fR
++\fIvar/locks\fR
+ directory configured under wherever Samba was configured to install itself). This will also cause
+ nmbd
+ to dump out its server database in the
+-&#9619;fIlog.nmb&#9619;fR
++\fIlog.nmb\fR
+ file.
+-&#8962;PP
++.PP
+ The debug log level of nmbd may be raised or lowered using
+-&#9619;fBsmbcontrol&#9619;fR(1)
++\fBsmbcontrol\fR(1)
+ (SIGUSR[1|2] signals are no longer used since Samba 2.2). This is to allow transient problems to be diagnosed, whilst still running at a normally low log level.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ 
+-&#9619;fBinetd&#9619;fR(8),
+-&#9619;fBsmbd&#9619;fR(8),
+-&#9619;fBsmb.conf&#9619;fR(5),
+-&#9619;fBsmbclient&#9619;fR(1),
+-&#9619;fBtestparm&#9619;fR(1),
+-&#9619;fBtestprns&#9619;fR(1), and the Internet RFC's
+-&#9619;fIrfc1001.txt&#9619;fR,
+-&#9619;fIrfc1002.txt&#9619;fR. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
++\fBinetd\fR(8),
++\fBsmbd\fR(8),
++\fBsmb.conf\fR(5),
++\fBsmbclient\fR(1),
++\fBtestparm\fR(1),
++\fBtestprns\fR(1), and the Internet RFC's
++\fIrfc1001.txt\fR,
++\fIrfc1002.txt\fR. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
+ http://samba.org/cifs/.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/nmblookup.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/nmblookup.1
++++ samba-3.2.0~pre2/docs/manpages/nmblookup.1
+@@ -18,191 +18,191 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "NMBLOOKUP" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ nmblookup - NetBIOS over TCP/IP client used to lookup NetBIOS names
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-nmblookup [-M] [-R] [-S] [-r] [-A] [-h] [-B&#9600;<broadcast&#9600;address>] [-U&#9600;<unicast&#9600;address>] [-d&#9600;<debug&#9600;level>] [-s&#9600;<smb&#9600;config&#9600;file>] [-i&#9600;<NetBIOS&#9600;scope>] [-T] [-f] {name}
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++nmblookup [-M] [-R] [-S] [-r] [-A] [-h] [-B <broadcast address>] [-U <unicast address>] [-d <debug level>] [-s <smb config file>] [-i <NetBIOS scope>] [-T] [-f] {name}
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ nmblookup
+ is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries. The options allow the name queries to be directed at a particular IP broadcast area or to a particular machine. All queries are done over UDP.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -M
+-&#8962;RS 4
++.RS 4
+ Searches for a master browser by looking up the NetBIOS name
+-&#9619;fIname&#9619;fR
++\fIname\fR
+ with a type of
+-&#9619;fB0x1d&#9619;fR. If
+-&#9619;fI name&#9619;fR
++\fB0x1d\fR. If
++\fI name\fR
+ is "-" then it does a lookup on the special name
+-&#9619;fB__MSBROWSE__&#9619;fR. Please note that in order to use the name "-", you need to make sure "-" isn't parsed as an argument, e.g. use :
+-&#9619;fBnmblookup -M -- -&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fB__MSBROWSE__\fR. Please note that in order to use the name "-", you need to make sure "-" isn't parsed as an argument, e.g. use :
++\fBnmblookup -M -- -\fR.
++.RE
++.PP
+ -R
+-&#8962;RS 4
++.RS 4
+ Set the recursion desired bit in the packet to do a recursive lookup. This is used when sending a name query to a machine running a WINS server and the user wishes to query the names in the WINS server. If this bit is unset the normal (broadcast responding) NetBIOS processing code on a machine is used instead. See RFC1001, RFC1002 for details.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S
+-&#8962;RS 4
++.RS 4
+ Once the name query has returned an IP address then do a node status query as well. A node status query returns the NetBIOS names registered by a host.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -r
+-&#8962;RS 4
++.RS 4
+ Try and bind to UDP port 137 to send and receive UDP datagrams. The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137. Unfortunately, on most UNIX systems root privilege is needed to bind to this port, and in addition, if the
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ daemon is running on this machine it also binds to this port.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -A
+-&#8962;RS 4
++.RS 4
+ Interpret
+-&#9619;fIname&#9619;fR
++\fIname\fR
+ as an IP Address and do a node status query on this address.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n <primary NetBIOS name>
+-&#8962;RS 4
++.RS 4
+ This option allows you to override the NetBIOS name that Samba uses for itself. This is identical to setting the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file. However, a command line setting will take precedence over settings in
+-&#9619;fIsmb.conf&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fIsmb.conf\fR.
++.RE
++.PP
+ -i <scope>
+-&#8962;RS 4
++.RS 4
+ This specifies a NetBIOS scope that
+ nmblookup
+ will use to communicate with when generating NetBIOS names. For details on the use of NetBIOS scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
+ \fBvery\fR
+ rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -W|--workgroup=domain
+-&#8962;RS 4
++.RS 4
+ Set the SMB domain of the username. This overrides the default domain which is the domain defined in smb.conf. If the domain specified is the same as the servers NetBIOS name, it causes the client to log on using the servers local SAM (as opposed to the Domain SAM).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -O socket options
+-&#8962;RS 4
++.RS 4
+ TCP socket options to set on the client socket. See the socket options parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ manual page for the list of valid options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -B <broadcast address>
+-&#8962;RS 4
++.RS 4
+ Send the query to the given broadcast address. Without this option the default behavior of nmblookup is to send the query to the broadcast address of the network interfaces as either auto-detected or defined in the
+-&#9619;fIinterfaces&#9619;fR
++\fIinterfaces\fR
+ parameter of the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U <unicast address>
+-&#8962;RS 4
++.RS 4
+ Do a unicast query to the specified address or host
+-&#9619;fIunicast address&#9619;fR. This option (along with the
+-&#9619;fI-R&#9619;fR
++\fIunicast address\fR. This option (along with the
++\fI-R\fR
+ option) is needed to query a WINS server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -T
+-&#8962;RS 4
++.RS 4
+ This causes any IP addresses found in the lookup to be looked up via a reverse DNS lookup into a DNS name, and printed out before each
+-&#8962;sp
++.sp
+ \fBIP address .... NetBIOS name\fR
+-&#8962;sp
++.sp
+ pair that is the normal output.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -f
+-&#8962;RS 4
++.RS 4
+ Show which flags apply to the name that has been looked up. Possible answers are zero or more of: Response, Authoritative, Truncated, Recursion_Desired, Recursion_Available, Broadcast.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ name
+-&#8962;RS 4
++.RS 4
+ This is the NetBIOS name being queried. Depending upon the previous options this may be a NetBIOS name or IP address. If a NetBIOS name then the different name types may be specified by appending '#<type>' to the name. This name may also be '*', which will return all registered names within a broadcast area.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ nmblookup
+ can be used to query a WINS server (in the same way
+ nslookup
+ is used to query DNS servers). To query a WINS server,
+ nmblookup
+ must be called like this:
+-&#8962;PP
++.PP
+ nmblookup -U server -R 'name'
+-&#8962;PP
++.PP
+ For example, running :
+-&#8962;PP
++.PP
+ nmblookup -U samba.org -R 'IRIX#1B'
+-&#8962;PP
++.PP
+ would query the WINS server samba.org for the domain master browser (1B name type) for the IRIX workgroup.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBnmbd&#9619;fR(8),
+-&#9619;fBsamba&#9619;fR(7), and
+-&#9619;fBsmb.conf&#9619;fR(5).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBnmbd\fR(8),
++\fBsamba\fR(7), and
++\fBsmb.conf\fR(5).
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/ntlm_auth.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/ntlm_auth.1
++++ samba-3.2.0~pre2/docs/manpages/ntlm_auth.1
+@@ -18,305 +18,305 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "NTLM_AUTH" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ ntlm_auth - tool to allow external access to Winbind's NTLM authentication function
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-ntlm_auth [-d&#9600;debuglevel] [-l&#9600;logdir] [-s&#9600;<smb&#9600;config&#9600;file>]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++ntlm_auth [-d debuglevel] [-l logdir] [-s <smb config file>]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ ntlm_auth
+ is a helper utility that authenticates users using NT/LM authentication. It returns 0 if the users is authenticated successfully and 1 if access was denied. ntlm_auth uses winbind to access the user and authentication data for a domain. This utility is only indended to be used by other programs (currently
+ Squid
+ and
+ mod_ntlm_winbind)
+-&#8962;SH "OPERATIONAL REQUIREMENTS"
+-&#8962;PP
++.SH "OPERATIONAL REQUIREMENTS"
++.PP
+ The
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon must be operational for many of these commands to function.
+-&#8962;PP
++.PP
+ Some of these commands also require access to the directory
+-&#9619;fIwinbindd_privileged&#9619;fR
++\fIwinbindd_privileged\fR
+ in
+-&#9619;fI$LOCKDIR&#9619;fR. This should be done either by running this command as root or providing group access to the
+-&#9619;fIwinbindd_privileged&#9619;fR
++\fI$LOCKDIR\fR. This should be done either by running this command as root or providing group access to the
++\fIwinbindd_privileged\fR
+ directory. For security reasons, this directory should not be world-accessable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ --helper-protocol=PROTO
+-&#8962;RS 4
++.RS 4
+ Operate as a stdio-based helper. Valid helper protocols are:
+-&#8962;PP
++.PP
+ squid-2.4-basic
+-&#8962;RS 4
++.RS 4
+ Server-side helper for use with Squid 2.4's basic (plaintext) authentication.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ squid-2.5-basic
+-&#8962;RS 4
++.RS 4
+ Server-side helper for use with Squid 2.5's basic (plaintext) authentication.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ squid-2.5-ntlmssp
+-&#8962;RS 4
++.RS 4
+ Server-side helper for use with Squid 2.5's NTLMSSP authentication.
+-&#8962;sp
++.sp
+ Requires access to the directory
+-&#9619;fIwinbindd_privileged&#9619;fR
++\fIwinbindd_privileged\fR
+ in
+-&#9619;fI$LOCKDIR&#9619;fR. The protocol used is described here:
++\fI$LOCKDIR\fR. The protocol used is described here:
+ http://devel.squid-cache.org/ntlm/squid_helper_protocol.html. This protocol has been extended to allow the NTLMSSP Negotiate packet to be included as an argument to the
+ YR
+ command. (Thus avoiding loss of information in the protocol exchange).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ntlmssp-client-1
+-&#8962;RS 4
++.RS 4
+ Client-side helper for use with arbitrary external programs that may wish to use Samba's NTLMSSP authentication knowledge.
+-&#8962;sp
++.sp
+ This helper is a client, and as such may be run by any user. The protocol used is effectively the reverse of the previous protocol. A
+ YR
+ command (without any arguments) starts the authentication exchange.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ gss-spnego
+-&#8962;RS 4
++.RS 4
+ Server-side helper that implements GSS-SPNEGO. This uses a protocol that is almost the same as
+ squid-2.5-ntlmssp, but has some subtle differences that are undocumented outside the source at this stage.
+-&#8962;sp
++.sp
+ Requires access to the directory
+-&#9619;fIwinbindd_privileged&#9619;fR
++\fIwinbindd_privileged\fR
+ in
+-&#9619;fI$LOCKDIR&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fI$LOCKDIR\fR.
++.RE
++.PP
+ gss-spnego-client
+-&#8962;RS 4
++.RS 4
+ Client-side helper that implements GSS-SPNEGO. This also uses a protocol similar to the above helpers, but is currently undocumented.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ntlm-server-1
+-&#8962;RS 4
++.RS 4
+ Server-side helper protocol, intended for use by a RADIUS server or the 'winbind' plugin for pppd, for the provision of MSCHAP and MSCHAPv2 authentication.
+-&#8962;sp
++.sp
+ This protocol consists of lines in the form:
+ Parameter: value
+ and
+ Parameter:: Base64-encode value. The presence of a single period
+ .
+ indicates that one side has finished supplying data to the other. (Which in turn could cause the helper to authenticate the user).
+-&#8962;sp
++.sp
+ Curently implemented parameters from the external program to the helper are:
+-&#8962;PP
++.PP
+ Username
+-&#8962;RS 4
++.RS 4
+ The username, expected to be in Samba's
+ unix charset.
+-&#8962;sp
+-&#9619;fBExample 1. &#9619;fRUsername: bob
+-&#8962;sp
+-&#9619;fBExample 2. &#9619;fRUsername:: Ym9i
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 1. \fRUsername: bob
++.sp
++\fBExample 2. \fRUsername:: Ym9i
++.RE
++.PP
+ Username
+-&#8962;RS 4
++.RS 4
+ The user's domain, expected to be in Samba's
+ unix charset.
+-&#8962;sp
+-&#9619;fBExample 3. &#9619;fRDomain: WORKGROUP
+-&#8962;sp
+-&#9619;fBExample 4. &#9619;fRDomain:: V09SS0dST1VQ
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 3. \fRDomain: WORKGROUP
++.sp
++\fBExample 4. \fRDomain:: V09SS0dST1VQ
++.RE
++.PP
+ Full-Username
+-&#8962;RS 4
++.RS 4
+ The fully qualified username, expected to be in Samba's
+ 
+ and qualified with the
+ winbind separator.
+-&#8962;sp
+-&#9619;fBExample 5. &#9619;fRFull-Username: WORKGROUP\bob
+-&#8962;sp
+-&#9619;fBExample 6. &#9619;fRFull-Username:: V09SS0dST1VQYm9i
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 5. \fRFull-Username: WORKGROUP\bob
++.sp
++\fBExample 6. \fRFull-Username:: V09SS0dST1VQYm9i
++.RE
++.PP
+ LANMAN-Challenge
+-&#8962;RS 4
++.RS 4
+ The 8 byte
+ LANMAN Challenge
+ value, generated randomly by the server, or (in cases such as MSCHAPv2) generated in some way by both the server and the client.
+-&#8962;sp
+-&#9619;fBExample 7. &#9619;fRLANMAN-Challege: 0102030405060708
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 7. \fRLANMAN-Challege: 0102030405060708
++.RE
++.PP
+ LANMAN-Response
+-&#8962;RS 4
++.RS 4
+ The 24 byte
+ LANMAN Response
+ value, calculated from the user's password and the supplied
+ LANMAN Challenge. Typically, this is provided over the network by a client wishing to authenticate.
+-&#8962;sp
+-&#9619;fBExample 8. &#9619;fRLANMAN-Response: 0102030405060708090A0B0C0D0E0F101112131415161718
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 8. \fRLANMAN-Response: 0102030405060708090A0B0C0D0E0F101112131415161718
++.RE
++.PP
+ NT-Response
+-&#8962;RS 4
++.RS 4
+ The >= 24 byte
+ NT Response
+ calculated from the user's password and the supplied
+ LANMAN Challenge. Typically, this is provided over the network by a client wishing to authenticate.
+-&#8962;sp
+-&#9619;fBExample 9. &#9619;fRNT-Response: 0102030405060708090A0B0C0D0E0F101112131415161718
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 9. \fRNT-Response: 0102030405060708090A0B0C0D0E0F101112131415161718
++.RE
++.PP
+ Password
+-&#8962;RS 4
++.RS 4
+ The user's password. This would be provided by a network client, if the helper is being used in a legacy situation that exposes plaintext passwords in this way.
+-&#8962;sp
+-&#9619;fBExample 10. &#9619;fRPassword: samba2
+-&#8962;sp
+-&#9619;fBExample 11. &#9619;fRPassword:: c2FtYmEy
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 10. \fRPassword: samba2
++.sp
++\fBExample 11. \fRPassword:: c2FtYmEy
++.RE
++.PP
+ Request-User-Session-Key
+-&#8962;RS 4
++.RS 4
+ Apon sucessful authenticaiton, return the user session key associated with the login.
+-&#8962;sp
+-&#9619;fBExample 12. &#9619;fRRequest-User-Session-Key: Yes
+-&#8962;RE
+-&#8962;PP
++.sp
++\fBExample 12. \fRRequest-User-Session-Key: Yes
++.RE
++.PP
+ Request-LanMan-Session-Key
+-&#8962;RS 4
++.RS 4
+ Apon sucessful authenticaiton, return the LANMAN session key associated with the login.
+-&#8962;sp
+-&#9619;fBExample 13. &#9619;fRRequest-LanMan-Session-Key: Yes
+-&#8962;RE
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++\fBExample 13. \fRRequest-LanMan-Session-Key: Yes
++.RE
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ Implementors should take care to base64 encode
+ 		any data (such as usernames/passwords) that may contain malicous user data, such as
+ 		a newline.  They may also need to decode strings from
+ 		the helper, which likewise may have been base64 encoded.
+ 
+-&#8962;RE
+-&#8962;RE
+-&#8962;PP
++.RE
++.RE
++.PP
+ --username=USERNAME
+-&#8962;RS 4
++.RS 4
+ Specify username of user to authenticate
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --domain=DOMAIN
+-&#8962;RS 4
++.RS 4
+ Specify domain of user to authenticate
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --workstation=WORKSTATION
+-&#8962;RS 4
++.RS 4
+ Specify the workstation the user authenticated from
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --challenge=STRING
+-&#8962;RS 4
++.RS 4
+ NTLM challenge (in HEXADECIMAL)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --lm-response=RESPONSE
+-&#8962;RS 4
++.RS 4
+ LM Response to the challenge (in HEXADECIMAL)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --nt-response=RESPONSE
+-&#8962;RS 4
++.RS 4
+ NT or NTLMv2 Response to the challenge (in HEXADECIMAL)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --password=PASSWORD
+-&#8962;RS 4
++.RS 4
+ User's plaintext password
+-&#8962;sp
++.sp
+ If not specified on the command line, this is prompted for when required.
+-&#8962;sp
++.sp
+ For the NTLMSSP based server roles, this parameter specifies the expected password, allowing testing without winbindd operational.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --request-lm-key
+-&#8962;RS 4
++.RS 4
+ Retreive LM session key
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --request-nt-key
+-&#8962;RS 4
++.RS 4
+ Request NT key
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --diagnostics
+-&#8962;RS 4
++.RS 4
+ Perform Diagnostics on the authentication chain. Uses the password from
+ --password
+ or prompts for one.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --require-membership-of={SID|Name}
+-&#8962;RS 4
++.RS 4
+ Require that a user be a member of specified group (either name or SID) for authentication to succeed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "EXAMPLE SETUP"
+-&#8962;PP
++.RE
++.SH "EXAMPLE SETUP"
++.PP
+ To setup ntlm_auth for use by squid 2.5, with both basic and NTLMSSP authentication, the following should be placed in the
+-&#9619;fIsquid.conf&#9619;fR
++\fIsquid.conf\fR
+ file.
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -328,23 +328,23 @@
+ 
+ .fi
+ 
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ This example assumes that ntlm_auth has been installed into your path, and that the group permissions on
+-&#9619;fIwinbindd_privileged&#9619;fR
++\fIwinbindd_privileged\fR
+ are as described above.
+ 
+-&#8962;PP
++.PP
+ To setup ntlm_auth for use by squid 2.5 with group limitation in addition to the above example, the following should be added to the
+-&#9619;fIsquid.conf&#9619;fR
++\fIsquid.conf\fR
+ file.
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -353,16 +353,16 @@
+ 
+ .fi
+ 
+-&#8962;SH "TROUBLESHOOTING"
+-&#8962;PP
++.SH "TROUBLESHOOTING"
++.PP
+ If you're experiencing problems with authenticating Internet Explorer running under MS Windows 9X or Millenium Edition against ntlm_auth's NTLMSSP authentication helper (--helper-protocol=squid-2.5-ntlmssp), then please read
+ the Microsoft Knowledge Base article #239869 and follow instructions described there.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The ntlm_auth manpage was written by Jelmer Vernooij and Andrew Bartlett.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/pam_winbind.7
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/pam_winbind.7
++++ samba-3.2.0~pre2/docs/manpages/pam_winbind.7
+@@ -18,91 +18,91 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "PAM_WINBIND" 7 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ pam_winbind - PAM module for Winbind
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ pam_winbind is a PAM module that can authenticate users against the local domain by talking to the Winbind daemon.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ pam_winbind supports several options which can either be set in the PAM configuration files or in the pam_winbind configuration file situated at
+-&#9619;fI/etc/security/pam_winbind.conf&#9619;fR. Options from the PAM configuration file take precedence to those from the configuration file.
+-&#8962;PP
++\fI/etc/security/pam_winbind.conf\fR. Options from the PAM configuration file take precedence to those from the configuration file.
++.PP
+ debug
+-&#8962;RS 4
++.RS 4
+ Gives debugging output to syslog.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ debug_state
+-&#8962;RS 4
++.RS 4
+ Gives detailed PAM state debugging output to syslog.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ require_membership_of=[SID or NAME]
+-&#8962;RS 4
++.RS 4
+ If this option is set, pam_winbind will only succeed if the user is a member of the given SID or NAME. A SID can be either a group-SID, an alias-SID or even an user-SID. It is also possible to give a NAME instead of the SID. That name must have the form:
+-&#9619;fIMYDOMAIN\\mygroup&#9619;fR
++\fIMYDOMAIN\\mygroup\fR
+ or
+-&#9619;fIMYDOMAIN\\myuser&#9619;fR. pam_winbind will, in that case, lookup the SID internally. Note that NAME may not contain any spaces. It is thus recommended to only use SIDs. You can verify the list of SIDs a user is a member of with
++\fIMYDOMAIN\\myuser\fR. pam_winbind will, in that case, lookup the SID internally. Note that NAME may not contain any spaces. It is thus recommended to only use SIDs. You can verify the list of SIDs a user is a member of with
+ wbinfo --user-sids=SID.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ try_first_pass
+-&#8962;RS 4
++.RS 4
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ use_first_pass
+-&#8962;RS 4
++.RS 4
+ By default, pam_winbind tries to get the authentication token from a previous module. If no token is available it asks the user for the old password. With this option, pam_winbind aborts with an error if no authentication token from a previous module is available.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ use_authtok
+-&#8962;RS 4
++.RS 4
+ Set the new password to the one provided by the previously stacked password module. If this option is not set pam_winbind will ask the user for the new password.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ krb5_auth
+-&#8962;RS 4
++.RS 4
+ pam_winbind can authenticate using Kerberos when winbindd is talking to an Active Directory domain controller. Kerberos authentication must be enabled with this parameter. When Kerberos authentication can not succeed (e.g. due to clock skew), winbindd will fallback to samlogon authentication over MSRPC. When this parameter is used in conjunction with
+-&#9619;fIwinbind refresh tickets&#9619;fR, winbind will keep your Ticket Granting Ticket (TGT) uptodate by refreshing it whenever necessary.
+-&#8962;RE
+-&#8962;PP
++\fIwinbind refresh tickets\fR, winbind will keep your Ticket Granting Ticket (TGT) uptodate by refreshing it whenever necessary.
++.RE
++.PP
+ krb5_ccache_type=[type]
+-&#8962;RS 4
++.RS 4
+ When pam_winbind is configured to try kerberos authentication by enabling the
+-&#9619;fIkrb5_auth&#9619;fR
++\fIkrb5_auth\fR
+ option, it can store the retrieved Ticket Granting Ticket (TGT) in a credential cache. The type of credential cache can be set with this option. Currently the only supported value is:
+-&#9619;fIFILE&#9619;fR. In that case a credential cache in the form of /tmp/krb5cc_UID will be created, where UID is replaced with the numeric user id. Leave empty to just do kerberos authentication without having a ticket cache after the logon has succeeded.
+-&#8962;RE
+-&#8962;PP
++\fIFILE\fR. In that case a credential cache in the form of /tmp/krb5cc_UID will be created, where UID is replaced with the numeric user id. Leave empty to just do kerberos authentication without having a ticket cache after the logon has succeeded.
++.RE
++.PP
+ cached_login
+-&#8962;RS 4
++.RS 4
+ Winbind allows to logon using cached credentials when
+-&#9619;fIwinbind offline logon&#9619;fR
++\fIwinbind offline logon\fR
+ is enabled. To use this feature from the PAM module this option must be set.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ silent
+-&#8962;RS 4
++.RS 4
+ Do not emit any messages.
+-&#8962;RE
++.RE
+ 
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBwbinfo&#9619;fR(1),
+-&#9619;fBwinbindd&#9619;fR(8),
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBwbinfo\fR(1),
++\fBwinbindd\fR(8),
++\fBsmb.conf\fR(5)
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of Samba.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ This manpage was written by Jelmer Vernooij and Guenther Deschner.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/pdbedit.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/pdbedit.8
++++ samba-3.2.0~pre2/docs/manpages/pdbedit.8
+@@ -18,33 +18,33 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "PDBEDIT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ pdbedit - manage the SAM database (Database of Samba Users)
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-pdbedit [-L] [-v] [-w] [-u&#9600;username] [-f&#9600;fullname] [-h&#9600;homedir] [-D&#9600;drive] [-S&#9600;script] [-p&#9600;profile] [-a] [-t,&#9600;--password-from-stdin] [-m] [-r] [-x] [-i&#9600;passdb-backend] [-e&#9600;passdb-backend] [-b&#9600;passdb-backend] [-g] [-d&#9600;debuglevel] [-s&#9600;configfile] [-P&#9600;account-policy] [-C&#9600;value] [-c&#9600;account-control] [-y]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++pdbedit [-L] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-D drive] [-S script] [-p profile] [-a] [-t, --password-from-stdin] [-m] [-r] [-x] [-i passdb-backend] [-e passdb-backend] [-b passdb-backend] [-g] [-d debuglevel] [-s configfile] [-P account-policy] [-C value] [-c account-control] [-y]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The pdbedit program is used to manage the users accounts stored in the sam database and can only be run by root.
+-&#8962;PP
++.PP
+ The pdbedit tool uses the passdb modular interface and is independent from the kind of users database used (currently there are smbpasswd, ldap, nis+ and tdb based and more can be added without changing the tool).
+-&#8962;PP
++.PP
+ There are five main ways to use pdbedit: adding a user account, removing a user account, modifing a user account, listing user accounts, importing users accounts.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -L
+-&#8962;RS 4
++.RS 4
+ This option lists all the user accounts present in the users database. This option prints a list of user/uid pairs separated by the ':' character.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -L
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -53,17 +53,17 @@
+ 
+ .fi
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v
+-&#8962;RS 4
++.RS 4
+ This option enables the verbose listing format. It causes pdbedit to list the users in the database, printing out the account fields in a descriptive format.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -L -v
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -88,16 +88,16 @@
+ 
+ .fi
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -w
+-&#8962;RS 4
++.RS 4
+ This option sets the "smbpasswd" listing format. It will make pdbedit list the users in the database, printing out the account fields in a format compatible with the
+-&#9619;fIsmbpasswd&#9619;fR
++\fIsmbpasswd\fR
+ file format. (see the
+-&#9619;fBsmbpasswd&#9619;fR(5)
++\fBsmbpasswd\fR(5)
+ for details)
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -L -w
+ 
+@@ -111,77 +111,77 @@
+           [UX         ]:LCT-3BFA1E8D:
+ 
+ .fi
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -u username
+-&#8962;RS 4
++.RS 4
+ This option specifies the username to be used for the operation requested (listing, adding, removing). It is
+ \fBrequired\fR
+ in add, remove and modify operations and
+ \fBoptional\fR
+ in list operations.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -f fullname
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifing a user account. It will specify the user's full name.
+-&#8962;sp
++.sp
+ Example:
+ -f "Simo Sorce"
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h homedir
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifing a user account. It will specify the user's home directory network path.
+-&#8962;sp
++.sp
+ Example:
+ -h "\\\\\\\\BERSERKER\\\\sorce"
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D drive
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifing a user account. It will specify the windows drive letter to be used to map the home directory.
+-&#8962;sp
++.sp
+ Example:
+ -D "H:"
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S script
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifing a user account. It will specify the user's logon script path.
+-&#8962;sp
++.sp
+ Example:
+ -S "\\\\\\\\BERSERKER\\\\netlogon\\\\sorce.bat"
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p profile
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifing a user account. It will specify the user's profile directory.
+-&#8962;sp
++.sp
+ Example:
+ -p "\\\\\\\\BERSERKER\\\\netlogon"
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -G SID|rid
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifying a user account. It will specify the users' new primary group SID (Security Identifier) or rid.
+-&#8962;sp
++.sp
+ Example:
+ -G S-1-5-21-2447931902-1787058256-3961074038-1201
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U SID|rid
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifying a user account. It will specify the users' new SID (Security Identifier) or rid.
+-&#8962;sp
++.sp
+ Example:
+ -U S-1-5-21-2447931902-1787058256-3961074038-5004
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -c account-control
+-&#8962;RS 4
++.RS 4
+ This option can be used while adding or modifying a user account. It will specify the users' account control property. Possible flags are listed below.
+-&#8962;sp
++.sp
+ 
+ \(bu
+ N: No password required
+@@ -215,21 +215,21 @@
+ .TP
+ \(bu
+ I: Domain Trust Account
+-&#8962;IP "" 4
++.IP "" 4
+ 
+-&#8962;sp
++.sp
+ Example:
+ -c "[X ]"
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -a
+-&#8962;RS 4
++.RS 4
+ This option is used to add a user into the database. This command needs a user name specified with the -u switch. When adding a new user, pdbedit will also ask for the password to be used.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -a -u sorce
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ new password:
+@@ -237,101 +237,101 @@
+ 
+ .fi
+ 
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ pdbedit does not call the unix password syncronisation script if
+ unix password sync has been set. It only updates the data in the Samba user database.
+-&#8962;sp
++.sp
+ If you wish to add a user and synchronise the password that immediately, use
+ smbpasswd's
+-&#9619;fB-a&#9619;fR
++\fB-a\fR
+ option.
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t, --password-from-stdin
+-&#8962;RS 4
++.RS 4
+ This option causes pdbedit to read the password from standard input, rather than from /dev/tty (like the
+ passwd(1)
+ program does). The password has to be submitted twice and terminated by a newline each.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -r
+-&#8962;RS 4
++.RS 4
+ This option is used to modify an existing user in the database. This command needs a user name specified with the -u switch. Other options can be specified to modify the properties of the specified user. This flag is kept for backwards compatibility, but it is no longer necessary to specify it.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -m
+-&#8962;RS 4
++.RS 4
+ This option may only be used in conjunction with the
+-&#9619;fI-a&#9619;fR
++\fI-a\fR
+ option. It will make pdbedit to add a machine trust account instead of a user account (-u username will provide the machine name).
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -a -m -u w2k-wks
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -x
+-&#8962;RS 4
++.RS 4
+ This option causes pdbedit to delete an account from the database. It needs a username specified with the -u switch.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -x -u bob
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i passdb-backend
+-&#8962;RS 4
++.RS 4
+ Use a different passdb backend to retrieve users than the one specified in smb.conf. Can be used to import data into your local user database.
+-&#8962;sp
++.sp
+ This option will ease migration from one passdb backend to another.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -i smbpasswd:/etc/smbpasswd.old
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -e passdb-backend
+-&#8962;RS 4
++.RS 4
+ Exports all currently available users to the specified password database backend.
+-&#8962;sp
++.sp
+ This option will ease migration from one passdb backend to another and will ease backing up.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -e smbpasswd:/root/samba-users.backup
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -g
+-&#8962;RS 4
++.RS 4
+ If you specify
+-&#9619;fI-g&#9619;fR, then
+-&#9619;fI-i in-backend -e out-backend&#9619;fR
++\fI-g\fR, then
++\fI-i in-backend -e out-backend\fR
+ applies to the group mapping instead of the user database.
+-&#8962;sp
++.sp
+ This option will ease migration from one passdb backend to another and will ease backing up.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b passdb-backend
+-&#8962;RS 4
++.RS 4
+ Use a different default passdb backend.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -b xml:/root/pdb-backup.xml -l
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P account-policy
+-&#8962;RS 4
++.RS 4
+ Display an account policy
+-&#8962;sp
++.sp
+ Valid policies are: minimum password age, reset count minutes, disconnect time, user must logon to change password, password history, lockout duration, min password length, maximum password age and bad lockout attempt.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -P "bad lockout attempt"
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -339,19 +339,19 @@
+ 
+ .fi
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -C account-policy-value
+-&#8962;RS 4
++.RS 4
+ Sets an account policy to a specified value. This option may only be used in conjunction with the
+-&#9619;fI-P&#9619;fR
++\fI-P\fR
+ option.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -P "bad lockout attempt" -C 3
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -360,73 +360,73 @@
+ 
+ .fi
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -y
+-&#8962;RS 4
++.RS 4
+ If you specify
+-&#9619;fI-y&#9619;fR, then
+-&#9619;fI-i in-backend -e out-backend&#9619;fR
++\fI-y\fR, then
++\fI-i in-backend -e out-backend\fR
+ applies to the account policies instead of the user database.
+-&#8962;sp
++.sp
+ This option will allow to migrate account policies from their default tdb-store into a passdb backend, e.g. an LDAP directory server.
+-&#8962;sp
++.sp
+ Example:
+ pdbedit -y -i tdbsam: -e ldapsam:ldap://my.ldap.host
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;SH "NOTES"
+-&#8962;PP
++.RE
++.SH "NOTES"
++.PP
+ This command may be used only by root.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbpasswd&#9619;fR(5),
+-&#9619;fBsamba&#9619;fR(7)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmbpasswd\fR(5),
++\fBsamba\fR(7)
++.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.
+-&#8962;PP
++.PP
+ The pdbedit manpage was written by Simo Sorce and Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/profiles.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/profiles.1
++++ samba-3.2.0~pre2/docs/manpages/profiles.1
+@@ -18,48 +18,48 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "PROFILES" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ profiles - A utility to report and change SIDs in registry files
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-profiles [-v] [-c&#9600;SID] [-n&#9600;SID] {file}
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++profiles [-v] [-c SID] [-n SID] {file}
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ profiles
+ is a utility that reports and changes SIDs in windows registry files. It currently only supports NT.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ file
+-&#8962;RS 4
++.RS 4
+ Registry file to view or edit.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v,--verbose
+-&#8962;RS 4
++.RS 4
+ Increases verbosity of messages.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -c SID1 -n SID2
+-&#8962;RS 4
++.RS 4
+ Change all occurences of SID1 in
+-&#9619;fIfile&#9619;fR
++\fIfile\fR
+ by SID2.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The profiles man page was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/rpcclient.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/rpcclient.1
++++ samba-3.2.0~pre2/docs/manpages/rpcclient.1
+@@ -18,100 +18,100 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "RPCCLIENT" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ rpcclient - tool for executing client side MS-RPC functions
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-rpcclient [-A&#9600;authfile] [-c&#9600;<command&#9600;string>] [-d&#9600;debuglevel] [-h] [-l&#9600;logdir] [-N] [-s&#9600;<smb&#9600;config&#9600;file>] [-U&#9600;username[%password]] [-W&#9600;workgroup] [-N] [-I&#9600;destinationIP] {server}
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++rpcclient [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logdir] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ rpcclient
+ is a utility initially developed to test MS-RPC functionality in Samba itself. It has undergone several stages of development and stability. Many system administrators have now written scripts around it to manage Windows NT clients from their UNIX workstation.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ server
+-&#8962;RS 4
++.RS 4
+ NetBIOS name of Server to which to connect. The server can be any SMB/CIFS server. The name is resolved using the
+ name resolve order line from
+-&#9619;fBsmb.conf&#9619;fR(5).
+-&#8962;RE
+-&#8962;PP
++\fBsmb.conf\fR(5).
++.RE
++.PP
+ -c|--command='command string'
+-&#8962;RS 4
++.RS 4
+ execute semicolon separated commands (listed below))
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -I IP-address
+-&#8962;RS 4
+-&#9619;fIIP address&#9619;fR
++.RS 4
++\fIIP address\fR
+ is the address of the server to connect to. It should be specified in standard "a.b.c.d" notation.
+-&#8962;sp
++.sp
+ Normally the client would attempt to locate a named SMB/CIFS server by looking it up via the NetBIOS name resolution mechanism described above in the
+-&#9619;fIname resolve order&#9619;fR
++\fIname resolve order\fR
+ parameter above. Using this parameter will force the client to assume that the server is on the machine with the specified IP address and the NetBIOS name component of the resource being connected to will be ignored.
+-&#8962;sp
++.sp
+ There is no default for this parameter. If not supplied, it will be determined automatically by the client as described above.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -N
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password.
+-&#8962;sp
++.sp
+ Unless a password is specified on the command line or this parameter is specified, the client will request a password.
+-&#8962;sp
++.sp
+ If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -k
+-&#8962;RS 4
++.RS 4
+ Try to authenticate with kerberos. Only useful in an Active Directory environment.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -A|--authentication-file=filename
+-&#8962;RS 4
++.RS 4
+ This option allows you to specify a file from which to read the username and password used in the connection. The format of the file is
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -121,308 +121,308 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Make certain that the permissions on the file restrict access from unwanted users.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U|--user=username[%password]
+-&#8962;RS 4
++.RS 4
+ Sets the SMB username or username and password.
+-&#8962;sp
++.sp
+ If %password is not specified, the user will be prompted. The client will first check the
+-&#9619;fBUSER&#9619;fR
++\fBUSER\fR
+ environment variable, then the
+-&#9619;fBLOGNAME&#9619;fR
++\fBLOGNAME\fR
+ variable and if either exists, the string is uppercased. If these environmental variables are not found, the username
+-&#9619;fBGUEST&#9619;fR
++\fBGUEST\fR
+ is used.
+-&#8962;sp
++.sp
+ A third option is to use a credentials file which contains the plaintext of the username and password. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the
+-&#9619;fI-A&#9619;fR
++\fI-A\fR
+ for more details.
+-&#8962;sp
++.sp
+ Be cautious about including passwords in scripts. Also, on many systems the command line of a running process may be seen via the
+ ps
+ command. To be safe always allow
+ rpcclient
+ to prompt for a password and type it in directly.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n <primary NetBIOS name>
+-&#8962;RS 4
++.RS 4
+ This option allows you to override the NetBIOS name that Samba uses for itself. This is identical to setting the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file. However, a command line setting will take precedence over settings in
+-&#9619;fIsmb.conf&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fIsmb.conf\fR.
++.RE
++.PP
+ -i <scope>
+-&#8962;RS 4
++.RS 4
+ This specifies a NetBIOS scope that
+ nmblookup
+ will use to communicate with when generating NetBIOS names. For details on the use of NetBIOS scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
+ \fBvery\fR
+ rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -W|--workgroup=domain
+-&#8962;RS 4
++.RS 4
+ Set the SMB domain of the username. This overrides the default domain which is the domain defined in smb.conf. If the domain specified is the same as the servers NetBIOS name, it causes the client to log on using the servers local SAM (as opposed to the Domain SAM).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -O socket options
+-&#8962;RS 4
++.RS 4
+ TCP socket options to set on the client socket. See the socket options parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ manual page for the list of valid options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "COMMANDS"
+-&#8962;SS "LSARPC"
+-&#8962;PP
++.RE
++.SH "COMMANDS"
++.SS "LSARPC"
++.PP
+ lsaquery
+-&#8962;RS 4
++.RS 4
+ Query info policy
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lookupsids
+-&#8962;RS 4
++.RS 4
+ Resolve a list of SIDs to usernames.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lookupnames
+-&#8962;RS 4
++.RS 4
+ Resolve a list of usernames to SIDs.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumtrusts
+-&#8962;RS 4
++.RS 4
+ Enumerate trusted domains
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumprivs
+-&#8962;RS 4
++.RS 4
+ Enumerate privileges
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getdispname
+-&#8962;RS 4
++.RS 4
+ Get the privilege name
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaenumsid
+-&#8962;RS 4
++.RS 4
+ Enumerate the LSA SIDS
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaenumprivsaccount
+-&#8962;RS 4
++.RS 4
+ Enumerate the privileges of an SID
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaenumacctrights
+-&#8962;RS 4
++.RS 4
+ Enumerate the rights of an SID
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaenumacctwithright
+-&#8962;RS 4
++.RS 4
+ Enumerate accounts with a right
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaaddacctrights
+-&#8962;RS 4
++.RS 4
+ Add rights to an account
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaremoveacctrights
+-&#8962;RS 4
++.RS 4
+ Remove rights from an account
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsalookupprivvalue
+-&#8962;RS 4
++.RS 4
+ Get a privilege value given its name
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lsaquerysecobj
+-&#8962;RS 4
++.RS 4
+ Query LSA security object
+-&#8962;RE
+-&#8962;SS "LSARPC-DS"
+-&#8962;PP
++.RE
++.SS "LSARPC-DS"
++.PP
+ dsroledominfo
+-&#8962;RS 4
++.RS 4
+ Get Primary Domain Information
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ 
+-&#8962;PP
++.PP
+ \fBDFS\fR
+-&#8962;PP
++.PP
+ dfsexist
+-&#8962;RS 4
++.RS 4
+ Query DFS support
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dfsadd
+-&#8962;RS 4
++.RS 4
+ Add a DFS share
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dfsremove
+-&#8962;RS 4
++.RS 4
+ Remove a DFS share
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dfsgetinfo
+-&#8962;RS 4
++.RS 4
+ Query DFS share info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dfsenum
+-&#8962;RS 4
++.RS 4
+ Enumerate dfs shares
+-&#8962;RE
+-&#8962;SS "REG"
+-&#8962;PP
++.RE
++.SS "REG"
++.PP
+ shutdown
+-&#8962;RS 4
++.RS 4
+ Remote Shutdown
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ abortshutdown
+-&#8962;RS 4
++.RS 4
+ Abort Shutdown
+-&#8962;RE
+-&#8962;SS "SRVSVC"
+-&#8962;PP
++.RE
++.SS "SRVSVC"
++.PP
+ srvinfo
+-&#8962;RS 4
++.RS 4
+ Server query info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ netshareenum
+-&#8962;RS 4
++.RS 4
+ Enumerate shares
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ netfileenum
+-&#8962;RS 4
++.RS 4
+ Enumerate open files
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ netremotetod
+-&#8962;RS 4
++.RS 4
+ Fetch remote time of day
+-&#8962;RE
+-&#8962;SS "SAMR"
+-&#8962;PP
++.RE
++.SS "SAMR"
++.PP
+ queryuser
+-&#8962;RS 4
++.RS 4
+ Query user info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ querygroup
+-&#8962;RS 4
++.RS 4
+ Query group info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ queryusergroups
+-&#8962;RS 4
++.RS 4
+ Query user groups
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ querygroupmem
+-&#8962;RS 4
++.RS 4
+ Query group membership
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ queryaliasmem
+-&#8962;RS 4
++.RS 4
+ Query alias membership
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ querydispinfo
+-&#8962;RS 4
++.RS 4
+ Query display info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ querydominfo
+-&#8962;RS 4
++.RS 4
+ Query domain info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumdomusers
+-&#8962;RS 4
++.RS 4
+ Enumerate domain users
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumdomgroups
+-&#8962;RS 4
++.RS 4
+ Enumerate domain groups
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumalsgroups
+-&#8962;RS 4
++.RS 4
+ Enumerate alias groups
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ createdomuser
+-&#8962;RS 4
++.RS 4
+ Create domain user
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samlookupnames
+-&#8962;RS 4
++.RS 4
+ Look up names
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samlookuprids
+-&#8962;RS 4
++.RS 4
+ Look up names
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ deletedomuser
+-&#8962;RS 4
++.RS 4
+ Delete domain user
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samquerysecobj
+-&#8962;RS 4
++.RS 4
+ Query SAMR security object
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getdompwinfo
+-&#8962;RS 4
++.RS 4
+ Retrieve domain password info
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lookupdomain
+-&#8962;RS 4
++.RS 4
+ Look up domain
+-&#8962;RE
+-&#8962;SS "SPOOLSS"
+-&#8962;PP
++.RE
++.SS "SPOOLSS"
++.PP
+ adddriver <arch> <config> [<version>]
+-&#8962;RS 4
++.RS 4
+ Execute an AddPrinterDriver() RPC to install the printer driver information on the server. Note that the driver files should already exist in the directory returned by
+ getdriverdir. Possible values for
+-&#9619;fIarch&#9619;fR
++\fIarch\fR
+ are the same as those for the
+ getdriverdir
+ command. The
+-&#9619;fIconfig&#9619;fR
++\fIconfig\fR
+ parameter is defined as follows:
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -437,227 +437,227 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Any empty fields should be enter as the string "NULL".
+-&#8962;sp
++.sp
+ Samba does not need to support the concept of Print Monitors since these only apply to local printers whose driver can make use of a bi-directional link for communication. This field should be "NULL". On a remote NT print server, the Print Monitor for a driver must already be installed prior to adding the driver or else the RPC will fail.
+-&#8962;sp
++.sp
+ The
+-&#9619;fIversion&#9619;fR
++\fIversion\fR
+ parameter lets you specify the printer driver version number. If omitted, the default driver version for the specified architecture will be used. This option can be used to upload Windows 2000 (version 3) printer drivers.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ addprinter <printername> <sharename> <drivername> <port>
+-&#8962;RS 4
++.RS 4
+ Add a printer on the remote server. This printer will be automatically shared. Be aware that the printer driver must already be installed on the server (see
+ adddriver) and the
+-&#9619;fIport&#9619;fRmust be a valid port name (see
++\fIport\fRmust be a valid port name (see
+ enumports.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ deldriver
+-&#8962;RS 4
++.RS 4
+ Delete the specified printer driver for all architectures. This does not delete the actual driver files from the server, only the entry from the server's list of drivers.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ deldriverex <driver> [architecture] [version]
+-&#8962;RS 4
++.RS 4
+ Delete the specified printer driver including driver files. You can limit this action to a specific architecture and a specific version. If no architecure is given, all driver files of that driver will be deleted.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumdata
+-&#8962;RS 4
++.RS 4
+ Enumerate all printer setting data stored on the server. On Windows NT clients, these values are stored in the registry, while Samba servers store them in the printers TDB. This command corresponds to the MS Platform SDK GetPrinterData() function (* This command is currently unimplemented).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumdataex
+-&#8962;RS 4
++.RS 4
+ Enumerate printer data for a key
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumjobs <printer>
+-&#8962;RS 4
++.RS 4
+ List the jobs and status of a given printer. This command corresponds to the MS Platform SDK EnumJobs() function
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumkey
+-&#8962;RS 4
++.RS 4
+ Enumerate printer keys
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumports [level]
+-&#8962;RS 4
++.RS 4
+ Executes an EnumPorts() call using the specified info level. Currently only info levels 1 and 2 are supported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumdrivers [level]
+-&#8962;RS 4
++.RS 4
+ Execute an EnumPrinterDrivers() call. This lists the various installed printer drivers for all architectures. Refer to the MS Platform SDK documentation for more details of the various flags and calling options. Currently supported info levels are 1, 2, and 3.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumprinters [level]
+-&#8962;RS 4
++.RS 4
+ Execute an EnumPrinters() call. This lists the various installed and share printers. Refer to the MS Platform SDK documentation for more details of the various flags and calling options. Currently supported info levels are 1, 2 and 5.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getdata <printername> <valuename;>
+-&#8962;RS 4
++.RS 4
+ Retrieve the data for a given printer setting. See the
+ enumdata
+ command for more information. This command corresponds to the GetPrinterData() MS Platform SDK function.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getdataex
+-&#8962;RS 4
++.RS 4
+ Get printer driver data with keyname
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getdriver <printername>
+-&#8962;RS 4
++.RS 4
+ Retrieve the printer driver information (such as driver file, config file, dependent files, etc...) for the given printer. This command corresponds to the GetPrinterDriver() MS Platform SDK function. Currently info level 1, 2, and 3 are supported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getdriverdir <arch>
+-&#8962;RS 4
++.RS 4
+ Execute a GetPrinterDriverDirectory() RPC to retrieve the SMB share name and subdirectory for storing printer driver files for a given architecture. Possible values for
+-&#9619;fIarch&#9619;fR
++\fIarch\fR
+ are "Windows 4.0" (for Windows 95/98), "Windows NT x86", "Windows NT PowerPC", "Windows Alpha_AXP", and "Windows NT R4000".
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getprinter <printername>
+-&#8962;RS 4
++.RS 4
+ Retrieve the current printer information. This command corresponds to the GetPrinter() MS Platform SDK function.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getprintprocdir
+-&#8962;RS 4
++.RS 4
+ Get print processor directory
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ openprinter <printername>
+-&#8962;RS 4
++.RS 4
+ Execute an OpenPrinterEx() and ClosePrinter() RPC against a given printer.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setdriver <printername> <drivername>
+-&#8962;RS 4
++.RS 4
+ Execute a SetPrinter() command to update the printer driver associated with an installed printer. The printer driver must already be correctly installed on the print server.
+-&#8962;sp
++.sp
+ See also the
+ enumprinters
+ and
+ enumdrivers
+ commands for obtaining a list of of installed printers and drivers.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ addform
+-&#8962;RS 4
++.RS 4
+ Add form
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setform
+-&#8962;RS 4
++.RS 4
+ Set form
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getform
+-&#8962;RS 4
++.RS 4
+ Get form
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ deleteform
+-&#8962;RS 4
++.RS 4
+ Delete form
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ enumforms
+-&#8962;RS 4
++.RS 4
+ Enumerate form
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setprinter
+-&#8962;RS 4
++.RS 4
+ Set printer comment
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setprinterdata
+-&#8962;RS 4
++.RS 4
+ Set REG_SZ printer data
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setprintername <printername> <newprintername>
+-&#8962;RS 4
++.RS 4
+ Set printer name
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ rffpcnex
+-&#8962;RS 4
++.RS 4
+ Rffpcnex test
+-&#8962;RE
+-&#8962;SS "NETLOGON"
+-&#8962;PP
++.RE
++.SS "NETLOGON"
++.PP
+ logonctrl2
+-&#8962;RS 4
++.RS 4
+ Logon Control 2
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ logonctrl
+-&#8962;RS 4
++.RS 4
+ Logon Control
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samsync
+-&#8962;RS 4
++.RS 4
+ Sam Synchronisation
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samdeltas
+-&#8962;RS 4
++.RS 4
+ Query Sam Deltas
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samlogon
+-&#8962;RS 4
++.RS 4
+ Sam Logon
+-&#8962;RE
+-&#8962;SS "GENERAL COMMANDS"
+-&#8962;PP
++.RE
++.SS "GENERAL COMMANDS"
++.PP
+ debuglevel
+-&#8962;RS 4
++.RS 4
+ Set the current debug level used to log information.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ help (?)
+-&#8962;RS 4
++.RS 4
+ Print a listing of all known commands or extended help on a particular command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ quit (exit)
+-&#8962;RS 4
++.RS 4
+ Exit
+ rpcclient.
+-&#8962;RE
+-&#8962;SH "BUGS"
+-&#8962;PP
++.RE
++.SH "BUGS"
++.PP
+ rpcclient
+ is designed as a developer testing tool and may not be robust in certain areas (such as command line parsing). It has been known to generate a core dump upon failures when invalid parameters where passed to the interpreter.
+-&#8962;PP
++.PP
+ From Luke Leighton's original rpcclient man page:
+-&#8962;PP
++.PP
+ \fBWARNING!\fR
+ The MSRPC over SMB code has been developed from examining Network traces. No documentation is available from the original creators (Microsoft) on how MSRPC over SMB works, or how the individual MSRPC services work. Microsoft's implementation of these services has been demonstrated (and reported) to be... a bit flaky in places.
+-&#8962;PP
++.PP
+ The development of Samba's implementation is also a bit rough, and as more of the services are understood, it can even result in versions of
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ and
+-&#9619;fBrpcclient&#9619;fR(1)
++\fBrpcclient\fR(1)
+ that are incompatible for some commands or services. Additionally, the developers are sending reports to Microsoft, and problems found or reported to Microsoft are fixed in Service Packs, which may result in incompatibilities.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The original rpcclient man page was written by Matthew Geddes, Luke Kenneth Casson Leighton, and rewritten by Gerald Carter. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/samba.7
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/samba.7
++++ samba-3.2.0~pre2/docs/manpages/samba.7
+@@ -18,247 +18,247 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SAMBA" 7 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ samba - A Windows SMB/CIFS fileserver for UNIX
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ samba
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ The Samba software suite is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. This protocol is sometimes also referred to as the Common Internet File System (CIFS). For a more thorough description, see
+ http://www.ubiqx.org/cifs/. Samba also implements the NetBIOS protocol in nmbd.
+-&#8962;PP
+-&#9619;fBsmbd&#9619;fR(8)
+-&#8962;RS 4
++.PP
++\fBsmbd\fR(8)
++.RS 4
+ The
+ smbd
+ daemon provides the file and print services to SMB clients, such as Windows 95/98, Windows NT, Windows for Workgroups or LanManager. The configuration file for this daemon is described in
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBnmbd&#9619;fR(8)
+-&#8962;RS 4
++\fBsmb.conf\fR(5)
++.RE
++.PP
++\fBnmbd\fR(8)
++.RS 4
+ The
+ nmbd
+ daemon provides NetBIOS nameservice and browsing support. The configuration file for this daemon is described in
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbclient&#9619;fR(1)
+-&#8962;RS 4
++\fBsmb.conf\fR(5)
++.RE
++.PP
++\fBsmbclient\fR(1)
++.RS 4
+ The
+ smbclient
+ program implements a simple ftp-like client. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT).
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBtestparm&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBtestparm\fR(1)
++.RS 4
+ The
+ testparm
+ utility is a simple syntax checker for Samba's
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ configuration file.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBtestprns&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBtestprns\fR(1)
++.RS 4
+ The
+ testprns
+ utility supports testing printer names defined in your
+-&#9619;fIprintcap&#9619;fR
++\fIprintcap\fR
+ file used by Samba.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbstatus&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbstatus\fR(1)
++.RS 4
+ The
+ smbstatus
+ tool provides access to information about the current connections to
+ smbd.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBnmblookup&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBnmblookup\fR(1)
++.RS 4
+ The
+ nmblookup
+ tools allows NetBIOS name queries to be made from a UNIX host.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbpasswd&#9619;fR(8)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbpasswd\fR(8)
++.RS 4
+ The
+ smbpasswd
+ command is a tool for changing LanMan and Windows NT password hashes on Samba and Windows NT servers.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbcacls&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbcacls\fR(1)
++.RS 4
+ The
+ smbcacls
+ command is a tool to set ACL's on remote CIFS servers.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbsh&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbsh\fR(1)
++.RS 4
+ The
+ smbsh
+ command is a program that allows you to run a unix shell with with an overloaded VFS.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbtree&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbtree\fR(1)
++.RS 4
+ The
+ smbtree
+ command is a text-based network neighborhood tool.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbtar&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbtar\fR(1)
++.RS 4
+ The
+ smbtar
+ can make backups of data on CIFS/SMB servers.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbspool&#9619;fR(8)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbspool\fR(8)
++.RS 4
+ smbspool
+ is a helper utility for printing on printers connected to CIFS servers.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbcontrol&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbcontrol\fR(1)
++.RS 4
+ smbcontrol
+ is a utility that can change the behaviour of running samba daemons.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBrpcclient&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBrpcclient\fR(1)
++.RS 4
+ rpcclient
+ is a utility that can be used to execute RPC commands on remote CIFS servers.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBpdbedit&#9619;fR(8)
+-&#8962;RS 4
++.RE
++.PP
++\fBpdbedit\fR(8)
++.RS 4
+ The
+ pdbedit
+ command can be used to maintain the local user database on a samba server.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBfindsmb&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBfindsmb\fR(1)
++.RS 4
+ The
+ findsmb
+ command can be used to find SMB servers on the local network.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBnet&#9619;fR(8)
+-&#8962;RS 4
++.RE
++.PP
++\fBnet\fR(8)
++.RS 4
+ The
+ net
+ command is supposed to work similar to the DOS/Windows NET.EXE command.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBswat&#9619;fR(8)
+-&#8962;RS 4
++.RE
++.PP
++\fBswat\fR(8)
++.RS 4
+ swat
+ is a web-based interface to configuring
+-&#9619;fIsmb.conf&#9619;fR.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBwinbindd&#9619;fR(8)
+-&#8962;RS 4
++\fIsmb.conf\fR.
++.RE
++.PP
++\fBwinbindd\fR(8)
++.RS 4
+ winbindd
+ is a daemon that is used for integrating authentication and the user database into unix.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBwbinfo&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBwbinfo\fR(1)
++.RS 4
+ wbinfo
+ is a utility that retrieves and stores information related to winbind.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBprofiles&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBprofiles\fR(1)
++.RS 4
+ profiles
+ is a command-line utility that can be used to replace all occurences of a certain SID with another SID.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBlog2pcap&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBlog2pcap\fR(1)
++.RS 4
+ log2pcap
+ is a utility for generating pcap trace files from Samba log files.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBvfstest&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBvfstest\fR(1)
++.RS 4
+ vfstest
+ is a utility that can be used to test vfs modules.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBntlm_auth&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBntlm_auth\fR(1)
++.RS 4
+ ntlm_auth
+ is a helper-utility for external programs wanting to do NTLM-authentication.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbmount&#9619;fR(8), &#9619;fBsmbumount&#9619;fR(8), &#9619;fBsmbmnt&#9619;fR(8)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbmount\fR(8), \fBsmbumount\fR(8), \fBsmbmnt\fR(8)
++.RS 4
+ smbmount,smbumount
+ and
+ smbmnt
+ are commands that can be used to mount CIFS/SMB shares on Linux.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBsmbcquotas&#9619;fR(1)
+-&#8962;RS 4
++.RE
++.PP
++\fBsmbcquotas\fR(1)
++.RS 4
+ smbcquotas
+ is a tool that can set remote QUOTA's on server with NTFS 5.
+-&#8962;RE
+-&#8962;SH "COMPONENTS"
+-&#8962;PP
++.RE
++.SH "COMPONENTS"
++.PP
+ The Samba suite is made up of several components. Each component is described in a separate manual page. It is strongly recommended that you read the documentation that comes with Samba and the manual pages of those components that you use. If the manual pages and documents aren't clear enough then please visit
+ http://devel.samba.org
+ for information on how to file a bug report or submit a patch.
+-&#8962;PP
++.PP
+ If you require help, visit the Samba webpage at
+ http://www.samba.org/
+ and explore the many option available to you.
+-&#8962;SH "AVAILABILITY"
+-&#8962;PP
++.SH "AVAILABILITY"
++.PP
+ The Samba software suite is licensed under the GNU Public License(GPL). A copy of that license should have come with the package in the file COPYING. You are encouraged to distribute copies of the Samba suite, but please obey the terms of this license.
+-&#8962;PP
++.PP
+ The latest version of the Samba suite can be obtained via anonymous ftp from samba.org in the directory pub/samba/. It is also available on several mirror sites worldwide.
+-&#8962;PP
++.PP
+ You may also find useful information about Samba on the newsgroup
+ comp.protocol.smb
+ and the Samba mailing list. Details on how to join the mailing list are given in the README file that comes with Samba.
+-&#8962;PP
++.PP
+ If you have access to a WWW viewer (such as Mozilla or Konqueror) then you will also find lots of useful information, including back issues of the Samba mailing list, at
+ http://lists.samba.org.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "CONTRIBUTIONS"
+-&#8962;PP
++.SH "CONTRIBUTIONS"
++.PP
+ If you wish to contribute to the Samba project, then I suggest you join the Samba mailing list at
+ http://lists.samba.org.
+-&#8962;PP
++.PP
+ If you have patches to submit, visit
+ http://devel.samba.org/
+ for information on how to do it properly. We prefer patches in
+ diff -u
+ format.
+-&#8962;SH "CONTRIBUTORS"
+-&#8962;PP
++.SH "CONTRIBUTORS"
++.PP
+ Contributors to the project are now too numerous to mention here but all deserve the thanks of all Samba users. To see a full list, look at the
+-&#9619;fIchange-log&#9619;fR
++\fIchange-log\fR
+ in the source package for the pre-CVS changes and at
+ http://cvs.samba.org/
+ for the contributors to Samba post-CVS. CVS is the Open Source source code control system used by the Samba Team to develop Samba. The project would have been unmanageable without it.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smb.conf.5
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smb.conf.5
++++ samba-3.2.0~pre2/docs/manpages/smb.conf.5
+@@ -18,93 +18,93 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMB.CONF" 5 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smb.conf - The configuration file for the Samba suite
+-&#8962;SH "SYNOPSIS"
+-&#8962;PP
++.SH "SYNOPSIS"
++.PP
+ The
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file is a configuration file for the Samba suite.
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ contains runtime configuration information for the Samba programs. The
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file is designed to be configured and administered by the
+-&#9619;fBswat&#9619;fR(8)
++\fBswat\fR(8)
+ program. The complete description of the file format and possible parameters held within are here for reference purposes.
+-&#8962;SH "FILE FORMAT"
+-&#8962;PP
++.SH "FILE FORMAT"
++.PP
+ The file consists of sections and parameters. A section begins with the name of the section in square brackets and continues until the next section begins. Sections contain parameters of the form:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-&#9619;fIname&#9619;fR = &#9619;fIvalue &#9619;fR
++\fIname\fR = \fIvalue \fR
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ The file is line-based - that is, each newline-terminated line represents either a comment, a section name or a parameter.
+-&#8962;PP
++.PP
+ Section and parameter names are not case sensitive.
+-&#8962;PP
++.PP
+ Only the first equals sign in a parameter is significant. Whitespace before or after the first equals sign is discarded. Leading, trailing and internal whitespace in section and parameter names is irrelevant. Leading and trailing whitespace in a parameter value is discarded. Internal whitespace within a parameter value is retained verbatim.
+-&#8962;PP
++.PP
+ Any line beginning with a semicolon (\fB;\fR) or a hash (\fB#\fR) character is ignored, as are lines containing only whitespace.
+-&#8962;PP
++.PP
+ Any line ending in a
+ \fB\\\fR
+ is continued on the next line in the customary UNIX fashion.
+-&#8962;PP
++.PP
+ The values following the equals sign in parameters are all either a string (no quotes needed) or a boolean, which may be given as yes/no, 0/1 or true/false. Case is not significant in boolean values, but is preserved in string values. Some items such as create masks are numeric.
+-&#8962;SH "SECTION DESCRIPTIONS"
+-&#8962;PP
++.SH "SECTION DESCRIPTIONS"
++.PP
+ Each section in the configuration file (except for the [global] section) describes a shared resource (known as a
+ \fBshare\fR). The section name is the name of the shared resource and the parameters within the section define the shares attributes.
+-&#8962;PP
++.PP
+ There are three special sections, [global], [homes] and [printers], which are described under
+ \fBspecial sections\fR. The following notes apply to ordinary section descriptions.
+-&#8962;PP
++.PP
+ A share consists of a directory to which access is being given plus a description of the access rights which are granted to the user of the service. Some housekeeping options are also specifiable.
+-&#8962;PP
++.PP
+ Sections are either file share services (used by the client as an extension of their native file systems) or printable services (used by the client to access print services on the host running the server).
+-&#8962;PP
++.PP
+ Sections may be designated
+ \fBguest\fR
+ services, in which case no password is required to access them. A specified UNIX
+ \fBguest account\fR
+ is used to define access privileges in this case.
+-&#8962;PP
++.PP
+ Sections other than guest services will require a password to access them. The client provides the username. As older clients only provide passwords and not usernames, you may specify a list of usernames to check against the password using the
+ user =
+ option in the share definition. For modern clients such as Windows 95/98/ME/NT/2000, this should not be necessary.
+-&#8962;PP
++.PP
+ The access rights granted by the server are masked by the access rights granted to the specified or guest UNIX user by the host system. The server does not grant more access than the host system grants.
+-&#8962;PP
++.PP
+ The following sample section defines a file space share. The user has write access to the path
+-&#9619;fI/home/bar&#9619;fR. The share is accessed via the share name
++\fI/home/bar\fR. The share is accessed via the share name
+ foo:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-	&#9619;fI[foo]&#9619;fR
++	\fI[foo]\fR
+ 	path = /home/bar
+ 	read only = no
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ The following sample section defines a printable share. The share is read-only, but printable. That is, the only write access permitted is via calls to open, write to and close a spool file. The
+ \fBguest ok\fR
+ parameter means access will be permitted as the default guest user (specified elsewhere):
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-	&#9619;fI[aprinter]&#9619;fR
++	\fI[aprinter]\fR
+ 	path = /usr/spool/public
+ 	read only = yes
+ 	printable = yes
+@@ -112,70 +112,70 @@
+ 
+ .fi
+ 
+-&#8962;SH "SPECIAL SECTIONS"
+-&#8962;SS "The [global] section"
+-&#8962;PP
++.SH "SPECIAL SECTIONS"
++.SS "The [global] section"
++.PP
+ Parameters in this section apply to the server as a whole, or are defaults for sections that do not specifically define certain items. See the notes under PARAMETERS for more information.
+-&#8962;SS "The [homes] section"
+-&#8962;PP
++.SS "The [homes] section"
++.PP
+ If a section called [homes] is included in the configuration file, services connecting clients to their home directories can be created on the fly by the server.
+-&#8962;PP
++.PP
+ When the connection request is made, the existing sections are scanned. If a match is found, it is used. If no match is found, the requested section name is treated as a username and looked up in the local password file. If the name exists and the correct password has been given, a share is created by cloning the [homes] section.
+-&#8962;PP
++.PP
+ Some modifications are then made to the newly created share:
+ \(bu
+ The share name is changed from homes to the located username.
+ .TP
+ \(bu
+ If no path was given, the path is set to the user's home directory.
+-&#8962;PP
++.PP
+ If you decide to use a
+ \fBpath =\fR
+ line in your [homes] section, it may be useful to use the %S macro. For example:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-&#9619;fBpath = /data/pchome/%S&#9619;fR
++\fBpath = /data/pchome/%S\fR
+ 
+ .fi
+ is useful if you have different home directories for your PCs than for UNIX access.
+-&#8962;PP
++.PP
+ This is a fast and simple way to give a large number of clients access to their home directories with a minimum of fuss.
+-&#8962;PP
++.PP
+ A similar process occurs if the requested section name is
+ \fBhomes\fR, except that the share name is not changed to that of the requesting user. This method of using the [homes] section works well if different users share a client PC.
+-&#8962;PP
++.PP
+ The [homes] section can specify all the parameters a normal service section can specify, though some make more sense than others. The following is a typical and suitable [homes] section:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-&#9619;fI[homes]&#9619;fR
++\fI[homes]\fR
+ read only = no
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ An important point is that if guest access is specified in the [homes] section, all home directories will be visible to all clients
+ \fBwithout a password\fR. In the very unlikely event that this is actually desirable, it is wise to also specify
+ \fBread only access\fR.
+-&#8962;PP
++.PP
+ The
+ \fBbrowseable\fR
+ flag for auto home directories will be inherited from the global browseable flag, not the [homes] browseable flag. This is useful as it means setting
+ \fBbrowseable = no\fR
+ in the [homes] section will hide the [homes] share but make any auto home directories visible.
+-&#8962;SS "The [printers] section"
+-&#8962;PP
++.SS "The [printers] section"
++.PP
+ This section works like [homes], but for printers.
+-&#8962;PP
++.PP
+ If a [printers] section occurs in the configuration file, users are able to connect to any printer specified in the local host's printcap file.
+-&#8962;PP
++.PP
+ When a connection request is made, the existing sections are scanned. If a match is found, it is used. If no match is found, but a [homes] section exists, it is used as described above. Otherwise, the requested section name is treated as a printer name and the appropriate printcap file is scanned to see if the requested section name is a valid printer share name. If a match is found, a new printer share is created by cloning the [printers] section.
+-&#8962;PP
++.PP
+ A few modifications are then made to the newly created share:
+ \(bu
+ The share name is set to the located printer name
+@@ -185,26 +185,26 @@
+ .TP
+ \(bu
+ If the share does not permit guest access and no username was given, the username is set to the located printer name.
+-&#8962;PP
++.PP
+ The [printers] service MUST be printable - if you specify otherwise, the server will refuse to load the configuration file.
+-&#8962;PP
++.PP
+ Typically the path specified is that of a world-writeable spool directory with the sticky bit set on it. A typical [printers] entry looks like this:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-&#9619;fI[printers]&#9619;fR
++\fI[printers]\fR
+ path = /usr/spool/public
+ guest ok = yes
+ printable = yes
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ All aliases given for a printer in the printcap file are legitimate printer names as far as the server is concerned. If your printing subsystem doesn't work like that, you will have to set up a pseudo-printcap. This is a file consisting of one or more lines like this:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -212,68 +212,68 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ Each alias should be an acceptable printer name for your printing subsystem. In the [global] section, specify the new file as your printcap. The server will only recognize names found in your pseudo-printcap, which of course can contain whatever aliases you like. The same technique could be used simply to limit access to a subset of your local printers.
+-&#8962;PP
++.PP
+ 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 (|).
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ On SYSV systems which use lpstat to determine what printers are defined on the system you may be able to use
+ printcap name = lpstat
+ to automatically obtain a list of printers. See the
+ printcap name
+ option for more details.
+ 
+-&#8962;SH "USERSHARES"
+-&#8962;PP
++.SH "USERSHARES"
++.PP
+ Starting with Samba version 3.0.23 the capability for non-root users to add, modify, and delete their own share definitions has been added. This capability is called
+ \fBusershares\fR
+ and is controlled by a set of parameters in the [global] section of the smb.conf. The relevant parameters are :
+-&#8962;PP
++.PP
+ usershare allow guests
+-&#8962;RS 4
++.RS 4
+ Controls if usershares can permit guest access.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ usershare max shares
+-&#8962;RS 4
++.RS 4
+ Maximum number of user defined shares allowed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ usershare owner only
+-&#8962;RS 4
++.RS 4
+ If set only directories owned by the sharing user can be shared.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ usershare path
+-&#8962;RS 4
++.RS 4
+ Points to the directory containing the user defined share definitions. The filesystem permissions on this directory control who can create user defined shares.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ usershare prefix allow list
+-&#8962;RS 4
++.RS 4
+ Comma-separated list of absolute pathnames restricting what directories can be shared. Only directories below the pathnames in this list are permitted.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ usershare prefix deny list
+-&#8962;RS 4
++.RS 4
+ Comma-separated list of absolute pathnames restricting what directories can be shared. Directories below the pathnames in this list are prohibited.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ usershare template share
+-&#8962;RS 4
++.RS 4
+ Names a pre-existing share used as a template for creating new usershares. All other share parameters not specified in the user defined share definition are copied from this named share.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ To allow members of the UNIX group
+ foo
+ to create user defined shares, create the directory to contain the share definitions as follows:
+-&#8962;PP
++.PP
+ Become root:
+ 
+ .nf
+@@ -283,10 +283,10 @@
+ chmod 1770 /usr/local/samba/lib/usershares
+ 
+ .fi
+-&#8962;PP
++.PP
+ Then add the parameters
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -295,31 +295,31 @@
+ 
+ .fi
+ to the global section of your
+-&#9619;fIsmb.conf&#9619;fR. Members of the group foo may then manipulate the user defined shares using the following commands.
+-&#8962;PP
++\fIsmb.conf\fR. Members of the group foo may then manipulate the user defined shares using the following commands.
++.PP
+ net usershare add sharename path [comment] [acl] [guest_ok=[y|n]]
+-&#8962;RS 4
++.RS 4
+ To create or modify (overwrite) a user defined share.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ net usershare delete sharename
+-&#8962;RS 4
++.RS 4
+ To delete a user defined share.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ net usershare list wildcard-sharename
+-&#8962;RS 4
++.RS 4
+ To list user defined shares.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ net usershare info wildcard-sharename
+-&#8962;RS 4
++.RS 4
+ To print information about user defined shares.
+-&#8962;RE
+-&#8962;SH "PARAMETERS"
+-&#8962;PP
++.RE
++.SH "PARAMETERS"
++.PP
+ Parameters define the specific attributes of sections.
+-&#8962;PP
++.PP
+ Some parameters are specific to the [global] section (e.g.,
+ \fBsecurity\fR). Some parameters are usable in all sections (e.g.,
+ \fBcreate mask\fR). All others are permissible only in normal sections. For the purposes of the following descriptions the [homes] and [printers] sections will be considered normal. The letter
+@@ -329,162 +329,162 @@
+ indicates that a parameter can be specified in a service specific section. All
+ \fBS\fR
+ parameters can also be specified in the [global] section - in which case they will define the default behavior for all services.
+-&#8962;PP
++.PP
+ Parameters are arranged here in alphabetical order - this may not create best bedfellows, but at least you can find them! Where there are synonyms, the preferred synonym is described, others refer to the preferred synonym.
+-&#8962;SH "VARIABLE SUBSTITUTIONS"
+-&#8962;PP
++.SH "VARIABLE SUBSTITUTIONS"
++.PP
+ Many of the strings that are settable in the config file can take substitutions. For example the option
+ \fBpath = /tmp/%u\fR
+ is interpreted as
+ \fBpath = /tmp/john\fR
+ if the user connected with the username john.
+-&#8962;PP
++.PP
+ These substitutions are mostly noted in the descriptions below, but there are some general substitutions which apply whenever they might be relevant. These are:
+-&#8962;PP
++.PP
+ %U
+-&#8962;RS 4
++.RS 4
+ session username (the username that the client wanted, not necessarily the same as the one they got).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %G
+-&#8962;RS 4
++.RS 4
+ primary group name of %U.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %h
+-&#8962;RS 4
++.RS 4
+ the Internet hostname that Samba is running on.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %m
+-&#8962;RS 4
++.RS 4
+ the NetBIOS name of the client machine (very useful).
+-&#8962;sp
++.sp
+ This parameter is not available when Samba listens on port 445, as clients no longer send this information. If you use this macro in an include statement on a domain that has a Samba domain controller be sure to set in the [global] section
+-&#9619;fIsmb ports = 139&#9619;fR. This will cause Samba to not listen on port 445 and will permit include functionality to function as it did with Samba 2.x.
+-&#8962;RE
+-&#8962;PP
++\fIsmb ports = 139\fR. This will cause Samba to not listen on port 445 and will permit include functionality to function as it did with Samba 2.x.
++.RE
++.PP
+ %L
+-&#8962;RS 4
++.RS 4
+ the NetBIOS name of the server. This allows you to change your config based on what the client calls you. Your server can have a
+ \fBdual personality\fR.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %M
+-&#8962;RS 4
++.RS 4
+ the Internet name of the client machine.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %R
+-&#8962;RS 4
++.RS 4
+ the selected protocol level after protocol negotiation. It can be one of CORE, COREPLUS, LANMAN1, LANMAN2 or NT1.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %d
+-&#8962;RS 4
++.RS 4
+ the process id of the current server process.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %a
+-&#8962;RS 4
+-the architecture of the remote machine. It currently recognizes Samba (&#9619;fBSamba&#9619;fR), the Linux CIFS file system (&#9619;fBCIFSFS&#9619;fR), OS/2, (&#9619;fBOS2&#9619;fR), Windows for Workgroups (&#9619;fBWfWg&#9619;fR), Windows 9x/ME (&#9619;fBWin95&#9619;fR), Windows NT (&#9619;fBWinNT&#9619;fR), Windows 2000 (&#9619;fBWin2K&#9619;fR), Windows XP (&#9619;fBWinXP&#9619;fR), and Windows 2003 (&#9619;fBWin2K3&#9619;fR). Anything else will be known as
+-&#9619;fBUNKNOWN&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++.RS 4
++the architecture of the remote machine. It currently recognizes Samba (\fBSamba\fR), the Linux CIFS file system (\fBCIFSFS\fR), OS/2, (\fBOS2\fR), Windows for Workgroups (\fBWfWg\fR), Windows 9x/ME (\fBWin95\fR), Windows NT (\fBWinNT\fR), Windows 2000 (\fBWin2K\fR), Windows XP (\fBWinXP\fR), and Windows 2003 (\fBWin2K3\fR). Anything else will be known as
++\fBUNKNOWN\fR.
++.RE
++.PP
+ %I
+-&#8962;RS 4
++.RS 4
+ the IP address of the client machine.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %i
+-&#8962;RS 4
++.RS 4
+ the local IP address to which a client connected.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %T
+-&#8962;RS 4
++.RS 4
+ the current date and time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %D
+-&#8962;RS 4
++.RS 4
+ name of the domain or workgroup of the current user.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %w
+-&#8962;RS 4
++.RS 4
+ the winbind separator.
+-&#8962;RE
+-&#8962;PP
+-%$(&#9619;fIenvvar&#9619;fR)
+-&#8962;RS 4
++.RE
++.PP
++%$(\fIenvvar\fR)
++.RS 4
+ the value of the environment variable
+-&#9619;fIenvar&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fIenvar\fR.
++.RE
++.PP
+ The following substitutes apply only to some configuration options (only those that are used when a connection has been established):
+-&#8962;PP
++.PP
+ %S
+-&#8962;RS 4
++.RS 4
+ the name of the current service, if any.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %P
+-&#8962;RS 4
++.RS 4
+ the root directory of the current service, if any.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %u
+-&#8962;RS 4
++.RS 4
+ username of the current service, if any.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %g
+-&#8962;RS 4
++.RS 4
+ primary group name of %u.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %H
+-&#8962;RS 4
++.RS 4
+ the home directory of the user given by %u.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %N
+-&#8962;RS 4
++.RS 4
+ the name of your NIS home directory server. This is obtained from your NIS auto.map entry. If you have not compiled Samba with the
+ \fB--with-automount\fR
+ option, this value will be the same as %L.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ %p
+-&#8962;RS 4
++.RS 4
+ the path of the service's home directory, obtained from your NIS auto.map entry. The NIS auto.map entry is split up as
+ %N:%p.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ There are some quite creative things that can be done with these substitutions and other
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ options.
+-&#8962;SH "NAME MANGLING"
+-&#8962;PP
++.SH "NAME MANGLING"
++.PP
+ Samba supports
+ name mangling
+ so that DOS and Windows clients can use files that don't conform to the 8.3 format. It can also be set to adjust the case of 8.3 format filenames.
+-&#8962;PP
++.PP
+ There are several options that control the way mangling is performed, and they are grouped here rather than listed separately. For the defaults look at the output of the testparm program.
+-&#8962;PP
++.PP
+ These options can be set separately for each service.
+-&#8962;PP
++.PP
+ The options are:
+-&#8962;PP
++.PP
+ case sensitive = yes/no/auto
+-&#8962;RS 4
++.RS 4
+ controls whether filenames are case sensitive. If they aren't, Samba must do a filename search and match on passed names. The default setting of auto allows clients that support case sensitive filenames (Linux CIFSVFS and smbclient 3.0.5 and above currently) to tell the Samba server on a per-packet basis that they wish to access the file system in a case-sensitive manner (to support UNIX case sensitive semantics). No Windows or DOS system supports case-sensitive filename so setting this option to auto is that same as setting it to no for them. Default
+ \fBauto\fR.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ default case = upper/lower
+-&#8962;RS 4
++.RS 4
+ controls what the default case is for new filenames (ie. files that don't currently exist in the filesystem). Default
+ \fBlower\fR. IMPORTANT NOTE: This option will be used to modify the case of
+ \fBall\fR
+@@ -492,67 +492,67 @@
+ case sensitive = yes,
+ preserve case = No,
+ short preserve case = No are set. This change is needed as part of the optimisations for directories containing large numbers of files.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ preserve case = yes/no
+-&#8962;RS 4
++.RS 4
+ controls whether new files (ie. files that don't currently exist in the filesystem) are created with the case that the client passes, or if they are forced to be the
+ default
+ case. Default
+ \fByes\fR.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ short preserve case = yes/no
+-&#8962;RS 4
++.RS 4
+ controls if new files (ie. files that don't currently exist in the filesystem) which conform to 8.3 syntax, that is all in upper case and of suitable length, are created upper case, or if they are forced to be the
+ default
+ case. This option can be used with
+ preserve case = yes
+ to permit long filenames to retain their case, while short names are lowercased. Default
+ \fByes\fR.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ By default, Samba 3.0 has the same semantics as a Windows NT server, in that it is case insensitive but case preserving. As a special case for directories with large numbers of files, if the case options are set as follows, "case sensitive = yes", "case preserve = no", "short preserve case = no" then the "default case" option will be applied and will modify all filenames sent from the client when accessing this share.
+-&#8962;SH "NOTE ABOUT USERNAME/PASSWORD VALIDATION"
+-&#8962;PP
++.SH "NOTE ABOUT USERNAME/PASSWORD VALIDATION"
++.PP
+ There are a number of ways in which a user can connect to a service. The server uses the following steps in determining if it will allow a connection to a specified service. If all the steps fail, the connection request is rejected. However, if one of the steps succeeds, the following steps are not checked.
+-&#8962;PP
++.PP
+ If the service is marked
+ \fBguest only = yes\fR
+ and the server is running with share-level security (\fBsecurity = share\fR, steps 1 to 5 are skipped.
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 1.&#9619;h'+02'If the client has passed a username/password pair and that username/password pair is validated by the UNIX system's password programs, the connection is made as that username. This includes the
+-\\\\server\\service%&#9619;fIusername&#9619;fR
++.sp
++.RS 4
++\h'-04' 1.\h'+02'If the client has passed a username/password pair and that username/password pair is validated by the UNIX system's password programs, the connection is made as that username. This includes the
++\\\\server\\service%\fIusername\fR
+ method of passing a username.
+-&#8962;RE
++.RE
+ 
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 2.&#9619;h'+02'If the client has previously registered a username with the system and now supplies a correct password for that username, the connection is allowed.
+-&#8962;RE
++.sp
++.RS 4
++\h'-04' 2.\h'+02'If the client has previously registered a username with the system and now supplies a correct password for that username, the connection is allowed.
++.RE
+ 
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 3.&#9619;h'+02'The client's NetBIOS name and any previously used usernames are checked against the supplied password. If they match, the connection is allowed as the corresponding user.
+-&#8962;RE
++.sp
++.RS 4
++\h'-04' 3.\h'+02'The client's NetBIOS name and any previously used usernames are checked against the supplied password. If they match, the connection is allowed as the corresponding user.
++.RE
+ 
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 4.&#9619;h'+02'If the client has previously validated a username/password pair with the server and the client has passed the validation token, that username is used.
+-&#8962;RE
++.sp
++.RS 4
++\h'-04' 4.\h'+02'If the client has previously validated a username/password pair with the server and the client has passed the validation token, that username is used.
++.RE
+ 
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 5.&#9619;h'+02'If a
++.sp
++.RS 4
++\h'-04' 5.\h'+02'If a
+ user =
+ field is given in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file for the service and the client has supplied a password, and that password matches (according to the UNIX system's password checking) with one of the usernames from the
+ user =
+ field, the connection is made as the username in the
+@@ -561,53 +561,53 @@
+ user =
+ list begins with a
+ @, that name expands to a list of names in the group of the same name.
+-&#8962;RE
++.RE
+ 
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 6.&#9619;h'+02'If the service is a guest service, a connection is made as the username given in the
++.sp
++.RS 4
++\h'-04' 6.\h'+02'If the service is a guest service, a connection is made as the username given in the
+ guest account =
+ for the service, irrespective of the supplied password.
+-&#8962;RE
++.RE
+ 
+-&#8962;SH "REGISTRY-BASED CONFIGURATION"
+-&#8962;PP
++.SH "REGISTRY-BASED CONFIGURATION"
++.PP
+ Starting with Samba version 3.2.0, the capability to store Samba configuration in the registry is available. There are two levels of registry configuration:
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 1.&#9619;h'+02'Share definitions stored in registry are used. This is triggered by setting the global parameter
+-&#9619;fIregistry shares&#9619;fR
++.sp
++.RS 4
++\h'-04' 1.\h'+02'Share definitions stored in registry are used. This is triggered by setting the global parameter
++\fIregistry shares\fR
+ to
+ \fByes\fR
+ in
+ \fBsmb.conf\fR.
+-&#8962;sp
++.sp
+ Note: Shares defined in
+ \fBsmb.conf\fR
+ always take priority over shares of the same name defined in registry.
+-&#8962;RE
++.RE
+ 
+ 
+-&#8962;sp
+-&#8962;RS 4
+-&#9619;h'&#9617;04' 2.&#9619;h'+02'Global
++.sp
++.RS 4
++\h'-04' 2.\h'+02'Global
+ \fBsmb.conf\fR
+ options stored in registry are used. This is triggered by the parameter
+ config backend = registry in the [global] section of
+ \fBsmb.conf\fR. This removes everything that has been read from config files to this point and reads the content of the global configuration section from the registry. Activation of global registry options automatically activates registry shares. In this case, no share definitions from smb.conf are read: This is a registry only configuration with the advantage that share definitions are not read in a bulk at startup time but on demand when a share is accessed.
+-&#8962;RE
++.RE
+ 
+-&#8962;PP
++.PP
+ Caveat: To make registry-based configurations foolproof at least to a certain extent, the use of
+-&#9619;fIlock directory&#9619;fR,
+-&#9619;fIconfig backend&#9619;fR, and
+-&#9619;fIinclude&#9619;fR
++\fIlock directory\fR,
++\fIconfig backend\fR, and
++\fIinclude\fR
+ inside the registry configuration has been disabled. Especially, by changing the
+-&#9619;fIlock directory&#9619;fR
++\fIlock directory\fR
+ inside the registry configuration, one would create a broken setup where the daemons do not see the configuration they loaded once it is active.
+-&#8962;PP
++.PP
+ The registry configuration can be accessed with tools like
+ \fBregedit\fR
+ or
+@@ -616,40 +616,40 @@
+ \fBHKLM\Software\Samba\smbconf\fR. More conveniently, the
+ \fBconf\fR
+ subcommand of the
+-&#9619;fBnet&#9619;fR(8)
++\fBnet\fR(8)
+ utility offers a dedicated interface to read and write the registry based configuration locally, i.e. directly accessing the database file, circumventing the server.
+-&#8962;SH "EXPLANATION OF EACH PARAMETER"
+-&#8962;PP
++.SH "EXPLANATION OF EACH PARAMETER"
++.PP
+ abort shutdown script (G)
+-&#8962;RS 4
++.RS 4
+ This a full path name to a script called by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ that should stop a shutdown procedure issued by the
+ shutdown script.
+-&#8962;sp
++.sp
+ If the connected user posseses the
+-&#9619;fBSeRemoteShutdownPrivilege&#9619;fR, right, this command will be run as user.
+-&#8962;sp
++\fBSeRemoteShutdownPrivilege\fR, right, this command will be run as user.
++.sp
+ Default:
+-\fB&#9619;fIabort shutdown script&#9619;fR = "" \fR
+-&#8962;sp
++\fB\fIabort shutdown script\fR = "" \fR
++.sp
+ Example:
+-\fB&#9619;fIabort shutdown script&#9619;fR = /sbin/shutdown -c \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIabort shutdown script\fR = /sbin/shutdown -c \fR
++.RE
++.PP
+ acl check permissions (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls what
+-&#9619;fBsmbd&#9619;fR(8)does on receiving a protocol request of "open for delete" from a Windows client. If a Windows client doesn't have permissions to delete a file then they expect this to be denied at open time. POSIX systems normally only detect restrictions on delete by actually attempting to delete the file or directory. As Windows clients can (and do) "back out" a delete request by unsetting the "delete on close" bit Samba cannot delete the file immediately on "open for delete" request as we cannot restore such a deleted file. With this parameter set to true (the default) then smbd checks the file system permissions directly on "open for delete" and denies the request without actually deleting the file if the file system permissions would seem to deny it. This is not perfect, as it's possible a user could have deleted a file without Samba being able to check the permissions correctly, but it is close enough to Windows semantics for mostly correct behaviour. Samba will correctly check POSIX ACL semantics in this case.
+-&#8962;sp
++\fBsmbd\fR(8)does on receiving a protocol request of "open for delete" from a Windows client. If a Windows client doesn't have permissions to delete a file then they expect this to be denied at open time. POSIX systems normally only detect restrictions on delete by actually attempting to delete the file or directory. As Windows clients can (and do) "back out" a delete request by unsetting the "delete on close" bit Samba cannot delete the file immediately on "open for delete" request as we cannot restore such a deleted file. With this parameter set to true (the default) then smbd checks the file system permissions directly on "open for delete" and denies the request without actually deleting the file if the file system permissions would seem to deny it. This is not perfect, as it's possible a user could have deleted a file without Samba being able to check the permissions correctly, but it is close enough to Windows semantics for mostly correct behaviour. Samba will correctly check POSIX ACL semantics in this case.
++.sp
+ If this parameter is set to "false" Samba doesn't check permissions on "open for delete" and allows the open. If the user doesn't have permission to delete the file this will only be discovered at close time, which is too late for the Windows user tools to display an error message to the user. The symptom of this is files that appear to have been deleted "magically" re-appearing on a Windows explorer refersh. This is an extremely advanced protocol option which should not need to be changed. This parameter was introduced in its final form in 3.0.21, an earlier version with slightly different semantics was introduced in 3.0.20. That older version is not documented here.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIacl check permissions&#9619;fR = True \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIacl check permissions\fR = True \fR
++.RE
++.PP
+ acl compatibility (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies what OS ACL semantics should be compatible with. Possible values are
+ \fBwinnt\fR
+ for Windows NT 4,
+@@ -657,225 +657,225 @@
+ for Windows 2000 and above and
+ \fBauto\fR. If you specify
+ \fBauto\fR, the value for this parameter will be based upon the version of the client. There should be no reason to change this parameter from the default.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIacl compatibility&#9619;fR = Auto \fR
+-&#8962;sp
++\fB\fIacl compatibility\fR = Auto \fR
++.sp
+ Example:
+-\fB&#9619;fIacl compatibility&#9619;fR = win2k \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIacl compatibility\fR = win2k \fR
++.RE
++.PP
+ acl group control (S)
+-&#8962;RS 4
++.RS 4
+ In a POSIX filesystem, only the owner of a file or directory and the superuser can modify the permissions and ACLs on a file. If this parameter is set, then Samba overrides this restriction, and also allows the
+ \fBprimary group owner\fR
+ of a file or directory to modify the permissions and ACLs on that file.
+-&#8962;sp
++.sp
+ On a Windows server, groups may be the owner of a file or directory - thus allowing anyone in that group to modify the permissions on it. This allows the delegation of security controls on a point in the filesystem to the group owner of a directory and anything below it also owned by that group. This means there are multiple people with permissions to modify ACLs on a file or directory, easing managability.
+-&#8962;sp
++.sp
+ This parameter allows Samba to also permit delegation of the control over a point in the exported directory hierarchy in much the same was as Windows. This allows all members of a UNIX group to control the permissions on a file or directory they have group ownership on.
+-&#8962;sp
++.sp
+ This parameter is best used with the
+ inherit owner option and also on on a share containing directories with the UNIX
+ \fBsetgid bit\fR
+ bit set on them, which causes new files and directories created within it to inherit the group ownership from the containing directory.
+-&#8962;sp
++.sp
+ This is parameter has been marked deprecated in Samba 3.0.23. The same behavior is now implemented by the
+-&#9619;fIdos filemode&#9619;fR
++\fIdos filemode\fR
+ option.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIacl group control&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIacl group control\fR = no \fR
++.RE
++.PP
+ acl map full control (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether
+-&#9619;fBsmbd&#9619;fR(8)maps a POSIX ACE entry of "rwx" (read/write/execute), the maximum allowed POSIX permission set, into a Windows ACL of "FULL CONTROL". If this parameter is set to true any POSIX ACE entry of "rwx" will be returned in a Windows ACL as "FULL CONTROL", is this parameter is set to false any POSIX ACE entry of "rwx" will be returned as the specific Windows ACL bits representing read, write and execute.
+-&#8962;sp
++\fBsmbd\fR(8)maps a POSIX ACE entry of "rwx" (read/write/execute), the maximum allowed POSIX permission set, into a Windows ACL of "FULL CONTROL". If this parameter is set to true any POSIX ACE entry of "rwx" will be returned in a Windows ACL as "FULL CONTROL", is this parameter is set to false any POSIX ACE entry of "rwx" will be returned as the specific Windows ACL bits representing read, write and execute.
++.sp
+ Default:
+-\fB&#9619;fIacl map full control&#9619;fR = True \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIacl map full control\fR = True \fR
++.RE
++.PP
+ add group script (G)
+-&#8962;RS 4
++.RS 4
+ This is the full pathname to a script that will be run
+ \fBAS ROOT\fR
+ by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when a new group is requested. It will expand any
+-&#9619;fI%g&#9619;fR
++\fI%g\fR
+ to the group name passed. This script is only useful for installations using the Windows NT domain administration tools. The script is free to create a group with an arbitrary name to circumvent unix group name restrictions. In that case the script must print the numeric gid of the created group on stdout.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd group script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd group script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd group script&#9619;fR = /usr/sbin/groupadd %g \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd group script\fR = /usr/sbin/groupadd %g \fR
++.RE
++.PP
+ add machine script (G)
+-&#8962;RS 4
++.RS 4
+ This is the full pathname to a script that will be run by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when a machine is added to Samba's domain and a Unix account matching the machine's name appended with a "$" does not already exist.
+-&#8962;sp
++.sp
+ This option is very similar to the
+ add user script, and likewise uses the %u substitution for the account name. Do not use the %m substitution.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd machine script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd machine script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd machine script&#9619;fR = /usr/sbin/adduser -n -g machines -c Machine -d /var/lib/nobody -s /bin/false %u \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd machine script\fR = /usr/sbin/adduser -n -g machines -c Machine -d /var/lib/nobody -s /bin/false %u \fR
++.RE
++.PP
+ add port command (G)
+-&#8962;RS 4
++.RS 4
+ Samba 3.0.23 introduces support for adding printer ports remotely using the Windows "Add Standard TCP/IP Port Wizard". This option defines an external program to be executed when smbd receives a request to add a new Port to the system. he script is passed two parameters:
+ \(bu
+-&#9619;fIport name&#9619;fR
++\fIport name\fR
+ .TP
+ \(bu
+-&#9619;fIdevice URI&#9619;fR
+-&#8962;IP "" 4
++\fIdevice URI\fR
++.IP "" 4
+ The deviceURI is in the for of socket://<hostname>[:<portnumber>] or lpd://<hostname>/<queuename>.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd port command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd port command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd port command&#9619;fR = /etc/samba/scripts/addport.sh \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd port command\fR = /etc/samba/scripts/addport.sh \fR
++.RE
++.PP
+ add printer command (G)
+-&#8962;RS 4
++.RS 4
+ With the introduction of MS-RPC based printing support for Windows NT/2000 clients in Samba 2.2, The MS Add Printer Wizard (APW) icon is now also available in the "Printers..." folder displayed a share listing. The APW allows for printers to be add remotely to a Samba or Windows NT/2000 print server.
+-&#8962;sp
++.sp
+ For a Samba host this means that the printer must be physically added to the underlying printing system. The
+-&#9619;fIadd printer command&#9619;fR
++\fIadd printer command\fR
+ defines a script to be run which will perform the necessary operations for adding the printer to the print system and to add the appropriate service definition to the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file in order that it can be shared by
+-&#9619;fBsmbd&#9619;fR(8).
+-&#8962;sp
++\fBsmbd\fR(8).
++.sp
+ The
+-&#9619;fIaddprinter command&#9619;fR
++\fIaddprinter command\fR
+ is automatically invoked with the following parameter (in order):
+ \(bu
+-&#9619;fIprinter name&#9619;fR
++\fIprinter name\fR
+ .TP
+ \(bu
+-&#9619;fIshare name&#9619;fR
++\fIshare name\fR
+ .TP
+ \(bu
+-&#9619;fIport name&#9619;fR
++\fIport name\fR
+ .TP
+ \(bu
+-&#9619;fIdriver name&#9619;fR
++\fIdriver name\fR
+ .TP
+ \(bu
+-&#9619;fIlocation&#9619;fR
++\fIlocation\fR
+ .TP
+ \(bu
+-&#9619;fIWindows 9x driver location&#9619;fR
+-&#8962;IP "" 4
++\fIWindows 9x driver location\fR
++.IP "" 4
+ All parameters are filled in from the PRINTER_INFO_2 structure sent by the Windows NT/2000 client with one exception. The "Windows 9x driver location" parameter is included for backwards compatibility only. The remaining fields in the structure are generated from answers to the APW questions.
+-&#8962;sp
++.sp
+ Once the
+-&#9619;fIaddprinter command&#9619;fR
++\fIaddprinter command\fR
+ has been executed,
+ smbd
+ will reparse the
+-&#9619;fI smb.conf&#9619;fR
++\fI smb.conf\fR
+ to determine if the share defined by the APW exists. If the sharename is still invalid, then
+ smbd
+ will return an ACCESS_DENIED error to the client.
+-&#8962;sp
++.sp
+ The "add printer command" program can output a single line of text, which Samba will set as the port the new printer is connected to. If this line isn't output, Samba won't reload its printer shares.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd printer command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd printer command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd printer command&#9619;fR = /usr/bin/addprinter \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd printer command\fR = /usr/bin/addprinter \fR
++.RE
++.PP
+ add share command (G)
+-&#8962;RS 4
++.RS 4
+ Samba 2.2.0 introduced the ability to dynamically add and delete shares via the Windows NT 4.0 Server Manager. The
+-&#9619;fIadd share command&#9619;fR
++\fIadd share command\fR
+ is used to define an external program or script which will add a new service definition to
+-&#9619;fIsmb.conf&#9619;fR. In order to successfully execute the
+-&#9619;fIadd share command&#9619;fR,
++\fIsmb.conf\fR. In order to successfully execute the
++\fIadd share command\fR,
+ smbd
+ requires that the administrator be connected using a root account (i.e. uid == 0).
+-&#8962;sp
++.sp
+ If the connected account has
+ SeDiskOperatorPrivilege, scripts defined in
+-&#9619;fIchange share&#9619;fR
++\fIchange share\fR
+ parameter are executed as root.
+-&#8962;sp
++.sp
+ When executed,
+ smbd
+ will automatically invoke the
+-&#9619;fIadd share command&#9619;fR
++\fIadd share command\fR
+ with five parameters.
+ \(bu
+-&#9619;fIconfigFile&#9619;fR
++\fIconfigFile\fR
+ - the location of the global
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+ .TP
+ \(bu
+-&#9619;fIshareName&#9619;fR
++\fIshareName\fR
+ - the name of the new share.
+ .TP
+ \(bu
+-&#9619;fIpathName&#9619;fR
++\fIpathName\fR
+ - path to an **existing** directory on disk.
+ .TP
+ \(bu
+-&#9619;fIcomment&#9619;fR
++\fIcomment\fR
+ - comment string to associate with the new share.
+ .TP
+ \(bu
+-&#9619;fImax connections&#9619;fR
++\fImax connections\fR
+ Number of maximum simultaneous connections to this share.
+-&#8962;IP "" 4
++.IP "" 4
+ This parameter is only used for add file shares. To add printer shares, see the
+ addprinter command.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd share command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd share command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd share command&#9619;fR = /usr/local/bin/addshare \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd share command\fR = /usr/local/bin/addshare \fR
++.RE
++.PP
+ add user script (G)
+-&#8962;RS 4
++.RS 4
+ This is the full pathname to a script that will be run
+ \fBAS ROOT\fR
+ by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ under special circumstances described below.
+-&#8962;sp
++.sp
+ Normally, a Samba server requires that UNIX users are created for all users accessing files on this server. For sites that use Windows NT account databases as their primary user database creating these users and keeping the user list in sync with the Windows NT PDC is an onerous task. This option allows smbd to create the required UNIX users
+ \fBON DEMAND\fR
+ when a user accesses the Samba server.
+-&#8962;sp
++.sp
+ In order to use this option,
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ must
+ \fBNOT\fR
+ be set to
+ security = share and
+ add user script must be set to a full pathname for a script that will create a UNIX user given one argument of
+-&#9619;fI%u&#9619;fR, which expands into the UNIX user name to create.
+-&#8962;sp
++\fI%u\fR, which expands into the UNIX user name to create.
++.sp
+ When the Windows user attempts to access the Samba server, at login (session setup in the SMB protocol) time,
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ contacts the
+ password server and attempts to authenticate the given user with the given password. If the authentication succeeds then
+ smbd
+@@ -884,235 +884,235 @@
+ smbd
+ will call the specified script
+ \fBAS ROOT\fR, expanding any
+-&#9619;fI%u&#9619;fR
++\fI%u\fR
+ argument to be the user name to create.
+-&#8962;sp
++.sp
+ If this script successfully creates the user then
+ smbd
+ will continue on as though the UNIX user already existed. In this way, UNIX users are dynamically created to match existing Windows NT accounts.
+-&#8962;sp
++.sp
+ See also
+ security,
+ password server,
+ delete user script.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd user script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd user script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd user script&#9619;fR = /usr/local/samba/bin/add_user %u \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd user script\fR = /usr/local/samba/bin/add_user %u \fR
++.RE
++.PP
+ add user to group script (G)
+-&#8962;RS 4
++.RS 4
+ Full path to the script that will be called when a user is added to a group using the Windows NT domain administration tools. It will be run by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ \fBAS ROOT\fR. Any
+-&#9619;fI%g&#9619;fR
++\fI%g\fR
+ will be replaced with the group name and any
+-&#9619;fI%u&#9619;fR
++\fI%u\fR
+ will be replaced with the user name.
+-&#8962;sp
++.sp
+ Note that the
+ adduser
+ command used in the example below does not support the used syntax on all systems.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadd user to group script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadd user to group script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadd user to group script&#9619;fR = /usr/sbin/adduser %u %g \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadd user to group script\fR = /usr/sbin/adduser %u %g \fR
++.RE
++.PP
+ admin users (S)
+-&#8962;RS 4
++.RS 4
+ This is a list of users who will be granted administrative privileges on the share. This means that they will do all file operations as the super-user (root).
+-&#8962;sp
++.sp
+ You should use this option very carefully, as any user in this list will be able to do anything they like on the share, irrespective of file permissions.
+-&#8962;sp
++.sp
+ This parameter will not work with the
+ security = share in Samba 3.0. This is by design.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIadmin users&#9619;fR = \fR
+-&#8962;sp
++\fB\fIadmin users\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIadmin users&#9619;fR = jason \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIadmin users\fR = jason \fR
++.RE
++.PP
+ afs share (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether special AFS features are enabled for this share. If enabled, it assumes that the directory exported via the
+-&#9619;fIpath&#9619;fR
++\fIpath\fR
+ parameter is a local AFS import. The special AFS features include the attempt to hand-craft an AFS token if you enabled --with-fake-kaserver in configure.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIafs share&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIafs share\fR = no \fR
++.RE
++.PP
+ afs username map (G)
+-&#8962;RS 4
++.RS 4
+ If you are using the fake kaserver AFS feature, you might want to hand-craft the usernames you are creating tokens for. For example this is necessary if you have users from several domain in your AFS Protection Database. One possible scheme to code users as DOMAIN+User as it is done by winbind with the + as a separator.
+-&#8962;sp
++.sp
+ The mapped user name must contain the cell name to log into, so without setting this parameter there will be no token.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIafs username map&#9619;fR = \fR
+-&#8962;sp
++\fB\fIafs username map\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIafs username map&#9619;fR = %u at afs.samba.org \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIafs username map\fR = %u at afs.samba.org \fR
++.RE
++.PP
+ aio read size (S)
+-&#8962;RS 4
++.RS 4
+ If Samba has been built with asynchronous I/O support and this integer parameter is set to non-zero value, Samba will read from file asynchronously when size of request is bigger than this value. Note that it happens only for non-chained and non-chaining reads and when not using write cache.
+-&#8962;sp
++.sp
+ Current implementation of asynchronous I/O in Samba 3.0 does support only up to 10 outstanding asynchronous requests, read and write combined.
+-&#8962;sp
++.sp
+ 
+ 
+   write cache size
+   aio write size
+ 
+ Default:
+-\fB&#9619;fIaio read size&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIaio read size\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIaio read size&#9619;fR = 16384 # Use asynchronous I/O for reads bigger than 16KB request size \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIaio read size\fR = 16384 # Use asynchronous I/O for reads bigger than 16KB request size \fR
++.RE
++.PP
+ aio write size (S)
+-&#8962;RS 4
++.RS 4
+ If Samba has been built with asynchronous I/O support and this integer parameter is set to non-zero value, Samba will write to file asynchronously when size of request is bigger than this value. Note that it happens only for non-chained and non-chaining reads and when not using write cache.
+-&#8962;sp
++.sp
+ Current implementation of asynchronous I/O in Samba 3.0 does support only up to 10 outstanding asynchronous requests, read and write combined.
+-&#8962;sp
++.sp
+ 
+   
+   write cache size
+   aio read size
+ 
+ Default:
+-\fB&#9619;fIaio write size&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIaio write size\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIaio write size&#9619;fR = 16384 # Use asynchronous I/O for writes bigger than 16KB request size \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIaio write size\fR = 16384 # Use asynchronous I/O for writes bigger than 16KB request size \fR
++.RE
++.PP
+ algorithmic rid base (G)
+-&#8962;RS 4
++.RS 4
+ This determines how Samba will use its algorithmic mapping from uids/gid to the RIDs needed to construct NT Security Identifiers.
+-&#8962;sp
++.sp
+ Setting this option to a larger value could be useful to sites transitioning from WinNT and Win2k, as existing user and group rids would otherwise clash with sytem users etc.
+-&#8962;sp
++.sp
+ All UIDs and GIDs must be able to be resolved into SIDs for the correct operation of ACLs on the server. As such the algorithmic mapping can't be 'turned off', but pushing it 'out of the way' should resolve the issues. Users and groups can then be assigned 'low' RIDs in arbitrary-rid supporting backends.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIalgorithmic rid base&#9619;fR = 1000 \fR
+-&#8962;sp
++\fB\fIalgorithmic rid base\fR = 1000 \fR
++.sp
+ Example:
+-\fB&#9619;fIalgorithmic rid base&#9619;fR = 100000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIalgorithmic rid base\fR = 100000 \fR
++.RE
++.PP
+ allocation roundup size (S)
+-&#8962;RS 4
++.RS 4
+ This parameter allows an administrator to tune the allocation size reported to Windows clients. The default size of 1Mb generally results in improved Windows client performance. However, rounding the allocation size may cause difficulties for some applications, e.g. MS Visual Studio. If the MS Visual Studio compiler starts to crash with an internal error, set this parameter to zero for this share.
+-&#8962;sp
++.sp
+ The integer parameter specifies the roundup size in bytes.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIallocation roundup size&#9619;fR = 1048576 \fR
+-&#8962;sp
++\fB\fIallocation roundup size\fR = 1048576 \fR
++.sp
+ Example:
+-\fB&#9619;fIallocation roundup size&#9619;fR = 0 # (to disable roundups) \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIallocation roundup size\fR = 0 # (to disable roundups) \fR
++.RE
++.PP
+ allow trusted domains (G)
+-&#8962;RS 4
++.RS 4
+ This option only takes effect when the
+ security option is set to
+-&#9619;fBserver&#9619;fR,
+-&#9619;fBdomain&#9619;fR
++\fBserver\fR,
++\fBdomain\fR
+ or
+-&#9619;fBads&#9619;fR. If it is set to no, then attempts to connect to a resource from a domain or workgroup other than the one which smbd is running in will fail, even if that domain is trusted by the remote server doing the authentication.
+-&#8962;sp
++\fBads\fR. If it is set to no, then attempts to connect to a resource from a domain or workgroup other than the one which smbd is running in will fail, even if that domain is trusted by the remote server doing the authentication.
++.sp
+ This is useful if you only want your Samba server to serve resources to users in the domain it is a member of. As an example, suppose that there are two domains DOMA and DOMB. DOMB is trusted by DOMA, which contains the Samba server. Under normal circumstances, a user with an account in DOMB can then access the resources of a UNIX account with the same account name on the Samba server even if they do not have an account in DOMA. This can make implementing a security boundary difficult.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIallow trusted domains&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIallow trusted domains\fR = yes \fR
++.RE
++.PP
+ announce as (G)
+-&#8962;RS 4
++.RS 4
+ This specifies what type of server
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ will announce itself as, to a network neighborhood browse list. By default this is set to Windows NT. The valid options are : "NT Server" (which can also be written as "NT"), "NT Workstation", "Win95" or "WfW" meaning Windows NT Server, Windows NT Workstation, Windows 95 and Windows for Workgroups respectively. Do not change this parameter unless you have a specific need to stop Samba appearing as an NT server as this may prevent Samba servers from participating as browser servers correctly.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIannounce as&#9619;fR = NT Server \fR
+-&#8962;sp
++\fB\fIannounce as\fR = NT Server \fR
++.sp
+ Example:
+-\fB&#9619;fIannounce as&#9619;fR = Win95 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIannounce as\fR = Win95 \fR
++.RE
++.PP
+ announce version (G)
+-&#8962;RS 4
++.RS 4
+ This specifies the major and minor version numbers that nmbd will use when announcing itself as a server. The default is 4.9. Do not change this parameter unless you have a specific need to set a Samba server to be a downlevel server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIannounce version&#9619;fR = 4.9 \fR
+-&#8962;sp
++\fB\fIannounce version\fR = 4.9 \fR
++.sp
+ Example:
+-\fB&#9619;fIannounce version&#9619;fR = 2.0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIannounce version\fR = 2.0 \fR
++.RE
++.PP
+ auth methods (G)
+-&#8962;RS 4
++.RS 4
+ This option allows the administrator to chose what authentication methods
+ smbd
+ will use when authenticating a user. This option defaults to sensible values based on
+ security. 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.
+-&#8962;sp
++.sp
+ Each entry in the list attempts to authenticate the user in turn, until the user authenticates. In practice only one method will ever actually be able to complete the authentication.
+-&#8962;sp
++.sp
+ Possible options include
+-&#9619;fBguest&#9619;fR
++\fBguest\fR
+ (anonymous access),
+-&#9619;fBsam&#9619;fR
++\fBsam\fR
+ (lookups in local list of accounts based on netbios name or domain name),
+-&#9619;fBwinbind&#9619;fR
++\fBwinbind\fR
+ (relay authentication requests for remote users through winbindd),
+-&#9619;fBntdomain&#9619;fR
++\fBntdomain\fR
+ (pre-winbindd method of authentication for remote domain users; deprecated in favour of winbind method),
+-&#9619;fBtrustdomain&#9619;fR
++\fBtrustdomain\fR
+ (authenticate trusted users by contacting the remote DC directly from smbd; deprecated in favour of winbind method).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIauth methods&#9619;fR = \fR
+-&#8962;sp
++\fB\fIauth methods\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIauth methods&#9619;fR = guest sam winbind \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIauth methods\fR = guest sam winbind \fR
++.RE
++.PP
+ available (S)
+-&#8962;RS 4
++.RS 4
+ This parameter lets you "turn off" a service. If
+-&#9619;fIavailable = no&#9619;fR, then
++\fIavailable = no\fR, then
+ \fBALL\fR
+ attempts to connect to the service will fail. Such failures are logged.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIavailable&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIavailable\fR = yes \fR
++.RE
++.PP
+ bind interfaces only (G)
+-&#8962;RS 4
++.RS 4
+ This global parameter allows the Samba admin to limit what interfaces on a machine will serve SMB requests. It affects file service
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ and name service
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ in a slightly different ways.
+-&#8962;sp
++.sp
+ For name service it causes
+ nmbd
+ to bind to ports 137 and 138 on the interfaces listed in the
+@@ -1129,24 +1129,24 @@
+ to refuse to serve names to machines that send packets that arrive through any interfaces not listed in the
+ interfaces list. IP Source address spoofing does defeat this simple check, however, so it must not be used seriously as a security feature for
+ nmbd.
+-&#8962;sp
++.sp
+ For file service it causes
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ to bind only to the interface list given in the
+ interfaces parameter. This restricts the networks that
+ smbd
+ will serve to packets coming in 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.
+-&#8962;sp
++.sp
+ If
+ bind interfaces only is set then unless the network address
+ \fB127.0.0.1\fR
+ is added to the
+ interfaces parameter list
+-&#9619;fBsmbpasswd&#9619;fR(8)
++\fBsmbpasswd\fR(8)
+ and
+-&#9619;fBswat&#9619;fR(8)
++\fBswat\fR(8)
+ may not work as expected due to the reasons covered below.
+-&#8962;sp
++.sp
+ To change a users SMB password, the
+ smbpasswd
+ by default connects to the
+@@ -1160,12 +1160,12 @@
+ will fail to connect in it's default mode.
+ smbpasswd
+ can be forced to use the primary IP interface of the local host by using its
+-&#9619;fBsmbpasswd&#9619;fR(8)
+-&#9619;fI-r &#9619;fR&#9619;fI&#9619;fIremote machine&#9619;fR&#9619;fR
++\fBsmbpasswd\fR(8)
++\fI-r \fR\fI\fIremote machine\fR\fR
+ parameter, with
+-&#9619;fIremote machine&#9619;fR
++\fIremote machine\fR
+ set to the IP name of the primary interface of the local host.
+-&#8962;sp
++.sp
+ The
+ swat
+ status page tries to connect with
+@@ -1186,773 +1186,773 @@
+ smbd
+ and
+ nmbd.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIbind interfaces only&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIbind interfaces only\fR = no \fR
++.RE
++.PP
+ blocking locks (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls the behavior of
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when given a request by a client to obtain a byte range lock on a region of an open file, and the request has a time limit associated with it.
+-&#8962;sp
++.sp
+ If this parameter is set and the lock range requested cannot be immediately satisfied, samba will internally queue the lock request, and periodically attempt to obtain the lock until the timeout period expires.
+-&#8962;sp
++.sp
+ If this parameter is set to
+-&#9619;fBno&#9619;fR, then samba will behave as previous versions of Samba would and will fail the lock request immediately if the lock range cannot be obtained.
+-&#8962;sp
++\fBno\fR, then samba will behave as previous versions of Samba would and will fail the lock request immediately if the lock range cannot be obtained.
++.sp
+ Default:
+-\fB&#9619;fIblocking locks&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIblocking locks\fR = yes \fR
++.RE
++.PP
+ block size (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls the behavior of
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when reporting disk free sizes. By default, this reports a disk block size of 1024 bytes.
+-&#8962;sp
++.sp
+ Changing this parameter may have some effect on the efficiency of client writes, this is not yet confirmed. This parameter was added to allow advanced administrators to change it (usually to a higher value) and test the effect it has on client write performance without re-compiling the code. As this is an experimental option it may be removed in a future release.
+-&#8962;sp
++.sp
+ Changing this option does not change the disk free reporting size, just the block size unit reported to the client.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIblock size&#9619;fR = 1024 \fR
+-&#8962;sp
++\fB\fIblock size\fR = 1024 \fR
++.sp
+ Example:
+-\fB&#9619;fIblock size&#9619;fR = 4096 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIblock size\fR = 4096 \fR
++.RE
++.PP
+ browsable
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for browseable.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ browseable (S)
+-&#8962;RS 4
++.RS 4
+ This controls whether this share is seen in the list of available shares in a net view and in the browse list.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIbrowseable&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIbrowseable\fR = yes \fR
++.RE
++.PP
+ browse list (G)
+-&#8962;RS 4
++.RS 4
+ This controls whether
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will serve a browse list to a client doing a
+ NetServerEnum
+ call. Normally set to
+-&#9619;fByes&#9619;fR. You should never need to change this.
+-&#8962;sp
++\fByes\fR. You should never need to change this.
++.sp
+ Default:
+-\fB&#9619;fIbrowse list&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIbrowse list\fR = yes \fR
++.RE
++.PP
+ casesignames
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for case sensitive.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ case sensitive (S)
+-&#8962;RS 4
++.RS 4
+ See the discussion in the section
+ name mangling.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIcase sensitive&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcase sensitive\fR = no \fR
++.RE
++.PP
+ change notify (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies whether Samba should reply to a client's file change notify requests.
+-&#8962;sp
++.sp
+ You should never need to change this parameter
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIchange notify&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIchange notify\fR = yes \fR
++.RE
++.PP
+ change share command (G)
+-&#8962;RS 4
++.RS 4
+ Samba 2.2.0 introduced the ability to dynamically add and delete shares via the Windows NT 4.0 Server Manager. The
+-&#9619;fIchange share command&#9619;fR
++\fIchange share command\fR
+ is used to define an external program or script which will modify an existing service definition in
+-&#9619;fIsmb.conf&#9619;fR. In order to successfully execute the
+-&#9619;fIchange share command&#9619;fR,
++\fIsmb.conf\fR. In order to successfully execute the
++\fIchange share command\fR,
+ smbd
+ requires that the administrator be connected using a root account (i.e. uid == 0).
+-&#8962;sp
++.sp
+ If the connected account has
+ SeDiskOperatorPrivilege, scripts defined in
+-&#9619;fIchange share&#9619;fR
++\fIchange share\fR
+ parameter are executed as root.
+-&#8962;sp
++.sp
+ When executed,
+ smbd
+ will automatically invoke the
+-&#9619;fIchange share command&#9619;fR
++\fIchange share command\fR
+ with five parameters.
+ \(bu
+-&#9619;fIconfigFile&#9619;fR
++\fIconfigFile\fR
+ - the location of the global
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+ .TP
+ \(bu
+-&#9619;fIshareName&#9619;fR
++\fIshareName\fR
+ - the name of the new share.
+ .TP
+ \(bu
+-&#9619;fIpathName&#9619;fR
++\fIpathName\fR
+ - path to an **existing** directory on disk.
+ .TP
+ \(bu
+-&#9619;fIcomment&#9619;fR
++\fIcomment\fR
+ - comment string to associate with the new share.
+ .TP
+ \(bu
+-&#9619;fImax connections&#9619;fR
++\fImax connections\fR
+ Number of maximum simultaneous connections to this share.
+-&#8962;IP "" 4
++.IP "" 4
+ This parameter is only used modify existing file shares definitions. To modify printer shares, use the "Printers..." folder as seen when browsing the Samba host.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIchange share command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIchange share command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIchange share command&#9619;fR = /usr/local/bin/addshare \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIchange share command\fR = /usr/local/bin/addshare \fR
++.RE
++.PP
+ check password script (G)
+-&#8962;RS 4
++.RS 4
+ The name of a program that can be used to check password complexity. The password is sent to the program's standrad input.
+-&#8962;sp
++.sp
+ The program must return 0 on good password any other value otherwise. In case the password is considered weak (the program do not return 0) the user will be notified and the password change will fail.
+-&#8962;sp
++.sp
+ Note: In the example directory there is a sample program called crackcheck that uses cracklib to checkpassword quality
+-&#8962;sp
++.sp
+ .
+ 
+ 
+ Default:
+-\fB&#9619;fIcheck password script&#9619;fR = Disabled \fR
+-&#8962;sp
++\fB\fIcheck password script\fR = Disabled \fR
++.sp
+ Example:
+-\fB&#9619;fIcheck password script&#9619;fR = check password script = /usr/local/sbin/crackcheck \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcheck password script\fR = check password script = /usr/local/sbin/crackcheck \fR
++.RE
++.PP
+ client lanman auth (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines whether or not
+-&#9619;fBsmbclient&#9619;fR(8)
++\fBsmbclient\fR(8)
+ and other samba client tools will attempt to authenticate itself to servers using the weaker LANMAN password hash. If disabled, only server which support NT password hashes (e.g. Windows NT/2000, Samba, etc... but not Windows 95/98) will be able to be connected from the Samba client.
+-&#8962;sp
++.sp
+ The LANMAN encrypted response is easily broken, due to it's case-insensitive nature, and the choice of algorithm. Clients without Windows 95/98 servers are advised to disable this option.
+-&#8962;sp
++.sp
+ Disabling this option will also disable the
+ client plaintext auth
+ option
+-&#8962;sp
++.sp
+ Likewise, if the
+ client ntlmv2 auth
+ parameter is enabled, then only NTLMv2 logins will be attempted.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient lanman auth&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient lanman auth\fR = no \fR
++.RE
++.PP
+ client ldap sasl wrapping (G)
+-&#8962;RS 4
++.RS 4
+ The
+ client ldap sasl wrapping defines whether ldap traffic will be signed or signed and encrypted (sealed). Possible values are
+ \fBplain\fR,
+ \fBsign\fR
+ and
+ \fBseal\fR.
+-&#8962;sp
++.sp
+ The values
+ \fBsign\fR
+ and
+ \fBseal\fR
+ are only available if Samba has been compiled against a modern OpenLDAP version (2.3.x or higher).
+-&#8962;sp
++.sp
+ 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\System\CurrentControlSet\Services\NTDS\Parameters\LDAPServerIntegrity" on the Windows server side.
+-&#8962;sp
++.sp
+ Depending on the used KRB5 library (MIT and older Heimdal versions) it is possible that the message "integrity only" is not supported. In this case,
+ \fBsign\fR
+ is just an alias for
+ \fBseal\fR.
+-&#8962;sp
++.sp
+ The default value is
+ \fBplain\fR
+ which is not irritable to KRB5 clock skew errors. That implies synchronizing the time with the KDC in the case of using
+ \fBsign\fR
+ or
+ \fBseal\fR.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient ldap sasl wrapping&#9619;fR = plain \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient ldap sasl wrapping\fR = plain \fR
++.RE
++.PP
+ client ntlmv2 auth (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines whether or not
+-&#9619;fBsmbclient&#9619;fR(8)
++\fBsmbclient\fR(8)
+ will attempt to authenticate itself to servers using the NTLMv2 encrypted password response.
+-&#8962;sp
++.sp
+ If enabled, only an NTLMv2 and LMv2 response (both much more secure than earlier versions) will be sent. Many servers (including NT4 < SP4, Win9x and Samba 2.2) are not compatible with NTLMv2.
+-&#8962;sp
++.sp
+ Similarly, if enabled, NTLMv1,
+ client lanman auth
+ and
+ client plaintext auth
+ authentication will be disabled. This also disables share-level authentication.
+-&#8962;sp
++.sp
+ If disabled, an NTLM response (and possibly a LANMAN response) will be sent by the client, depending on the value of
+ client lanman auth.
+-&#8962;sp
++.sp
+ Note that some sites (particularly those following 'best practice' security polices) only allow NTLMv2 responses, and not the weaker LM or NTLM.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient ntlmv2 auth&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient ntlmv2 auth\fR = no \fR
++.RE
++.PP
+ client plaintext auth (G)
+-&#8962;RS 4
++.RS 4
+ Specifies whether a client should send a plaintext password if the server does not support encrypted passwords.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient plaintext auth&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient plaintext auth\fR = no \fR
++.RE
++.PP
+ client schannel (G)
+-&#8962;RS 4
++.RS 4
+ This controls whether the client offers or even demands the use of the netlogon schannel.
+ client schannel = no does not offer the schannel,
+ client schannel = auto offers the schannel but does not enforce it, and
+ client schannel = yes denies access if the server is not able to speak netlogon schannel.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient schannel&#9619;fR = auto \fR
+-&#8962;sp
++\fB\fIclient schannel\fR = auto \fR
++.sp
+ Example:
+-\fB&#9619;fIclient schannel&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient schannel\fR = yes \fR
++.RE
++.PP
+ client signing (G)
+-&#8962;RS 4
++.RS 4
+ This controls whether the client offers or requires the server it talks to to use SMB signing. Possible values are
+ \fBauto\fR,
+ \fBmandatory\fR
+ and
+ \fBdisabled\fR.
+-&#8962;sp
++.sp
+ When set to auto, SMB signing is offered, but not enforced. When set to mandatory, SMB signing is required and if set to disabled, SMB signing is not offered either.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient signing&#9619;fR = auto \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient signing\fR = auto \fR
++.RE
++.PP
+ client use spnego (G)
+-&#8962;RS 4
++.RS 4
+ This variable controls whether Samba clients will try to use Simple and Protected NEGOciation (as specified by rfc2478) with supporting servers (including WindowsXP, Windows2000 and Samba 3.0) to agree upon an authentication mechanism. This enables Kerberos authentication in particular.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIclient use spnego&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIclient use spnego\fR = yes \fR
++.RE
++.PP
+ comment (S)
+-&#8962;RS 4
++.RS 4
+ This is a text field that is seen next to a share when a client does a queries the server, either via the network neighborhood or via
+ net view
+ to list what shares are available.
+-&#8962;sp
++.sp
+ If you want to set the string that is displayed next to the machine name then see the
+ server string parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIcomment&#9619;fR = # No comment \fR
+-&#8962;sp
++\fB\fIcomment\fR = # No comment \fR
++.sp
+ Example:
+-\fB&#9619;fIcomment&#9619;fR = Fred's Files \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcomment\fR = Fred's Files \fR
++.RE
++.PP
+ config backend (G)
+-&#8962;RS 4
++.RS 4
+ This controls the backend for storing the configuration. Possible values are
+ \fBfile\fR
+ (the default) and
+ \fBregistry\fR. When
+ config backend = registry is encountered while loading
+ \fBsmb.conf\fR, the configuration read so far is dropped and the global options are read from registry instead. So this triggers a registry only configuration. Share definitions are not read immediately but instead
+-&#9619;fIregistry shares&#9619;fR
++\fIregistry shares\fR
+ is set to
+ \fByes\fR.
+-&#8962;sp
++.sp
+ Note: This option can not be set inside the registry configuration itself.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIconfig backend&#9619;fR = file \fR
+-&#8962;sp
++\fB\fIconfig backend\fR = file \fR
++.sp
+ Example:
+-\fB&#9619;fIconfig backend&#9619;fR = registry \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIconfig backend\fR = registry \fR
++.RE
++.PP
+ config file (G)
+-&#8962;RS 4
++.RS 4
+ This allows you to override the config file to use, instead of the default (usually
+-&#9619;fIsmb.conf&#9619;fR). There is a chicken and egg problem here as this option is set in the config file!
+-&#8962;sp
++\fIsmb.conf\fR). There is a chicken and egg problem here as this option is set in the config file!
++.sp
+ For this reason, if the name of the config file has changed when the parameters are loaded then it will reload them from the new config file.
+-&#8962;sp
++.sp
+ This option takes the usual substitutions, which can be very useful.
+-&#8962;sp
++.sp
+ If the config file doesn't exist then it won't be loaded (allowing you to special case the config files of just a few clients).
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIconfig file&#9619;fR = /usr/local/samba/lib/smb.conf.%m \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIconfig file\fR = /usr/local/samba/lib/smb.conf.%m \fR
++.RE
++.PP
+ copy (S)
+-&#8962;RS 4
++.RS 4
+ This parameter allows you to "clone" service entries. The specified service is simply duplicated under the current service's name. Any parameters specified in the current section will override those in the section being copied.
+-&#8962;sp
++.sp
+ This feature lets you set up a 'template' service and create similar services easily. Note that the service being copied must occur earlier in the configuration file than the service doing the copying.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIcopy&#9619;fR = \fR
+-&#8962;sp
++\fB\fIcopy\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIcopy&#9619;fR = otherservice \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcopy\fR = otherservice \fR
++.RE
++.PP
+ create mode
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for create mask.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ create mask (S)
+-&#8962;RS 4
++.RS 4
+ When a file is created, the necessary permissions are calculated according to the mapping from DOS modes to UNIX permissions, and the resulting UNIX mode is then bit-wise 'AND'ed with this parameter. This parameter may be thought of as a bit-wise MASK for the UNIX modes of a file. Any bit
+ \fBnot\fR
+ set here will be removed from the modes set on a file when it is created.
+-&#8962;sp
++.sp
+ The default value of this parameter removes the
+ group
+ and
+ other
+ write and execute bits from the UNIX modes.
+-&#8962;sp
++.sp
+ Following this Samba will bit-wise 'OR' the UNIX mode created from this parameter with the value of the
+ force create mode parameter which is set to 000 by default.
+-&#8962;sp
++.sp
+ This parameter does not affect directory masks. See the parameter
+ directory mask for details.
+-&#8962;sp
++.sp
+ Note that this parameter does not apply to permissions set by Windows NT/2000 ACL editors. If the administrator wishes to enforce a mask on access control lists also, they need to set the
+ security mask.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIcreate mask&#9619;fR = 0744 \fR
+-&#8962;sp
++\fB\fIcreate mask\fR = 0744 \fR
++.sp
+ Example:
+-\fB&#9619;fIcreate mask&#9619;fR = 0775 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcreate mask\fR = 0775 \fR
++.RE
++.PP
+ csc policy (S)
+-&#8962;RS 4
++.RS 4
+ This stands for
+ \fBclient-side caching policy\fR, and specifies how clients capable of offline caching will cache the files in the share. The valid values are: manual, documents, programs, disable.
+-&#8962;sp
++.sp
+ These values correspond to those used on Windows servers.
+-&#8962;sp
++.sp
+ For example, shares containing roaming profiles can have offline caching disabled using
+ csc policy = disable.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIcsc policy&#9619;fR = manual \fR
+-&#8962;sp
++\fB\fIcsc policy\fR = manual \fR
++.sp
+ Example:
+-\fB&#9619;fIcsc policy&#9619;fR = programs \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcsc policy\fR = programs \fR
++.RE
++.PP
+ cups options (S)
+-&#8962;RS 4
++.RS 4
+ This parameter is only applicable if
+ printing is set to
+-&#9619;fBcups&#9619;fR. Its value is a free form string of options passed directly to the cups library.
+-&#8962;sp
++\fBcups\fR. Its value is a free form string of options passed directly to the cups library.
++.sp
+ You can pass any generic print option known to CUPS (as listed in the CUPS "Software Users' Manual"). You can also pass any printer specific option (as listed in "lpoptions -d printername -l") valid for the target queue.
+-&#8962;sp
++.sp
+ You should set this parameter to
+-&#9619;fBraw&#9619;fR
++\fBraw\fR
+ if your CUPS server
+-&#9619;fIerror_log&#9619;fR
++\fIerror_log\fR
+ file contains messages such as "Unsupported format 'application/octet-stream'" when printing from a Windows client through Samba. It is no longer necessary to enable system wide raw printing in
+-&#9619;fI/etc/cups/mime.{convs,types}&#9619;fR.
+-&#8962;sp
++\fI/etc/cups/mime.{convs,types}\fR.
++.sp
+ Default:
+-\fB&#9619;fIcups options&#9619;fR = "" \fR
+-&#8962;sp
++\fB\fIcups options\fR = "" \fR
++.sp
+ Example:
+-\fB&#9619;fIcups options&#9619;fR = "raw,media=a4,job-sheets=secret,secret" \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcups options\fR = "raw,media=a4,job-sheets=secret,secret" \fR
++.RE
++.PP
+ cups server (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is only applicable if
+ printing is set to
+-&#9619;fBcups&#9619;fR.
+-&#8962;sp
++\fBcups\fR.
++.sp
+ If set, this option overrides the ServerName option in the CUPS
+-&#9619;fIclient.conf&#9619;fR. This is necessary if you have virtual samba servers that connect to different CUPS daemons.
+-&#8962;sp
++\fIclient.conf\fR. This is necessary if you have virtual samba servers that connect to different CUPS daemons.
++.sp
+ Optionally, a port can be specified by separating the server name and port number with a colon. If no port was specified, the default port for IPP (631) will be used.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIcups server&#9619;fR = "" \fR
+-&#8962;sp
++\fB\fIcups server\fR = "" \fR
++.sp
+ Example:
+-\fB&#9619;fIcups server&#9619;fR = mycupsserver \fR
+-&#8962;sp
++\fB\fIcups server\fR = mycupsserver \fR
++.sp
+ Example:
+-\fB&#9619;fIcups server&#9619;fR = mycupsserver:1631 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIcups server\fR = mycupsserver:1631 \fR
++.RE
++.PP
+ deadtime (G)
+-&#8962;RS 4
++.RS 4
+ The value of the parameter (a decimal integer) represents the number of minutes of inactivity before a connection is considered dead, and it is disconnected. The deadtime only takes effect if the number of open files is zero.
+-&#8962;sp
++.sp
+ This is useful to stop a server's resources being exhausted by a large number of inactive connections.
+-&#8962;sp
++.sp
+ Most clients have an auto-reconnect feature when a connection is broken so in most cases this parameter should be transparent to users.
+-&#8962;sp
++.sp
+ Using this parameter with a timeout of a few minutes is recommended for most systems.
+-&#8962;sp
++.sp
+ A deadtime of zero indicates that no auto-disconnection should be performed.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdeadtime&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIdeadtime\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIdeadtime&#9619;fR = 15 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdeadtime\fR = 15 \fR
++.RE
++.PP
+ debug hires timestamp (G)
+-&#8962;RS 4
++.RS 4
+ Sometimes the timestamps in the log messages are needed with a resolution of higher that seconds, this boolean parameter adds microsecond resolution to the timestamp message header when turned on.
+-&#8962;sp
++.sp
+ Note that the parameter
+ debug timestamp must be on for this to have an effect.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdebug hires timestamp&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdebug hires timestamp\fR = no \fR
++.RE
++.PP
+ debug pid (G)
+-&#8962;RS 4
++.RS 4
+ When using only one log file for more then one forked
+-&#9619;fBsmbd&#9619;fR(8)-process there may be hard to follow which process outputs which message. This boolean parameter is adds the process-id to the timestamp message headers in the logfile when turned on.
+-&#8962;sp
++\fBsmbd\fR(8)-process there may be hard to follow which process outputs which message. This boolean parameter is adds the process-id to the timestamp message headers in the logfile when turned on.
++.sp
+ Note that the parameter
+ debug timestamp must be on for this to have an effect.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdebug pid&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdebug pid\fR = no \fR
++.RE
++.PP
+ debug prefix timestamp (G)
+-&#8962;RS 4
++.RS 4
+ With this option enabled, the timestamp message header is prefixed to the debug message without the filename and function information that is included with the
+ debug timestamp parameter. This gives timestamps to the messages without adding an additional line.
+-&#8962;sp
++.sp
+ Note that this parameter overrides the
+ debug timestamp parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdebug prefix timestamp&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdebug prefix timestamp\fR = no \fR
++.RE
++.PP
+ timestamp logs
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for debug timestamp.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ debug timestamp (G)
+-&#8962;RS 4
++.RS 4
+ Samba debug log messages are timestamped by default. If you are running at a high
+ debug level these timestamps can be distracting. This boolean parameter allows timestamping to be turned off.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdebug timestamp&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdebug timestamp\fR = yes \fR
++.RE
++.PP
+ debug uid (G)
+-&#8962;RS 4
++.RS 4
+ Samba is sometimes run as root and sometime run as the connected user, this boolean parameter inserts the current euid, egid, uid and gid to the timestamp message headers in the log file if turned on.
+-&#8962;sp
++.sp
+ Note that the parameter
+ debug timestamp must be on for this to have an effect.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdebug uid&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdebug uid\fR = no \fR
++.RE
++.PP
+ default case (S)
+-&#8962;RS 4
++.RS 4
+ See the section on
+ name mangling. Also note the
+ short preserve case parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdefault case&#9619;fR = lower \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdefault case\fR = lower \fR
++.RE
++.PP
+ default devmode (S)
+-&#8962;RS 4
++.RS 4
+ This parameter is only applicable to
+ printable services. When smbd is serving Printer Drivers to Windows NT/2k/XP clients, each printer on the Samba server has a Device Mode which defines things such as paper size and orientation and duplex settings. The device mode can only correctly be generated by the printer driver itself (which can only be executed on a Win32 platform). Because smbd is unable to execute the driver code to generate the device mode, the default behavior is to set this field to NULL.
+-&#8962;sp
++.sp
+ Most problems with serving printer drivers to Windows NT/2k/XP clients can be traced to a problem with the generated device mode. Certain drivers will do things such as crashing the client's Explorer.exe with a NULL devmode. However, other printer drivers can cause the client's spooler service (spoolsv.exe) to die if the devmode was not created by the driver itself (i.e. smbd generates a default devmode).
+-&#8962;sp
++.sp
+ This parameter should be used with care and tested with the printer driver in question. It is better to leave the device mode to NULL and let the Windows client set the correct values. Because drivers do not do this all the time, setting
+ default devmode = yes
+ will instruct smbd to generate a default one.
+-&#8962;sp
++.sp
+ For more information on Windows NT/2k printing and Device Modes, see the
+ MSDN documentation.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdefault devmode&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdefault devmode\fR = yes \fR
++.RE
++.PP
+ default
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for default service.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ default service (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the name of a service which will be connected to if the service actually requested cannot be found. Note that the square brackets are
+ \fBNOT\fR
+ given in the parameter value (see example below).
+-&#8962;sp
++.sp
+ There is no default value for this parameter. If this parameter is not given, attempting to connect to a nonexistent service results in an error.
+-&#8962;sp
++.sp
+ Typically the default service would be a
+ guest ok,
+ read-only service.
+-&#8962;sp
++.sp
+ Also note that the apparent service name will be changed to equal that of the requested service, this is very useful as it allows you to use macros like
+-&#9619;fI%S&#9619;fR
++\fI%S\fR
+ to make a wildcard service.
+-&#8962;sp
++.sp
+ Note also that any "_" characters in the name of the service used in the default service will get mapped to a "/". This allows for interesting things.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdefault service&#9619;fR = \fR
+-&#8962;sp
++\fB\fIdefault service\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIdefault service&#9619;fR = pub \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdefault service\fR = pub \fR
++.RE
++.PP
+ defer sharing violations (G)
+-&#8962;RS 4
++.RS 4
+ Windows allows specifying how a file will be shared with other processes when it is opened. Sharing violations occur when a file is opened by a different process using options that violate the share settings specified by other processes. This parameter causes smbd to act as a Windows server does, and defer returning a "sharing violation" error message for up to one second, allowing the client to close the file causing the violation in the meantime.
+-&#8962;sp
++.sp
+ UNIX by default does not have this behaviour.
+-&#8962;sp
++.sp
+ There should be no reason to turn off this parameter, as it is designed to enable Samba to more correctly emulate Windows.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdefer sharing violations&#9619;fR = True \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdefer sharing violations\fR = True \fR
++.RE
++.PP
+ delete group script (G)
+-&#8962;RS 4
++.RS 4
+ This is the full pathname to a script that will be run
+ \fBAS ROOT\fR
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when a group is requested to be deleted. It will expand any
+-&#9619;fI%g&#9619;fR
++\fI%g\fR
+ to the group name passed. This script is only useful for installations using the Windows NT domain administration tools.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdelete group script&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdelete group script\fR = \fR
++.RE
++.PP
+ deleteprinter command (G)
+-&#8962;RS 4
++.RS 4
+ With the introduction of MS-RPC based printer support for Windows NT/2000 clients in Samba 2.2, it is now possible to delete printer at run time by issuing the DeletePrinter() RPC call.
+-&#8962;sp
++.sp
+ For a Samba host this means that the printer must be physically deleted from underlying printing system. The
+ deleteprinter command defines a script to be run which will perform the necessary operations for removing the printer from the print system and from
+-&#9619;fIsmb.conf&#9619;fR.
+-&#8962;sp
++\fIsmb.conf\fR.
++.sp
+ The
+ deleteprinter command is automatically called with only one parameter:
+ printer name.
+-&#8962;sp
++.sp
+ Once the
+ deleteprinter command has been executed,
+ smbd
+ will reparse the
+-&#9619;fI smb.conf&#9619;fR
++\fI smb.conf\fR
+ to associated printer no longer exists. If the sharename is still valid, then
+ smbd
+ will return an ACCESS_DENIED error to the client.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdeleteprinter command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIdeleteprinter command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIdeleteprinter command&#9619;fR = /usr/bin/removeprinter \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdeleteprinter command\fR = /usr/bin/removeprinter \fR
++.RE
++.PP
+ delete readonly (S)
+-&#8962;RS 4
++.RS 4
+ This parameter allows readonly files to be deleted. This is not normal DOS semantics, but is allowed by UNIX.
+-&#8962;sp
++.sp
+ This option may be useful for running applications such as rcs, where UNIX file ownership prevents changing file permissions, and DOS semantics prevent deletion of a read only file.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdelete readonly&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdelete readonly\fR = no \fR
++.RE
++.PP
+ delete share command (G)
+-&#8962;RS 4
++.RS 4
+ Samba 2.2.0 introduced the ability to dynamically add and delete shares via the Windows NT 4.0 Server Manager. The
+-&#9619;fIdelete share command&#9619;fR
++\fIdelete share command\fR
+ is used to define an external program or script which will remove an existing service definition from
+-&#9619;fIsmb.conf&#9619;fR. In order to successfully execute the
+-&#9619;fIdelete share command&#9619;fR,
++\fIsmb.conf\fR. In order to successfully execute the
++\fIdelete share command\fR,
+ smbd
+ requires that the administrator be connected using a root account (i.e. uid == 0).
+-&#8962;sp
++.sp
+ If the connected account has
+ SeDiskOperatorPrivilege, scripts defined in
+-&#9619;fIchange share&#9619;fR
++\fIchange share\fR
+ parameter are executed as root.
+-&#8962;sp
++.sp
+ When executed,
+ smbd
+ will automatically invoke the
+-&#9619;fIdelete share command&#9619;fR
++\fIdelete share command\fR
+ with two parameters.
+ \(bu
+-&#9619;fIconfigFile&#9619;fR
++\fIconfigFile\fR
+ - the location of the global
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+ .TP
+ \(bu
+-&#9619;fIshareName&#9619;fR
++\fIshareName\fR
+ - the name of the existing service.
+-&#8962;IP "" 4
++.IP "" 4
+ This parameter is only used to remove file shares. To delete printer shares, see the
+ deleteprinter command.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdelete share command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIdelete share command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIdelete share command&#9619;fR = /usr/local/bin/delshare \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdelete share command\fR = /usr/local/bin/delshare \fR
++.RE
++.PP
+ delete user from group script (G)
+-&#8962;RS 4
++.RS 4
+ Full path to the script that will be called when a user is removed from a group using the Windows NT domain administration tools. It will be run by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ \fBAS ROOT\fR. Any
+-&#9619;fI%g&#9619;fR
++\fI%g\fR
+ will be replaced with the group name and any
+-&#9619;fI%u&#9619;fR
++\fI%u\fR
+ will be replaced with the user name.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdelete user from group script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIdelete user from group script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIdelete user from group script&#9619;fR = /usr/sbin/deluser %u %g \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdelete user from group script\fR = /usr/sbin/deluser %u %g \fR
++.RE
++.PP
+ delete user script (G)
+-&#8962;RS 4
++.RS 4
+ This is the full pathname to a script that will be run by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when managing users with remote RPC (NT) tools.
+-&#8962;sp
++.sp
+ This script is called when a remote client removes a user from the server, normally using 'User Manager for Domains' or
+ rpcclient.
+-&#8962;sp
++.sp
+ This script should delete the given UNIX username.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdelete user script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIdelete user script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIdelete user script&#9619;fR = /usr/local/samba/bin/del_user %u \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdelete user script\fR = /usr/local/samba/bin/del_user %u \fR
++.RE
++.PP
+ delete veto files (S)
+-&#8962;RS 4
++.RS 4
+ This option is used when Samba is attempting to delete a directory that contains one or more vetoed directories (see the
+ veto files option). If this option is set to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ (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.
+-&#8962;sp
++.sp
+ If this option is set to
+-&#9619;fByes&#9619;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.
+-&#9619;fI.AppleDouble&#9619;fR)
+-&#8962;sp
++\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.
++\fI.AppleDouble\fR)
++.sp
+ Setting
+ delete veto files = yes allows these directories to be transparently deleted when the parent directory is deleted (so long as the user has permissions to do so).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdelete veto files&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdelete veto files\fR = no \fR
++.RE
++.PP
+ dfree cache time (S)
+-&#8962;RS 4
++.RS 4
+ The
+-&#9619;fIdfree cache time&#9619;fR
++\fIdfree cache time\fR
+ should only be used on systems where a problem occurs with the internal disk space calculations. This has been known to happen with Ultrix, but may occur with other operating systems. The symptom that was seen was an error of "Abort Retry Ignore" at the end of each directory listing.
+-&#8962;sp
++.sp
+ This is a new parameter introduced in Samba version 3.0.21. It specifies in seconds the time that smbd will cache the output of a disk free query. If set to zero (the default) no caching is done. This allows a heavily loaded server to prevent rapid spawning of
+ dfree command scripts increasing the load.
+-&#8962;sp
++.sp
+ By default this parameter is zero, meaning no caching will be done.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIdfree cache time&#9619;fR = dfree cache time = 60 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdfree cache time\fR = dfree cache time = 60 \fR
++.RE
++.PP
+ dfree command (S)
+-&#8962;RS 4
++.RS 4
+ The
+-&#9619;fIdfree command&#9619;fR
++\fIdfree command\fR
+ setting should only be used on systems where a problem occurs with the internal disk space calculations. This has been known to happen with Ultrix, but may occur with other operating systems. The symptom that was seen was an error of "Abort Retry Ignore" at the end of each directory listing.
+-&#8962;sp
++.sp
+ This setting allows the replacement of the internal routines to calculate the total disk space and amount available with an external routine. The example below gives a possible script that might fulfill this function.
+-&#8962;sp
++.sp
+ In Samba version 3.0.21 this parameter has been changed to be a per-share parameter, and in addition the parameter
+ dfree cache time was added to allow the output of this script to be cached for systems under heavy load.
+-&#8962;sp
++.sp
+ The external program will be passed a single parameter indicating a directory in the filesystem being queried. This will typically consist of the string
+-&#9619;fI./&#9619;fR. 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.
+-&#8962;sp
++\fI./\fR. 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.
++.sp
+ Note: Your script should
+ \fBNOT\fR
+ be setuid or setgid and should be owned by (and writeable only by) root!
+-&#8962;sp
++.sp
+ Where the script dfree (which must be made executable) could be:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+  
+@@ -1962,7 +1962,7 @@
+ .fi
+ or perhaps (on Sys V based systems):
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+  
+@@ -1971,144 +1971,144 @@
+ 
+ .fi
+ Note that you may have to replace the command names with full path names on some systems.
+-&#8962;sp
++.sp
+ By default internal routines for determining the disk capacity and remaining space will be used.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIdfree command&#9619;fR = /usr/local/samba/bin/dfree \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdfree command\fR = /usr/local/samba/bin/dfree \fR
++.RE
++.PP
+ directory mode
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for directory mask.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ directory mask (S)
+-&#8962;RS 4
++.RS 4
+ This parameter is the octal modes which are used when converting DOS modes to UNIX modes when creating UNIX directories.
+-&#8962;sp
++.sp
+ When a directory is created, the necessary permissions are calculated according to the mapping from DOS modes to UNIX permissions, and the resulting UNIX mode is then bit-wise 'AND'ed with this parameter. This parameter may be thought of as a bit-wise MASK for the UNIX modes of a directory. Any bit
+ \fBnot\fR
+ set here will be removed from the modes set on a directory when it is created.
+-&#8962;sp
++.sp
+ The default value of this parameter removes the 'group' and 'other' write bits from the UNIX mode, allowing only the user who owns the directory to modify it.
+-&#8962;sp
++.sp
+ Following this Samba will bit-wise 'OR' the UNIX mode created from this parameter with the value of the
+ force directory mode parameter. This parameter is set to 000 by default (i.e. no extra mode bits are added).
+-&#8962;sp
++.sp
+ Note that this parameter does not apply to permissions set by Windows NT/2000 ACL editors. If the administrator wishes to enforce a mask on access control lists also, they need to set the
+ directory security mask.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdirectory mask&#9619;fR = 0755 \fR
+-&#8962;sp
++\fB\fIdirectory mask\fR = 0755 \fR
++.sp
+ Example:
+-\fB&#9619;fIdirectory mask&#9619;fR = 0775 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdirectory mask\fR = 0775 \fR
++.RE
++.PP
+ directory security mask (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls what UNIX permission bits will be set when a Windows NT client is manipulating the UNIX permission on a directory using the native NT security dialog box.
+-&#8962;sp
++.sp
+ This parameter is applied as a mask (AND'ed with) to the incoming permission bits, thus resetting any bits not in this mask. Make sure not to mix up this parameter with
+ force directory security mode, which works similar like this one but uses logical OR instead of AND. Essentially, zero bits in this mask are a set of bits that will always be set to zero.
+-&#8962;sp
++.sp
+ Essentially, all bits set to zero in this mask will result in setting to zero the corresponding bits on the file permissions regardless of the previous status of this bits on the file.
+-&#8962;sp
++.sp
+ If not set explicitly this parameter is set to 0777 meaning a user is allowed to set all the user/group/world permissions on a directory.
+-&#8962;sp
++.sp
+ \fBNote\fR
+ that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. Administrators of most normal systems will probably want to leave it as the default of
+-&#9619;fB0777&#9619;fR.
+-&#8962;sp
++\fB0777\fR.
++.sp
+ Default:
+-\fB&#9619;fIdirectory security mask&#9619;fR = 0777 \fR
+-&#8962;sp
++\fB\fIdirectory security mask\fR = 0777 \fR
++.sp
+ Example:
+-\fB&#9619;fIdirectory security mask&#9619;fR = 0700 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdirectory security mask\fR = 0700 \fR
++.RE
++.PP
+ disable netbios (G)
+-&#8962;RS 4
++.RS 4
+ Enabling this parameter will disable netbios support in Samba. Netbios is the only available form of browsing in all windows versions except for 2000 and XP.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Clients that only support netbios won't be able to see your samba server when netbios support is disabled.
+ 
+ Default:
+-\fB&#9619;fIdisable netbios&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdisable netbios\fR = no \fR
++.RE
++.PP
+ disable spoolss (G)
+-&#8962;RS 4
++.RS 4
+ Enabling this parameter will disable Samba's support for the SPOOLSS set of MS-RPC's and will yield identical behavior as Samba 2.0.x. Windows NT/2000 clients will downgrade to using Lanman style printing commands. Windows 9x/ME will be unaffected by the parameter. However, this will also disable the ability to upload printer drivers to a Samba server via the Windows NT Add Printer Wizard or by using the NT printer properties dialog window. It will also disable the capability of Windows NT/2000 clients to download print drivers from the Samba host upon demand.
+ \fBBe very careful about enabling this parameter.\fR
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdisable spoolss&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdisable spoolss\fR = no \fR
++.RE
++.PP
+ display charset (G)
+-&#8962;RS 4
++.RS 4
+ Specifies the charset that samba will use to print messages to stdout and stderr. The default value is "LOCALE", which means automatically set, depending on the current locale. The value should generally be the same as the value of the parameter
+ unix charset.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdisplay charset&#9619;fR = "LOCALE" or "ASCII" (depending on the system) \fR
+-&#8962;sp
++\fB\fIdisplay charset\fR = "LOCALE" or "ASCII" (depending on the system) \fR
++.sp
+ Example:
+-\fB&#9619;fIdisplay charset&#9619;fR = UTF8 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdisplay charset\fR = UTF8 \fR
++.RE
++.PP
+ dmapi support (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies whether Samba should use DMAPI to determine whether a file is offline or not. This would typically be used in conjunction with a hierarchical storage system that automatically migrates files to tape.
+-&#8962;sp
++.sp
+ Note that Samba infers the status of a file by examining the events that a DMAPI application has registered interest in. This heuristic is satisfactory for a number of hierarchical storage systems, but there may be system for which it will fail. In this case, Samba may erroneously report files to be offline.
+-&#8962;sp
++.sp
+ This parameter is only available if a supported DMAPI implementation was found at compilation time. It will only be used if DMAPI is found to enabled on the system at run time.
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdmapi support&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdmapi support\fR = no \fR
++.RE
++.PP
+ dns proxy (G)
+-&#8962;RS 4
++.RS 4
+ Specifies that
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ when acting as a WINS server and finding that a NetBIOS name has not been registered, should treat the NetBIOS name word-for-word as a DNS name and do a lookup with the DNS server for that name on behalf of the name-querying client.
+-&#8962;sp
++.sp
+ Note that the maximum length for a NetBIOS name is 15 characters, so the DNS name (or DNS alias) can likewise only be 15 characters, maximum.
+-&#8962;sp
++.sp
+ nmbd
+ spawns a second copy of itself to do the DNS name lookup requests, as doing a name lookup is a blocking action.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdns proxy&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdns proxy\fR = yes \fR
++.RE
++.PP
+ domain logons (G)
+-&#8962;RS 4
++.RS 4
+ If set to
+-&#9619;fByes&#9619;fR, the Samba server will provide the netlogon service for Windows 9X network logons for the
++\fByes\fR, the Samba server will provide the netlogon service for Windows 9X network logons for the
+ workgroup it is in. This will also cause the Samba server to act as a domain controller for NT4 style domain services. For more details on setting up this feature see the Domain Control chapter of the Samba HOWTO Collection.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdomain logons&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdomain logons\fR = no \fR
++.RE
++.PP
+ domain master (G)
+-&#8962;RS 4
++.RS 4
+ Tell
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ to enable WAN-wide browse list collation. Setting this option causes
+ nmbd
+ to claim a special domain specific NetBIOS name that identifies it as a domain master browser for its given
+@@ -2116,424 +2116,424 @@
+ workgroup on broadcast-isolated subnets will give this
+ nmbd
+ their local browse lists, and then ask
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ for a complete copy of the browse list for the whole wide area network. Browser clients will then contact their local master browser, and will receive the domain-wide browse list, instead of just the list for their broadcast-isolated subnet.
+-&#8962;sp
++.sp
+ Note that Windows NT Primary Domain Controllers expect to be able to claim this
+ workgroup specific special NetBIOS name that identifies them as domain master browsers for that
+ workgroup by default (i.e. there is no way to prevent a Windows NT PDC from attempting to do this). This means that if this parameter is set and
+ nmbd
+ claims the special name for a
+ workgroup before a Windows NT PDC is able to do so then cross subnet browsing will behave strangely and may fail.
+-&#8962;sp
++.sp
+ If
+ domain logons = yes, then the default behavior is to enable the
+ domain master parameter. If
+ domain logons is not enabled (the default setting), then neither will
+ domain master be enabled by default.
+-&#8962;sp
++.sp
+ When
+ domain logons = Yes the default setting for this parameter is Yes, with the result that Samba will be a PDC. If
+ domain master = No, Samba will function as a BDC. In general, this parameter should be set to 'No' only on a BDC.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdomain master&#9619;fR = auto \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdomain master\fR = auto \fR
++.RE
++.PP
+ dont descend (S)
+-&#8962;RS 4
++.RS 4
+ There are certain directories on some systems (e.g., the
+-&#9619;fI/proc&#9619;fR
++\fI/proc\fR
+ tree under Linux) that are either not of interest to clients or are infinitely deep (recursive). This parameter allows you to specify a comma-delimited list of directories that the server should always show as empty.
+-&#8962;sp
++.sp
+ Note that Samba can be very fussy about the exact format of the "dont descend" entries. For example you may need
+-&#9619;fI ./proc&#9619;fR
++\fI ./proc\fR
+ instead of just
+-&#9619;fI/proc&#9619;fR. Experimentation is the best policy :-)
+-&#8962;sp
++\fI/proc\fR. Experimentation is the best policy :-)
++.sp
+ Default:
+-\fB&#9619;fIdont descend&#9619;fR = \fR
+-&#8962;sp
++\fB\fIdont descend\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIdont descend&#9619;fR = /proc,/dev \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdont descend\fR = /proc,/dev \fR
++.RE
++.PP
+ dos charset (G)
+-&#8962;RS 4
++.RS 4
+ DOS SMB clients assume the server has the same charset as they do. This option specifies which charset Samba should talk to DOS clients.
+-&#8962;sp
++.sp
+ The default depends on which charsets you have installed. Samba tries to use charset 850 but falls back to ASCII in case it is not available. Run
+-&#9619;fBtestparm&#9619;fR(1)
++\fBtestparm\fR(1)
+ to check the default on your system.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dos filemode (S)
+-&#8962;RS 4
++.RS 4
+ The default behavior in Samba is to provide UNIX-like behavior where only the owner of a file/directory is able to change the permissions on it. However, this behavior is often confusing to DOS/Windows users. Enabling this parameter allows a user who has write access to the file (by whatever means) to modify the permissions (including ACL) on it. Note that a user belonging to the group owning the file will not be allowed to change permissions if the group is only granted read access. Ownership of the file/directory may also be changed.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdos filemode&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdos filemode\fR = no \fR
++.RE
++.PP
+ dos filetime resolution (S)
+-&#8962;RS 4
++.RS 4
+ Under the DOS and Windows FAT filesystem, the finest granularity on time resolution is two seconds. Setting this parameter for a share causes Samba to round the reported time down to the nearest two second boundary when a query call that requires one second resolution is made to
+-&#9619;fBsmbd&#9619;fR(8).
+-&#8962;sp
++\fBsmbd\fR(8).
++.sp
+ This option is mainly used as a compatibility option for Visual C++ when used against Samba shares. If oplocks are enabled on a share, Visual C++ uses two different time reading calls to check if a file has changed since it was last read. One of these calls uses a one-second granularity, the other uses a two second granularity. As the two second call rounds any odd second down, then if the file has a timestamp of an odd number of seconds then the two timestamps will not match and Visual C++ will keep reporting the file has changed. Setting this option causes the two timestamps to match, and Visual C++ is happy.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdos filetime resolution&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdos filetime resolution\fR = no \fR
++.RE
++.PP
+ dos filetimes (S)
+-&#8962;RS 4
++.RS 4
+ Under DOS and Windows, if a user can write to a file they can change the timestamp on it. Under POSIX semantics, only the owner of the file or root may change the timestamp. By default, Samba runs with POSIX semantics and refuses to change the timestamp on a file if the user
+ smbd
+ is acting on behalf of is not the file owner. Setting this option to
+-&#9619;fB yes&#9619;fR
++\fB yes\fR
+ allows DOS semantics and
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will change the file timestamp as DOS requires. Due to changes in Microsoft Office 2000 and beyond, the default for this parameter has been changed from "no" to "yes" in Samba 3.0.14 and above. Microsoft Excel will display dialog box warnings about the file being changed by another user if this parameter is not set to "yes" and files are being shared between users.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIdos filetimes&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIdos filetimes\fR = yes \fR
++.RE
++.PP
+ ea support (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will allow clients to attempt to store OS/2 style Extended attributes on a share. In order to enable this parameter the underlying filesystem exported by the share must support extended attributes (such as provided on XFS and EXT3 on Linux, with the correct kernel patches). On Linux the filesystem must have been mounted with the mount option user_xattr in order for extended attributes to work, also extended attributes must be compiled into the Linux kernel.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIea support&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIea support\fR = no \fR
++.RE
++.PP
+ enable asu support (G)
+-&#8962;RS 4
++.RS 4
+ Hosts running the "Advanced Server for Unix (ASU)" product require some special accomodations such as creating a builting [ADMIN$] share that only supports IPC connections. The has been the default behavior in smbd for many years. However, certain Microsoft applications such as the Print Migrator tool require that the remote server support an [ADMIN$} file share. Disabling this parameter allows for creating an [ADMIN$] file share in smb.conf.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIenable asu support&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIenable asu support\fR = no \fR
++.RE
++.PP
+ enable privileges (G)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether or not smbd will honor privileges assigned to specific SIDs via either
+ net rpc rights
+ or one of the Windows user and group manager tools. This parameter is enabled by default. It can be disabled to prevent members of the Domain Admins group from being able to assign privileges to users or groups which can then result in certain smbd operations running as root that would normally run under the context of the connected user.
+-&#8962;sp
++.sp
+ An example of how privileges can be used is to assign the right to join clients to a Samba controlled domain without providing root access to the server via smbd.
+-&#8962;sp
++.sp
+ Please read the extended description provided in the Samba HOWTO documentation.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIenable privileges&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIenable privileges\fR = yes \fR
++.RE
++.PP
+ encrypt passwords (G)
+-&#8962;RS 4
++.RS 4
+ This boolean controls whether encrypted passwords will be negotiated with the client. Note that Windows NT 4.0 SP3 and above and also Windows 98 will by default expect encrypted passwords unless a registry entry is changed. To use encrypted passwords in Samba see the chapter "User Database" in the Samba HOWTO Collection.
+-&#8962;sp
++.sp
+ MS Windows clients that expect Microsoft encrypted passwords and that do not have plain text password support enabled will be able to connect only to a Samba server that has encrypted password support enabled and for which the user accounts have a valid encrypted password. Refer to the smbpasswd command man page for information regarding the creation of encrypted passwords for user accounts.
+-&#8962;sp
++.sp
+ The use of plain text passwords is NOT advised as support for this feature is no longer maintained in Microsoft Windows products. If you want to use plain text passwords you must set this parameter to no.
+-&#8962;sp
++.sp
+ In order for encrypted passwords to work correctly
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ must either have access to a local
+-&#9619;fBsmbpasswd&#9619;fR(5)
++\fBsmbpasswd\fR(5)
+ file (see the
+-&#9619;fBsmbpasswd&#9619;fR(8)
++\fBsmbpasswd\fR(8)
+ program for information on how to set up and maintain this file), or set the
+ security = [server|domain|ads] parameter which causes
+ smbd
+ to authenticate against another server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIencrypt passwords&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIencrypt passwords\fR = yes \fR
++.RE
++.PP
+ enhanced browsing (G)
+-&#8962;RS 4
++.RS 4
+ This option enables a couple of enhancements to cross-subnet browse propagation that have been added in Samba but which are not standard in Microsoft implementations.
+-&#8962;sp
++.sp
+ The first enhancement to browse propagation consists of a regular wildcard query to a Samba WINS server for all Domain Master Browsers, followed by a browse synchronization with each of the returned DMBs. The second enhancement consists of a regular randomised browse synchronization with all currently known DMBs.
+-&#8962;sp
++.sp
+ You may wish to disable this option if you have a problem with empty workgroups not disappearing from browse lists. Due to the restrictions of the browse protocols these enhancements can cause a empty workgroup to stay around forever which can be annoying.
+-&#8962;sp
++.sp
+ In general you should leave this option enabled as it makes cross-subnet browse propagation much more reliable.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIenhanced browsing&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIenhanced browsing\fR = yes \fR
++.RE
++.PP
+ enumports command (G)
+-&#8962;RS 4
+-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--&#9619;fB"Samba Printer Port"&#9619;fR. Under Windows NT/2000, all printers must have a valid port name. If you wish to have a list of ports displayed (smbd
++.RS 4
++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
+ does not use a port name for anything) other than the default
+-&#9619;fB"Samba Printer Port"&#9619;fR, you can define
+-&#9619;fIenumports command&#9619;fR
++\fB"Samba Printer Port"\fR, you can define
++\fIenumports command\fR
+ to point to a program which should generate a list of ports, one per line, to standard output. This listing will then be used in response to the level 1 and 2 EnumPorts() RPC.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIenumports command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIenumports command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIenumports command&#9619;fR = /usr/bin/listports \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIenumports command\fR = /usr/bin/listports \fR
++.RE
++.PP
+ eventlog list (G)
+-&#8962;RS 4
++.RS 4
+ This option defines a list of log names that Samba will report to the Microsoft EventViewer utility. The listed eventlogs will be associated with tdb file on disk in the
+-&#9619;fI$(lockdir)/eventlog&#9619;fR.
+-&#8962;sp
++\fI$(lockdir)/eventlog\fR.
++.sp
+ The administrator must use an external process to parse the normal Unix logs such as
+-&#9619;fI/var/log/messages&#9619;fR
++\fI/var/log/messages\fR
+ and write then entries to the eventlog tdb files. Refer to the eventlogadm(8) utility for how to write eventlog entries.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIeventlog list&#9619;fR = \fR
+-&#8962;sp
++\fB\fIeventlog list\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIeventlog list&#9619;fR = Security Application Syslog Apache \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIeventlog list\fR = Security Application Syslog Apache \fR
++.RE
++.PP
+ fake directory create times (S)
+-&#8962;RS 4
++.RS 4
+ NTFS and Windows VFAT file systems keep a create time for all files and directories. This is not the same as the ctime - status change time - that Unix keeps, so Samba by default reports the earliest of the various times Unix does keep. Setting this parameter for a share causes Samba to always report midnight 1-1-1980 as the create time for directories.
+-&#8962;sp
++.sp
+ This option is mainly used as a compatibility option for Visual C++ when used against Samba shares. Visual C++ generated makefiles have the object directory as a dependency for each object file, and a make rule to create the directory. Also, when NMAKE compares timestamps it uses the creation time when examining a directory. Thus the object directory will be created if it does not exist, but once it does exist it will always have an earlier timestamp than the object files it contains.
+-&#8962;sp
++.sp
+ However, Unix time semantics mean that the create time reported by Samba will be updated whenever a file is created or or deleted in the directory. NMAKE finds all object files in the object directory. The timestamp of the last one built is then compared to the timestamp of the object directory. If the directory's timestamp if newer, then all object files will be rebuilt. Enabling this option ensures directories always predate their contents and an NMAKE build will proceed as expected.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIfake directory create times&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIfake directory create times\fR = no \fR
++.RE
++.PP
+ fake oplocks (S)
+-&#8962;RS 4
++.RS 4
+ Oplocks are the way that SMB clients get permission from a server to locally cache file operations. If a server grants an oplock (opportunistic lock) then the client is free to assume that it is the only one accessing the file and it will aggressively cache file data. With some oplock types the client may even cache file open/close operations. This can give enormous performance benefits.
+-&#8962;sp
++.sp
+ When you set
+ fake oplocks = yes,
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will always grant oplock requests no matter how many clients are using the file.
+-&#8962;sp
++.sp
+ It is generally much better to use the real
+ oplocks support rather than this parameter.
+-&#8962;sp
++.sp
+ If you enable this option on all read-only shares or shares that you know will only be accessed from one client at a time such as physically read-only media like CDROMs, you will see a big performance improvement on many operations. If you enable this option on shares where multiple clients may be accessing the files read-write at the same time you can get data corruption. Use this option carefully!
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIfake oplocks&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIfake oplocks\fR = no \fR
++.RE
++.PP
+ follow symlinks (S)
+-&#8962;RS 4
++.RS 4
+ This parameter allows the Samba administrator to stop
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ from following symbolic links in a particular share. Setting this parameter to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ prevents any file or directory that is a symbolic link from being followed (the user will get an error). This option is very useful to stop users from adding a symbolic link to
+-&#9619;fI/etc/passwd&#9619;fR
++\fI/etc/passwd\fR
+ in their home directory for instance. However it will slow filename lookups down slightly.
+-&#8962;sp
++.sp
+ This option is enabled (i.e.
+ smbd
+ will follow symbolic links) by default.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIfollow symlinks&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIfollow symlinks\fR = yes \fR
++.RE
++.PP
+ force create mode (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies a set of UNIX mode bit permissions that will
+ \fBalways\fR
+ be set on a file created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a file that is being created or having its permissions changed. The default for this parameter is (in octal) 000. The modes in this parameter are bitwise 'OR'ed onto the file mode after the mask set in the
+-&#9619;fIcreate mask&#9619;fR
++\fIcreate mask\fR
+ parameter is applied.
+-&#8962;sp
++.sp
+ The example below would force all created files to have read and execute permissions set for 'group' and 'other' as well as the read/write/execute bits set for the 'user'.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIforce create mode&#9619;fR = 000 \fR
+-&#8962;sp
++\fB\fIforce create mode\fR = 000 \fR
++.sp
+ Example:
+-\fB&#9619;fIforce create mode&#9619;fR = 0755 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce create mode\fR = 0755 \fR
++.RE
++.PP
+ force directory mode (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies a set of UNIX mode bit permissions that will
+ \fBalways\fR
+ be set on a directory created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a directory that is being created. The default for this parameter is (in octal) 0000 which will not add any extra permission bits to a created directory. This operation is done after the mode mask in the parameter
+-&#9619;fIdirectory mask&#9619;fR
++\fIdirectory mask\fR
+ is applied.
+-&#8962;sp
++.sp
+ The example below would force all created directories to have read and execute permissions set for 'group' and 'other' as well as the read/write/execute bits set for the 'user'.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIforce directory mode&#9619;fR = 000 \fR
+-&#8962;sp
++\fB\fIforce directory mode\fR = 000 \fR
++.sp
+ Example:
+-\fB&#9619;fIforce directory mode&#9619;fR = 0755 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce directory mode\fR = 0755 \fR
++.RE
++.PP
+ force directory security mode (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls what UNIX permission bits can be modified when a Windows NT client is manipulating the UNIX permission on a directory using the native NT security dialog box.
+-&#8962;sp
++.sp
+ This parameter is applied as a mask (OR'ed with) to the changed permission bits, thus forcing any bits in this mask that the user may have modified to be on. Make sure not to mix up this parameter with
+ directory security mask, which works in a similar manner to this one, but uses a logical AND instead of an OR.
+-&#8962;sp
++.sp
+ Essentially, this mask may be treated as a set of bits that, when modifying security on a directory, to will enable (1) any flags that are off (0) but which the mask has set to on (1).
+-&#8962;sp
++.sp
+ If not set explicitly this parameter is 0000, which allows a user to modify all the user/group/world permissions on a directory without restrictions.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. Administrators of most normal systems will probably want to leave it set as 0000.
+ 
+ Default:
+-\fB&#9619;fIforce directory security mode&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIforce directory security mode\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIforce directory security mode&#9619;fR = 700 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce directory security mode\fR = 700 \fR
++.RE
++.PP
+ group
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for force group.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ force group (S)
+-&#8962;RS 4
++.RS 4
+ This specifies a UNIX group name that will be assigned as the default primary group for all users connecting to this service. This is useful for sharing files by ensuring that all access to files on service will use the named group for their permissions checking. Thus, by assigning permissions for this group to the files and directories within this service the Samba administrator can restrict or allow sharing of these files.
+-&#8962;sp
++.sp
+ In Samba 2.0.5 and above this parameter has extended functionality in the following way. If the group name listed here has a '+' character prepended to it then the current user accessing the share only has the primary group default assigned to this group if they are already assigned as a member of that group. This allows an administrator to decide that only users who are already in a particular group will create files with group ownership set to that group. This gives a finer granularity of ownership assignment. For example, the setting
+-&#9619;fIforce group = +sys&#9619;fR
++\fIforce group = +sys\fR
+ means that only users who are already in group sys will have their default primary group assigned to sys when accessing this Samba share. All other users will retain their ordinary primary group.
+-&#8962;sp
++.sp
+ If the
+ force user parameter is also set the group specified in
+-&#9619;fIforce group&#9619;fR
++\fIforce group\fR
+ will override the primary group set in
+-&#9619;fIforce user&#9619;fR.
+-&#8962;sp
++\fIforce user\fR.
++.sp
+ Default:
+-\fB&#9619;fIforce group&#9619;fR = \fR
+-&#8962;sp
++\fB\fIforce group\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIforce group&#9619;fR = agroup \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce group\fR = agroup \fR
++.RE
++.PP
+ force printername (S)
+-&#8962;RS 4
++.RS 4
+ When printing from Windows NT (or later), each printer in
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ has two associated names which can be used by the client. The first is the sharename (or shortname) defined in smb.conf. This is the only printername available for use by Windows 9x clients. The second name associated with a printer can be seen when browsing to the "Printers" (or "Printers and Faxes") folder on the Samba server. This is referred to simply as the printername (not to be confused with the
+-&#9619;fIprinter name&#9619;fR
++\fIprinter name\fR
+ option).
+-&#8962;sp
++.sp
+ When assigning a new driver to a printer on a remote Windows compatible print server such as Samba, the Windows client will rename the printer to match the driver name just uploaded. This can result in confusion for users when multiple printers are bound to the same driver. To prevent Samba from allowing the printer's printername to differ from the sharename defined in smb.conf, set
+-&#9619;fIforce printername = yes&#9619;fR.
+-&#8962;sp
++\fIforce printername = yes\fR.
++.sp
+ Be aware that enabling this parameter may affect migrating printers from a Windows server to Samba since Windows has no way to force the sharename and printername to match.
+-&#8962;sp
++.sp
+ It is recommended that this parameter's value not be changed once the printer is in use by clients as this could cause a user not be able to delete printer connections from their local Printers folder.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIforce printername&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce printername\fR = no \fR
++.RE
++.PP
+ force security mode (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls what UNIX permission bits can be modified when a Windows NT client is manipulating the UNIX permission on a file using the native NT security dialog box.
+-&#8962;sp
++.sp
+ This parameter is applied as a mask (OR'ed with) to the changed permission bits, thus forcing any bits in this mask that the user may have modified to be on. Make sure not to mix up this parameter with
+ security mask, which works similar like this one but uses logical AND instead of OR.
+-&#8962;sp
++.sp
+ Essentially, one bits in this mask may be treated as a set of bits that, when modifying security on a file, the user has always set to be on.
+-&#8962;sp
++.sp
+ If not set explicitly this parameter is set to 0, and allows a user to modify all the user/group/world permissions on a file, with no restrictions.
+-&#8962;sp
++.sp
+ \fB Note\fR
+ that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. Administrators of most normal systems will probably want to leave this set to 0000.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIforce security mode&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIforce security mode\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIforce security mode&#9619;fR = 700 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce security mode\fR = 700 \fR
++.RE
++.PP
+ force unknown acl user (S)
+-&#8962;RS 4
++.RS 4
+ If this parameter is set, a Windows NT ACL that contains an unknown SID (security descriptor, or representation of a user or group id) as the owner or group owner of the file will be silently mapped into the current UNIX uid or gid of the currently connected user.
+-&#8962;sp
++.sp
+ This is designed to allow Windows NT clients to copy files and folders containing ACLs that were created locally on the client machine and contain users local to that machine only (no domain users) to be copied to a Samba server (usually with XCOPY /O) and have the unknown userid and groupid of the file owner map to the current connected user. This can only be fixed correctly when winbindd allows arbitrary mapping from any Windows NT SID to a UNIX uid or gid.
+-&#8962;sp
++.sp
+ Try using this parameter when XCOPY /O gives an ACCESS_DENIED error.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIforce unknown acl user&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce unknown acl user\fR = no \fR
++.RE
++.PP
+ force user (S)
+-&#8962;RS 4
++.RS 4
+ This specifies a UNIX user name that will be assigned as the default user for all users connecting to this service. This is useful for sharing files. You should also use it carefully as using it incorrectly can cause security problems.
+-&#8962;sp
++.sp
+ This user name only gets used once a connection is established. Thus clients still need to connect as a valid user and supply a valid password. Once connected, all file operations will be performed as the "forced user", no matter what username the client connected as. This can be very useful.
+-&#8962;sp
++.sp
+ In Samba 2.0.5 and above this parameter also causes the primary group of the forced user to be used as the primary group for all file activity. Prior to 2.0.5 the primary group was left as the primary group of the connecting user (this was a bug).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIforce user&#9619;fR = \fR
+-&#8962;sp
++\fB\fIforce user\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIforce user&#9619;fR = auser \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIforce user\fR = auser \fR
++.RE
++.PP
+ fstype (S)
+-&#8962;RS 4
++.RS 4
+ This parameter allows the administrator to configure the string that specifies the type of filesystem a share is using that is reported by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when a client queries the filesystem type for a share. The default type is
+-&#9619;fBNTFS&#9619;fR
++\fBNTFS\fR
+ for compatibility with Windows NT but this can be changed to other strings such as
+-&#9619;fBSamba&#9619;fR
++\fBSamba\fR
+ or
+-&#9619;fBFAT&#9619;fR
++\fBFAT\fR
+ if required.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIfstype&#9619;fR = NTFS \fR
+-&#8962;sp
++\fB\fIfstype\fR = NTFS \fR
++.sp
+ Example:
+-\fB&#9619;fIfstype&#9619;fR = Samba \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIfstype\fR = Samba \fR
++.RE
++.PP
+ get quota command (G)
+-&#8962;RS 4
++.RS 4
+ The
+ get quota command
+ should only be used whenever there is no operating system API available from the OS that samba can use.
+-&#8962;sp
++.sp
+ This option is only available with
+ ./configure --with-sys-quotas. Or on linux when
+ ./configure --with-quotas
+ was used and a working quota api was found in the system.
+-&#8962;sp
++.sp
+ This parameter should specify the path to a script that queries the quota information for the specified user/group for the partition that the specified directory is on.
+-&#8962;sp
++.sp
+ Such a script should take 3 arguments:
+ \(bu
+ directory
+@@ -2543,7 +2543,7 @@
+ .TP
+ \(bu
+ uid of user or gid of group
+-&#8962;IP "" 4
++.IP "" 4
+ The type of query can be one of :
+ \(bu
+ 1 - user quotas
+@@ -2556,7 +2556,7 @@
+ .TP
+ \(bu
+ 4 - group default quotas (gid = -1)
+-&#8962;IP "" 4
++.IP "" 4
+ This script should print one line as output with spaces between the arguments. The arguments are:
+ \(bu
+ Arg 1 - quota flags (0 = no quotas, 1 = quotas enabled, 2 = quotas enabled and enforced)
+@@ -2581,113 +2581,113 @@
+ .TP
+ \(bu
+ Arg 8(optional) - the number of bytes in a block(default is 1024)
+-&#8962;IP "" 4
++.IP "" 4
+ Default:
+-\fB&#9619;fIget quota command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIget quota command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIget quota command&#9619;fR = /usr/local/sbin/query_quota \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIget quota command\fR = /usr/local/sbin/query_quota \fR
++.RE
++.PP
+ getwd cache (G)
+-&#8962;RS 4
++.RS 4
+ 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
+ wide smbconfoptions parameter is set to
+-&#9619;fBno&#9619;fR.
+-&#8962;sp
++\fBno\fR.
++.sp
+ Default:
+-\fB&#9619;fIgetwd cache&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIgetwd cache\fR = yes \fR
++.RE
++.PP
+ guest account (G)
+-&#8962;RS 4
++.RS 4
+ This is a username which will be used for access to services which are specified as
+ guest ok (see below). Whatever privileges this user has will be available to any client connecting to the guest service. This user must exist in the password file, but does not require a valid login. The user account "ftp" is often a good choice for this parameter.
+-&#8962;sp
++.sp
+ On some systems the default guest account "nobody" may not be able to print. Use another account in this case. You should test this by trying to log in as your guest user (perhaps by using the
+ su -
+ command) and trying to print using the system print command such as
+ lpr(1)
+ or
+ lp(1).
+-&#8962;sp
++.sp
+ This parameter does not accept % macros, because many parts of the system require this value to be constant for correct operation.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIguest account&#9619;fR = nobody # default can be changed at compile-time \fR
+-&#8962;sp
++\fB\fIguest account\fR = nobody # default can be changed at compile-time \fR
++.sp
+ Example:
+-\fB&#9619;fIguest account&#9619;fR = ftp \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIguest account\fR = ftp \fR
++.RE
++.PP
+ public
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for guest ok.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ guest ok (S)
+-&#8962;RS 4
++.RS 4
+ If this parameter is
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ for a service, then no password is required to connect to the service. Privileges will be those of the
+ guest account.
+-&#8962;sp
++.sp
+ This paramater nullifies the benifits of setting
+ restrict anonymous = 2
+-&#8962;sp
++.sp
+ See the section below on
+ security for more information about this option.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIguest ok&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIguest ok\fR = no \fR
++.RE
++.PP
+ only guest
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for guest only.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ guest only (S)
+-&#8962;RS 4
++.RS 4
+ If this parameter is
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ for a service, then only guest connections to the service are permitted. This parameter will have no effect if
+ guest ok is not set for the service.
+-&#8962;sp
++.sp
+ See the section below on
+ security for more information about this option.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIguest only&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIguest only\fR = no \fR
++.RE
++.PP
+ hide dot files (S)
+-&#8962;RS 4
++.RS 4
+ This is a boolean parameter that controls whether files starting with a dot appear as hidden files.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhide dot files&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhide dot files\fR = yes \fR
++.RE
++.PP
+ hide files (S)
+-&#8962;RS 4
++.RS 4
+ This is a list of files or directories that are not visible but are accessible. The DOS 'hidden' attribute is applied to any files or directories that match.
+-&#8962;sp
++.sp
+ Each entry in the list must be separated by a '/', which allows spaces to be included in the entry. '*' and '?' can be used to specify multiple files or directories as in DOS wildcards.
+-&#8962;sp
++.sp
+ Each entry must be a Unix path, not a DOS path and must not include the Unix directory separator '/'.
+-&#8962;sp
++.sp
+ Note that the case sensitivity option is applicable in hiding files.
+-&#8962;sp
++.sp
+ Setting this parameter will affect the performance of Samba, as it will be forced to check all files and directories for a match as they are scanned.
+-&#8962;sp
++.sp
+ The example shown above is based on files that the Macintosh SMB client (DAVE) available from
+ Thursby
+ creates for internal use, and also still hides all files beginning with a dot.
+-&#8962;sp
++.sp
+ An example of us of this parameter is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -2695,46 +2695,46 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhide files&#9619;fR = # no file are hidden \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhide files\fR = # no file are hidden \fR
++.RE
++.PP
+ hide special files (S)
+-&#8962;RS 4
++.RS 4
+ This parameter prevents clients from seeing special files such as sockets, devices and fifo's in directory listings.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhide special files&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhide special files\fR = no \fR
++.RE
++.PP
+ hide unreadable (S)
+-&#8962;RS 4
++.RS 4
+ This parameter prevents clients from seeing the existance of files that cannot be read. Defaults to off.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhide unreadable&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhide unreadable\fR = no \fR
++.RE
++.PP
+ hide unwriteable files (S)
+-&#8962;RS 4
++.RS 4
+ This parameter prevents clients from seeing the existance of files that cannot be written to. Defaults to off. Note that unwriteable directories are shown as usual.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhide unwriteable files&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhide unwriteable files\fR = no \fR
++.RE
++.PP
+ homedir map (G)
+-&#8962;RS 4
++.RS 4
+ If
+ nis homedir is
+-&#9619;fByes&#9619;fR, and
+-&#9619;fBsmbd&#9619;fR(8)
++\fByes\fR, and
++\fBsmbd\fR(8)
+ is also acting as a Win95/98
+-&#9619;fIlogon server&#9619;fR
++\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 auto.home map format is understood. The form of the map is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -2742,200 +2742,200 @@
+ 
+ .fi
+ and the program will extract the servername from before the first ':'. There should probably be a better parsing system that copes with different map formats and also Amd (another automounter) maps.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ A working NIS client is required on the system for this option to work.
+ 
+ Default:
+-\fB&#9619;fIhomedir map&#9619;fR = \fR
+-&#8962;sp
++\fB\fIhomedir map\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIhomedir map&#9619;fR = amd.homedir \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhomedir map\fR = amd.homedir \fR
++.RE
++.PP
+ host msdfs (G)
+-&#8962;RS 4
++.RS 4
+ If set to
+-&#9619;fByes&#9619;fR, Samba will act as a Dfs server, and allow Dfs-aware clients to browse Dfs trees hosted on the server.
+-&#8962;sp
++\fByes\fR, Samba will act as a Dfs server, and allow Dfs-aware clients to browse Dfs trees hosted on the server.
++.sp
+ See also the
+ msdfs root share level parameter. For more information on setting up a Dfs tree on Samba, refer to the MSFDS chapter in the book Samba3-HOWTO.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhost msdfs&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhost msdfs\fR = yes \fR
++.RE
++.PP
+ hostname lookups (G)
+-&#8962;RS 4
++.RS 4
+ Specifies whether samba should use (expensive) hostname lookups or use the ip addresses instead. An example place where hostname lookups are currently used is when checking the
+ hosts deny
+ and
+ hosts allow.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhostname lookups&#9619;fR = no \fR
+-&#8962;sp
++\fB\fIhostname lookups\fR = no \fR
++.sp
+ Example:
+-\fB&#9619;fIhostname lookups&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhostname lookups\fR = yes \fR
++.RE
++.PP
+ allow hosts
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for hosts allow.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hosts allow (S)
+-&#8962;RS 4
++.RS 4
+ A synonym for this parameter is
+ allow hosts.
+-&#8962;sp
++.sp
+ This parameter is a comma, space, or tab delimited set of hosts which are permitted to access a service.
+-&#8962;sp
++.sp
+ If specified in the [global] section then it will apply to all services, regardless of whether the individual service has a different setting.
+-&#8962;sp
++.sp
+ You can specify the hosts by name or IP number. For example, you could restrict access to only the hosts on a Class C subnet with something like
+ allow hosts = 150.203.5.. The full syntax of the list is described in the man page
+-&#9619;fIhosts_access(5)&#9619;fR. Note that this man page may not be present on your system, so a brief description will be given here also.
+-&#8962;sp
++\fIhosts_access(5)\fR. Note that this man page may not be present on your system, so a brief description will be given here also.
++.sp
+ Note that the localhost address 127.0.0.1 will always be allowed access unless specifically denied by a
+ hosts deny option.
+-&#8962;sp
++.sp
+ You can also specify hosts by network/netmask pairs and by netgroup names if your system supports netgroups. The
+ \fBEXCEPT\fR
+ keyword can also be used to limit a wildcard list. The following examples may provide some help:
+-&#8962;sp
++.sp
+ Example 1: allow all IPs in 150.203.*.*; except one
+-&#8962;sp
++.sp
+ hosts allow = 150.203. EXCEPT 150.203.6.66
+-&#8962;sp
++.sp
+ Example 2: allow hosts that match the given network/netmask
+-&#8962;sp
++.sp
+ hosts allow = 150.203.15.0/255.255.255.0
+-&#8962;sp
++.sp
+ Example 3: allow a couple of hosts
+-&#8962;sp
++.sp
+ hosts allow = lapland, arvidsjaur
+-&#8962;sp
++.sp
+ Example 4: allow only hosts in NIS netgroup "foonet", but deny access from one particular host
+-&#8962;sp
++.sp
+ hosts allow = @foonet
+-&#8962;sp
++.sp
+ hosts deny = pirate
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Note that access still requires suitable user-level passwords.
+ 
+ See
+-&#9619;fBtestparm&#9619;fR(1)
++\fBtestparm\fR(1)
+ for a way of testing your host access to see if it does what you expect.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhosts allow&#9619;fR = # none (i.e., all hosts permitted access) \fR
+-&#8962;sp
++\fB\fIhosts allow\fR = # none (i.e., all hosts permitted access) \fR
++.sp
+ Example:
+-\fB&#9619;fIhosts allow&#9619;fR = 150.203.5. myhost.mynet.edu.au \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhosts allow\fR = 150.203.5. myhost.mynet.edu.au \fR
++.RE
++.PP
+ deny hosts
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for hosts deny.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hosts deny (S)
+-&#8962;RS 4
++.RS 4
+ The opposite of
+-&#9619;fIhosts allow&#9619;fR
++\fIhosts allow\fR
+ - hosts listed here are
+ \fBNOT\fR
+ permitted access to services unless the specific services have their own lists to override this one. Where the lists conflict, the
+-&#9619;fIallow&#9619;fR
++\fIallow\fR
+ list takes precedence.
+-&#8962;sp
++.sp
+ In the event that it is necessary to deny all by default, use the keyword ALL (or the netmask
+ 0.0.0.0/0) and then explicitly specify to the
+ hosts allow = hosts allow parameter those hosts that should be permitted access.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIhosts deny&#9619;fR = # none (i.e., no hosts specifically excluded) \fR
+-&#8962;sp
++\fB\fIhosts deny\fR = # none (i.e., no hosts specifically excluded) \fR
++.sp
+ Example:
+-\fB&#9619;fIhosts deny&#9619;fR = 150.203.4. badhost.mynet.edu.au \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIhosts deny\fR = 150.203.4. badhost.mynet.edu.au \fR
++.RE
++.PP
+ idmap alloc backend (G)
+-&#8962;RS 4
++.RS 4
+ The idmap alloc backend provides a plugin interface for Winbind to use when allocating Unix uids/gids for Windows SIDs. This option is to be used in conjunction with the
+-idmap domains parameter and refers to the name of the idmap module which will provide the id allocation functionality. Please refer to the man page for each idmap plugin to determine whether or not the module implements the allocation feature. The most common plugins are the tdb (&#9619;fBidmap_tdb&#9619;fR(8)) and ldap (&#9619;fBidmap_ldap&#9619;fR(8)) libraries.
+-&#8962;sp
++idmap domains parameter and refers to the name of the idmap module which will provide the id allocation functionality. Please refer to the man page for each idmap plugin to determine whether or not the module implements the allocation feature. The most common plugins are the tdb (\fBidmap_tdb\fR(8)) and ldap (\fBidmap_ldap\fR(8)) libraries.
++.sp
+ Also refer to the
+ idmap alloc config option.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIidmap alloc backend&#9619;fR = tdb \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIidmap alloc backend\fR = tdb \fR
++.RE
++.PP
+ idmap alloc config (G)
+-&#8962;RS 4
++.RS 4
+ The idmap alloc config prefix provides a means of managing settings for the backend defined by the
+ idmap alloc backend parameter. Refer to the man page for each idmap plugin regarding specific configuration details.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ idmap backend (G)
+-&#8962;RS 4
++.RS 4
+ The idmap backend provides a plugin interface for Winbind to use varying backends to store SID/uid/gid mapping tables. This option is mutually exclusive with the newer and more flexible
+ idmap domains parameter. The main difference between the "idmap backend" and the "idmap domains" is that the former only allows on backend for all domains while the latter supports configuring backends on a per domain basis.
+-&#8962;sp
+-Examples of SID/uid/gid backends include tdb (&#9619;fBidmap_tdb&#9619;fR(8)), ldap (&#9619;fBidmap_ldap&#9619;fR(8)), rid (&#9619;fBidmap_rid&#9619;fR(8)), and ad (&#9619;fBidmap_tdb&#9619;fR(8)).
+-&#8962;sp
+-Default:
+-\fB&#9619;fIidmap backend&#9619;fR = tdb \fR
+-&#8962;RE
+-&#8962;PP
++.sp
++Examples of SID/uid/gid backends include tdb (\fBidmap_tdb\fR(8)), ldap (\fBidmap_ldap\fR(8)), rid (\fBidmap_rid\fR(8)), and ad (\fBidmap_tdb\fR(8)).
++.sp
++Default:
++\fB\fIidmap backend\fR = tdb \fR
++.RE
++.PP
+ idmap cache time (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the number of seconds that Winbind's idmap interface will cache positive SID/uid/gid query results.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIidmap cache time&#9619;fR = 900 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIidmap cache time\fR = 900 \fR
++.RE
++.PP
+ idmap config (G)
+-&#8962;RS 4
++.RS 4
+ The idmap config prefix provides a means of managing each domain defined by the
+ idmap domains option using Samba's parameteric option support. The idmap config prefix should be followed by the name of the domain, a colon, and a setting specific to the chosen backend. There are three options available for all domains:
+-&#8962;PP
++.PP
+ backend = backend_name
+-&#8962;RS 4
++.RS 4
+ Specifies the name of the idmap plugin to use as the SID/uid/gid backend for this domain.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ default = [yes|no]
+-&#8962;RS 4
++.RS 4
+ The default domain/backend will be used for searching for users and groups not belonging to one of the explicitly listed domains (matched by comparing the account SID and the domain SID).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ readonly = [yes|no]
+-&#8962;RS 4
++.RS 4
+ Mark the domain as readonly which means that no attempts to allocate a uid or gid (by the
+ idmap alloc backend) for any user or group in that domain will be attempted.
+-&#8962;RE
+-&#8962;sp
++.RE
++.sp
+ The following example illustrates how to configure the
+-&#9619;fBidmap_ad&#9619;fR(8)
++\fBidmap_ad\fR(8)
+ for the CORP domain and the
+-&#9619;fBidmap_tdb&#9619;fR(8)
++\fBidmap_tdb\fR(8)
+ backend for all other domains. The TRUSTEDDOMAINS string is simply a key used to reference the "idmap config" settings and does not represent the actual name of a domain.
+ 
+ .nf
+@@ -2951,138 +2951,138 @@
+ 	
+ .fi
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ idmap domains (G)
+-&#8962;RS 4
++.RS 4
+ The idmap domains option defines a list of Windows domains which will each have a separately configured backend for managing Winbind's SID/uid/gid tables. This parameter is mutually exclusive with the older
+ idmap backend option.
+-&#8962;sp
++.sp
+ Values consist of the short domain name for Winbind's primary or collection of trusted domains. You may also use an arbitrary string to represent a catchall domain backend for any domain not explicitly listed.
+-&#8962;sp
++.sp
+ Refer to the
+ idmap config for details about managing the SID/uid/gid backend for each domain.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIidmap domains&#9619;fR = default AD CORP \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIidmap domains\fR = default AD CORP \fR
++.RE
++.PP
+ winbind gid
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for idmap gid.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ idmap gid (G)
+-&#8962;RS 4
++.RS 4
+ The idmap gid parameter specifies the range of group ids that are allocated for the purpose of mapping UNX groups to NT group SIDs. This range of group ids should have no existing local or NIS groups within it as strange conflicts can occur otherwise.
+-&#8962;sp
++.sp
+ See also the
+ idmap backend,
+ idmap domains, and
+ idmap config options.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIidmap gid&#9619;fR = \fR
+-&#8962;sp
++\fB\fIidmap gid\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIidmap gid&#9619;fR = 10000-20000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIidmap gid\fR = 10000-20000 \fR
++.RE
++.PP
+ idmap negative cache time (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the number of seconds that Winbind's idmap interface will cache negative SID/uid/gid query results.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIidmap negative cache time&#9619;fR = 120 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIidmap negative cache time\fR = 120 \fR
++.RE
++.PP
+ winbind uid
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for idmap uid.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ idmap uid (G)
+-&#8962;RS 4
++.RS 4
+ The idmap uid parameter specifies the range of user ids that are allocated for use in mapping UNIX users to NT user SIDs. This range of ids should have no existing local or NIS users within it as strange conflicts can occur otherwise.
+-&#8962;sp
++.sp
+ See also the
+ idmap backend,
+ idmap domains, and
+ idmap config options.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIidmap uid&#9619;fR = \fR
+-&#8962;sp
++\fB\fIidmap uid\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIidmap uid&#9619;fR = 10000-20000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIidmap uid\fR = 10000-20000 \fR
++.RE
++.PP
+ include (G)
+-&#8962;RS 4
++.RS 4
+ This allows you to include one config file inside another. The file is included literally, as though typed in place.
+-&#8962;sp
++.sp
+ It takes the standard substitutions, except
+-&#9619;fI%u&#9619;fR,
+-&#9619;fI%P&#9619;fR
++\fI%u\fR,
++\fI%P\fR
+ and
+-&#9619;fI%S&#9619;fR.
+-&#8962;sp
++\fI%S\fR.
++.sp
+ Default:
+-\fB&#9619;fIinclude&#9619;fR = \fR
+-&#8962;sp
++\fB\fIinclude\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIinclude&#9619;fR = /usr/local/samba/lib/admin_smb.conf \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIinclude\fR = /usr/local/samba/lib/admin_smb.conf \fR
++.RE
++.PP
+ inherit acls (S)
+-&#8962;RS 4
++.RS 4
+ This parameter can be used to ensure that if default acls exist on parent directories, they are always honored when creating a new file or subdirectory in these parent directories. The default behavior is to use the unix mode specified when creating the directory. Enabling this option sets the unix mode to 0777, thus guaranteeing that default directory acls are propagated.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIinherit acls&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIinherit acls\fR = no \fR
++.RE
++.PP
+ inherit owner (S)
+-&#8962;RS 4
++.RS 4
+ The ownership of new files and directories is normally governed by effective uid of the connected user. This option allows the Samba administrator to specify that the ownership for new files and directories should be controlled by the ownership of the parent directory.
+-&#8962;sp
++.sp
+ Common scenarios where this behavior is useful is in implementing drop-boxes where users can create and edit files but not delete them and to ensure that newly create files in a user's roaming profile directory are actually owner by the user.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIinherit owner&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIinherit owner\fR = no \fR
++.RE
++.PP
+ inherit permissions (S)
+-&#8962;RS 4
++.RS 4
+ The permissions on new files and directories are normally governed by
+ create mask,
+ directory mask,
+ force create mode and
+ force directory mode but the boolean inherit permissions parameter overrides this.
+-&#8962;sp
++.sp
+ New directories inherit the mode of the parent directory, including bits such as setgid.
+-&#8962;sp
++.sp
+ New files inherit their read/write bits from the parent directory. Their execute bits continue to be determined by
+ map archive,
+ map hidden and
+ map system as usual.
+-&#8962;sp
++.sp
+ Note that the setuid bit is
+ \fBnever\fR
+ set via inheritance (the code explicitly prohibits this).
+-&#8962;sp
++.sp
+ This can be particularly useful on large systems with many users, perhaps several thousand, to allow a single [homes] share to be used flexibly by each user.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIinherit permissions&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIinherit permissions\fR = no \fR
++.RE
++.PP
+ interfaces (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to override the default network interfaces list that Samba will use for browsing, name registration and other NBT traffic. By default Samba will query the kernel for the list of all active interfaces and use any interfaces except 127.0.0.1 that are broadcast capable.
+-&#8962;sp
++.sp
+ The option takes a list of interface strings. Each string can be in any of the following forms:
+ \(bu
+ a network interface name (such as eth0). This may include shell-like wildcards so eth* will match any interface starting with the substring "eth"
+@@ -3095,251 +3095,251 @@
+ .TP
+ \(bu
+ a broadcast/mask pair.
+-&#8962;IP "" 4
++.IP "" 4
+ The "mask" parameters can either be a bit length (such as 24 for a C class network) or a full netmask in dotted decimal form.
+-&#8962;sp
++.sp
+ The "IP" parameters above can either be a full dotted decimal IP address or a hostname which will be looked up via the OS's normal hostname resolution mechanisms.
+-&#8962;sp
++.sp
+ By default Samba enables all active interfaces that are broadcast capable except the loopback adaptor (IP address 127.0.0.1).
+-&#8962;sp
++.sp
+ The example below configures three network interfaces corresponding to the eth0 device and IP addresses 192.168.2.10 and 192.168.3.10. The netmasks of the latter two interfaces would be set to 255.255.255.0.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIinterfaces&#9619;fR = \fR
+-&#8962;sp
++\fB\fIinterfaces\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIinterfaces&#9619;fR = eth0 192.168.2.10/24 192.168.3.10/255.255.255.0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIinterfaces\fR = eth0 192.168.2.10/24 192.168.3.10/255.255.255.0 \fR
++.RE
++.PP
+ invalid users (S)
+-&#8962;RS 4
++.RS 4
+ This is a list of users that should not be allowed to login to this service. This is really a
+ \fBparanoid\fR
+ check to absolutely ensure an improper setting does not breach your security.
+-&#8962;sp
++.sp
+ A name starting with a '@' is interpreted as an NIS netgroup first (if your system supports NIS), and then as a UNIX group if the name was not found in the NIS netgroup database.
+-&#8962;sp
++.sp
+ A name starting with '+' is interpreted only by looking in the UNIX group database via the NSS getgrnam() interface. A name starting with '&' is interpreted only by looking in the NIS netgroup database (this requires NIS to be working on your system). The characters '+' and '&' may be used at the start of the name in either order so the value
+-&#9619;fI+&group&#9619;fR
++\fI+&group\fR
+ means check the UNIX group database, followed by the NIS netgroup database, and the value
+-&#9619;fI&+group&#9619;fR
++\fI&+group\fR
+ means check the NIS netgroup database, followed by the UNIX group database (the same as the '@' prefix).
+-&#8962;sp
++.sp
+ The current servicename is substituted for
+-&#9619;fI%S&#9619;fR. This is useful in the [homes] section.
+-&#8962;sp
++\fI%S\fR. This is useful in the [homes] section.
++.sp
+ Default:
+-\fB&#9619;fIinvalid users&#9619;fR = # no invalid users \fR
+-&#8962;sp
++\fB\fIinvalid users\fR = # no invalid users \fR
++.sp
+ Example:
+-\fB&#9619;fIinvalid users&#9619;fR = root fred admin @wheel \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIinvalid users\fR = root fred admin @wheel \fR
++.RE
++.PP
+ iprint server (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is only applicable if
+ printing is set to
+-&#9619;fBiprint&#9619;fR.
+-&#8962;sp
++\fBiprint\fR.
++.sp
+ If set, this option overrides the ServerName option in the CUPS
+-&#9619;fIclient.conf&#9619;fR. This is necessary if you have virtual samba servers that connect to different CUPS daemons.
+-&#8962;sp
++\fIclient.conf\fR. This is necessary if you have virtual samba servers that connect to different CUPS daemons.
++.sp
+ Default:
+-\fB&#9619;fIiprint server&#9619;fR = "" \fR
+-&#8962;sp
++\fB\fIiprint server\fR = "" \fR
++.sp
+ Example:
+-\fB&#9619;fIiprint server&#9619;fR = MYCUPSSERVER \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIiprint server\fR = MYCUPSSERVER \fR
++.RE
++.PP
+ keepalive (G)
+-&#8962;RS 4
++.RS 4
+ The value of the parameter (an integer) represents the number of seconds between
+-&#9619;fIkeepalive&#9619;fR
++\fIkeepalive\fR
+ packets. If this parameter is zero, no keepalive packets will be sent. Keepalive packets, if sent, allow the server to tell whether a client is still present and responding.
+-&#8962;sp
++.sp
+ Keepalives should, in general, not be needed if the socket has the SO_KEEPALIVE attribute set on it by default. (see
+ socket options). Basically you should only use this option if you strike difficulties.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIkeepalive&#9619;fR = 300 \fR
+-&#8962;sp
++\fB\fIkeepalive\fR = 300 \fR
++.sp
+ Example:
+-\fB&#9619;fIkeepalive&#9619;fR = 600 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIkeepalive\fR = 600 \fR
++.RE
++.PP
+ kernel change notify (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies whether Samba should ask the kernel for change notifications in directories so that SMB clients can refresh whenever the data on the server changes.
+-&#8962;sp
++.sp
+ This parameter is only used when your kernel supports change notification to user programs using the inotify interface.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIkernel change notify&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIkernel change notify\fR = yes \fR
++.RE
++.PP
+ kernel oplocks (G)
+-&#8962;RS 4
++.RS 4
+ For UNIXes that support kernel based
+ oplocks (currently only IRIX and the Linux 2.4 kernel), this parameter allows the use of them to be turned on or off.
+-&#8962;sp
++.sp
+ Kernel oplocks support allows Samba
+-&#9619;fIoplocks &#9619;fR
++\fIoplocks \fR
+ to be broken whenever a local UNIX process or NFS operation accesses a file that
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ has oplocked. This allows complete data consistency between SMB/CIFS, NFS and local file access (and is a
+ \fBvery\fR
+ cool feature :-).
+-&#8962;sp
++.sp
+ This parameter defaults to
+-&#9619;fBon&#9619;fR, but is translated to a no-op on systems that no not have the necessary kernel support. You should never need to touch this parameter.
+-&#8962;sp
++\fBon\fR, but is translated to a no-op on systems that no not have the necessary kernel support. You should never need to touch this parameter.
++.sp
+ Default:
+-\fB&#9619;fIkernel oplocks&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIkernel oplocks\fR = yes \fR
++.RE
++.PP
+ lanman auth (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines whether or not
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will attempt to authenticate users or permit password changes using the LANMAN password hash. If disabled, only clients which support NT password hashes (e.g. Windows NT/2000 clients, smbclient, but not Windows 95/98 or the MS DOS network client) will be able to connect to the Samba host.
+-&#8962;sp
++.sp
+ The LANMAN encrypted response is easily broken, due to it's case-insensitive nature, and the choice of algorithm. Servers without Windows 95/98/ME or MS DOS clients are advised to disable this option.
+-&#8962;sp
++.sp
+ Unlike the
+ encrypt passwords
+ option, this parameter cannot alter client behaviour, and the LANMAN response will still be sent over the network. See the
+ client lanman auth
+ to disable this for Samba's clients (such as smbclient)
+-&#8962;sp
++.sp
+ If this option, and
+ ntlm auth
+ are both disabled, then only NTLMv2 logins will be permited. Not all clients support NTLMv2, and most will require special configuration to use it.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlanman auth&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlanman auth\fR = no \fR
++.RE
++.PP
+ large readwrite (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines whether or not
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ 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.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlarge readwrite&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlarge readwrite\fR = yes \fR
++.RE
++.PP
+ ldap admin dn (G)
+-&#8962;RS 4
++.RS 4
+ The
+ ldap admin dn defines the Distinguished Name (DN) name used by Samba to contact the ldap server when retreiving user account information. The
+ ldap admin dn is used in conjunction with the admin dn password stored in the
+-&#9619;fIprivate/secrets.tdb&#9619;fR
++\fIprivate/secrets.tdb\fR
+ file. See the
+-&#9619;fBsmbpasswd&#9619;fR(8)
++\fBsmbpasswd\fR(8)
+ man page for more information on how to accomplish this.
+-&#8962;sp
++.sp
+ The
+ ldap admin dn requires a fully specified DN. The
+ ldap suffix is not appended to the
+ ldap admin dn.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ldap delete dn (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies whether a delete operation in the ldapsam deletes the complete entry or only the attributes specific to Samba.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap delete dn&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap delete dn\fR = no \fR
++.RE
++.PP
+ ldap group suffix (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the suffix that is used for groups when these are added to the LDAP directory. If this parameter is unset, the value of
+ ldap suffix will be used instead. The suffix string is pre-pended to the
+ ldap suffix string so use a partial DN.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap group suffix&#9619;fR = \fR
+-&#8962;sp
++\fB\fIldap group suffix\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIldap group suffix&#9619;fR = ou=Groups \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap group suffix\fR = ou=Groups \fR
++.RE
++.PP
+ ldap idmap suffix (G)
+-&#8962;RS 4
++.RS 4
+ This parameters specifies the suffix that is used when storing idmap mappings. If this parameter is unset, the value of
+ ldap suffix will be used instead. The suffix string is pre-pended to the
+ ldap suffix string so use a partial DN.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap idmap suffix&#9619;fR = \fR
+-&#8962;sp
++\fB\fIldap idmap suffix\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIldap idmap suffix&#9619;fR = ou=Idmap \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap idmap suffix\fR = ou=Idmap \fR
++.RE
++.PP
+ ldap machine suffix (G)
+-&#8962;RS 4
++.RS 4
+ It specifies where machines should be added to the ldap tree. If this parameter is unset, the value of
+ ldap suffix will be used instead. The suffix string is pre-pended to the
+ ldap suffix string so use a partial DN.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap machine suffix&#9619;fR = \fR
+-&#8962;sp
++\fB\fIldap machine suffix\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIldap machine suffix&#9619;fR = ou=Computers \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap machine suffix\fR = ou=Computers \fR
++.RE
++.PP
+ ldap passwd sync (G)
+-&#8962;RS 4
++.RS 4
+ This option is used to define whether or not Samba should sync the LDAP password with the NT and LM hashes for normal accounts (NOT for workstation, server or domain trusts) on a password change via SAMBA.
+-&#8962;sp
++.sp
+ The
+ ldap passwd sync can be set to one of three values:
+ \(bu
+-&#9619;fIYes&#9619;fR
++\fIYes\fR
+ = Try to update the LDAP, NT and LM passwords and update the pwdLastSet time.
+ .TP
+ \(bu
+-&#9619;fINo&#9619;fR
++\fINo\fR
+ = Update NT and LM passwords and update the pwdLastSet time.
+ .TP
+ \(bu
+-&#9619;fIOnly&#9619;fR
++\fIOnly\fR
+ = Only update the LDAP password and let the LDAP server do the rest.
+-&#8962;IP "" 4
++.IP "" 4
+ Default:
+-\fB&#9619;fIldap passwd sync&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap passwd sync\fR = no \fR
++.RE
++.PP
+ ldap replication sleep (G)
+-&#8962;RS 4
++.RS 4
+ When Samba is asked to write to a read-only LDAP replica, we are redirected to talk to the read-write master server. This server then replicates our changes back to the 'local' server, however the replication might take some seconds, especially over slow links. Certain client activities, particularly domain joins, can become confused by the 'success' that does not immediately change the LDAP back-end's data.
+-&#8962;sp
++.sp
+ This option simply causes Samba to wait a short time, to allow the LDAP server to catch up. If you have a particularly high-latency network, you may wish to time the LDAP replication with a network sniffer, and increase this value accordingly. Be aware that no checking is performed that the data has actually replicated.
+-&#8962;sp
++.sp
+ The value is specified in milliseconds, the maximum value is 5000 (5 seconds).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap replication sleep&#9619;fR = 1000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap replication sleep\fR = 1000 \fR
++.RE
++.PP
+ ldapsam:editposix (G)
+-&#8962;RS 4
++.RS 4
+ Editposix is an option that leverages ldapsam:trusted to make it simpler to manage a domain controller eliminating the need to set up custom scripts to add and manage the posix users and groups. This option will instead directly manipulate the ldap tree to create, remove and modify user and group entries. This option also requires a running winbindd as it is used to allocate new uids/gids on user/group creation. The allocation range must be therefore configured.
+-&#8962;sp
++.sp
+ To use this option, a basic ldap tree must be provided and the ldap suffix parameters must be properly configured. On virgin servers the default users and groups (Administrator, Guest, Domain Users, Domain Admins, Domain Guests) can be precreated with the command
+ 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
+ ldapsam:trusted = yes option is usually sufficient to use
+ ldapsam:editposix = yes as well.
+-&#8962;sp
++.sp
+ An example configuration can be the following:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -3365,7 +3365,7 @@
+ .fi
+ This configuration assume the ldap server have been loaded with a base tree like described in the following ldif:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -3405,176 +3405,176 @@
+ 	
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldapsam:editposix&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldapsam:editposix\fR = no \fR
++.RE
++.PP
+ ldapsam:trusted (G)
+-&#8962;RS 4
++.RS 4
+ By default, Samba as a Domain Controller with an LDAP backend needs to use the Unix-style NSS subsystem to access user and group information. Due to the way Unix stores user information in /etc/passwd and /etc/group this inevitably leads to inefficiencies. One important question a user needs to know is the list of groups he is member of. The plain UNIX model involves a complete enumeration of the file /etc/group and its NSS counterparts in LDAP. UNIX has optimized functions to enumerate group membership. Sadly, other functions that are used to deal with user and group attributes lack such optimization.
+-&#8962;sp
++.sp
+ To make Samba scale well in large environments, the
+ ldapsam:trusted = yes option assumes that the complete user and group database that is relevant to Samba is stored in LDAP with the standard posixAccount/posixGroup attributes. It further assumes that the Samba auxiliary object classes are stored together with the POSIX data in the same LDAP object. If these assumptions are met,
+ ldapsam:trusted = yes can be activated and Samba can bypass the NSS system to query user group memberships. Optimized LDAP queries can greatly speed up domain logon and administration tasks. Depending on the size of the LDAP database a factor of 100 or more for common queries is easily achieved.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldapsam:trusted&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldapsam:trusted\fR = no \fR
++.RE
++.PP
+ ldap ssl (G)
+-&#8962;RS 4
++.RS 4
+ This option is used to define whether or not Samba should use SSL when connecting to the ldap server This is
+ \fBNOT\fR
+ related to Samba's previous SSL support which was enabled by specifying the
+ --with-ssl
+ option to the
+-&#9619;fIconfigure&#9619;fR
++\fIconfigure\fR
+ script.
+-&#8962;sp
++.sp
+ The
+ ldap ssl can be set to one of three values:
+ \(bu
+-&#9619;fIOff&#9619;fR
++\fIOff\fR
+ = Never use SSL when querying the directory.
+ .TP
+ \(bu
+-&#9619;fIStart_tls&#9619;fR
++\fIStart_tls\fR
+ = Use the LDAPv3 StartTLS extended operation (RFC2830) for communicating with the directory server.
+ .TP
+ \(bu
+-&#9619;fIOn&#9619;fR
++\fIOn\fR
+ = Use SSL on the ldaps port when contacting the
+-&#9619;fIldap server&#9619;fR. Only available when the backwards-compatiblity
++\fIldap server\fR. Only available when the backwards-compatiblity
+ --with-ldapsam
+ option is specified to configure. See
+ passdb backend
+ .
+-		&#8962;IP "" 4
++		.IP "" 4
+ Default:
+-\fB&#9619;fIldap ssl&#9619;fR = start_tls \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap ssl\fR = start_tls \fR
++.RE
++.PP
+ ldap suffix (G)
+-&#8962;RS 4
++.RS 4
+ Specifies the base for all ldap suffixes and for storing the sambaDomain object.
+-&#8962;sp
++.sp
+ The ldap suffix will be appended to the values specified for the
+ ldap user suffix,
+ ldap group suffix,
+ ldap machine suffix, and the
+ ldap idmap suffix. Each of these should be given only a DN relative to the
+ ldap suffix.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap suffix&#9619;fR = \fR
+-&#8962;sp
++\fB\fIldap suffix\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIldap suffix&#9619;fR = dc=samba,dc=org \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap suffix\fR = dc=samba,dc=org \fR
++.RE
++.PP
+ ldap timeout (G)
+-&#8962;RS 4
++.RS 4
+ When Samba connects to an ldap server that servermay be down or unreachable. To prevent Samba from hanging whilst waiting for the connection this parameter specifies in seconds how long Samba should wait before failing the connect. The default is to only wait fifteen seconds for the ldap server to respond to the connect request.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap timeout&#9619;fR = 15 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap timeout\fR = 15 \fR
++.RE
++.PP
+ ldap user suffix (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies where users are added to the tree. If this parameter is unset, the value of
+ ldap suffix will be used instead. The suffix string is pre-pended to the
+ ldap suffix string so use a partial DN.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIldap user suffix&#9619;fR = \fR
+-&#8962;sp
++\fB\fIldap user suffix\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIldap user suffix&#9619;fR = ou=people \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIldap user suffix\fR = ou=people \fR
++.RE
++.PP
+ level2 oplocks (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether Samba supports level2 (read-only) oplocks on a share.
+-&#8962;sp
++.sp
+ Level2, or read-only oplocks allow Windows NT clients that have an oplock on a file to downgrade from a read-write oplock to a read-only oplock once a second client opens the file (instead of releasing all oplocks on a second open, as in traditional, exclusive oplocks). This allows all openers of the file that support level2 oplocks to cache the file for read-ahead only (ie. they may not cache writes or lock requests) and increases performance for many accesses of files that are not commonly written (such as application .EXE files).
+-&#8962;sp
++.sp
+ Once one of the clients which have a read-only oplock writes to the file all clients are notified (no reply is needed or waited for) and told to break their oplocks to "none" and delete any read-ahead caches.
+-&#8962;sp
++.sp
+ It is recommended that this parameter be turned on to speed access to shared executables.
+-&#8962;sp
++.sp
+ For more discussions on level2 oplocks see the CIFS spec.
+-&#8962;sp
++.sp
+ Currently, if
+ kernel oplocks are supported then level2 oplocks are not granted (even if this parameter is set to
+-&#9619;fByes&#9619;fR). Note also, the
++\fByes\fR). Note also, the
+ oplocks parameter must be set to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ on this share in order for this parameter to have any effect.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlevel2 oplocks&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlevel2 oplocks\fR = yes \fR
++.RE
++.PP
+ lm announce (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines if
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ 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,
+-&#9619;fByes&#9619;fR,
+-&#9619;fBno&#9619;fR, or
+-&#9619;fBauto&#9619;fR. The default is
+-&#9619;fBauto&#9619;fR. If set to
+-&#9619;fBno&#9619;fR
++\fByes\fR,
++\fBno\fR, or
++\fBauto\fR. The default is
++\fBauto\fR. If set to
++\fBno\fR
+ Samba will never produce these broadcasts. If set to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ Samba will produce Lanman announce broadcasts at a frequency set by the parameter
+ lm interval. If set to
+-&#9619;fBauto&#9619;fR
++\fBauto\fR
+ Samba will not send Lanman announce broadcasts by default but will listen for them. If it hears such a broadcast on the wire it will then start sending them at a frequency set by the parameter
+ lm interval.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlm announce&#9619;fR = auto \fR
+-&#8962;sp
++\fB\fIlm announce\fR = auto \fR
++.sp
+ Example:
+-\fB&#9619;fIlm announce&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlm announce\fR = yes \fR
++.RE
++.PP
+ lm interval (G)
+-&#8962;RS 4
++.RS 4
+ If Samba is set to produce Lanman announce broadcasts needed by OS/2 clients (see the
+ lm announce parameter) then this parameter defines the frequency in seconds with which they will be made. If this is set to zero then no Lanman announcements will be made despite the setting of the
+ lm announce parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlm interval&#9619;fR = 60 \fR
+-&#8962;sp
++\fB\fIlm interval\fR = 60 \fR
++.sp
+ Example:
+-\fB&#9619;fIlm interval&#9619;fR = 120 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlm interval\fR = 120 \fR
++.RE
++.PP
+ load printers (G)
+-&#8962;RS 4
++.RS 4
+ A boolean variable that controls whether all printers in the printcap will be loaded for browsing by default. See the
+ printers section for more details.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIload printers&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIload printers\fR = yes \fR
++.RE
++.PP
+ local master (G)
+-&#8962;RS 4
++.RS 4
+ This option allows
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ to try and become a local master browser on a subnet. If set to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ then
+ nmbd
+ 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
+-&#9619;fByes&#9619;fR. Setting this value to
+-&#9619;fByes&#9619;fR
++\fByes\fR. Setting this value to
++\fByes\fR
+ doesn't mean that Samba will
+ \fBbecome\fR
+ the local master browser on a subnet, just that
+@@ -3582,197 +3582,197 @@
+ will
+ \fBparticipate\fR
+ in elections for local master browser.
+-&#8962;sp
++.sp
+ Setting this value to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ will cause
+ nmbd
+ \fBnever\fR
+ to become a local master browser.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlocal master&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlocal master\fR = yes \fR
++.RE
++.PP
+ lock dir
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for lock directory.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lock directory (G)
+-&#8962;RS 4
++.RS 4
+ This option specifies the directory where lock files will be placed. The lock files are used to implement the
+ max connections option.
+-&#8962;sp
++.sp
+ Note: This option can not be set inside registry configurations.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlock directory&#9619;fR = ${prefix}/var/locks \fR
+-&#8962;sp
++\fB\fIlock directory\fR = ${prefix}/var/locks \fR
++.sp
+ Example:
+-\fB&#9619;fIlock directory&#9619;fR = /var/run/samba/locks \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlock directory\fR = /var/run/samba/locks \fR
++.RE
++.PP
+ locking (S)
+-&#8962;RS 4
++.RS 4
+ This controls whether or not locking will be performed by the server in response to lock requests from the client.
+-&#8962;sp
++.sp
+ If
+ 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.
+-&#8962;sp
++.sp
+ If
+ locking = yes, real locking will be performed by the server.
+-&#8962;sp
++.sp
+ This option
+ \fBmay\fR
+ be useful for read-only filesystems which
+ \fBmay\fR
+ not need locking (such as CDROM drives), although setting this parameter of
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ is not really recommended even in this case.
+-&#8962;sp
++.sp
+ Be careful about disabling locking either globally or in a specific service, as lack of locking may result in data corruption. You should never need to set this parameter.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lock spin count (G)
+-&#8962;RS 4
++.RS 4
+ This parameter has been made inoperative in Samba 3.0.24. The functionality it contolled is now controlled by the parameter
+ lock spin time.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlock spin count&#9619;fR = 0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlock spin count\fR = 0 \fR
++.RE
++.PP
+ lock spin time (G)
+-&#8962;RS 4
++.RS 4
+ The time in microseconds that smbd should keep waiting to see if a failed lock request can be granted. This parameter has changed in default value from Samba 3.0.23 from 10 to 200. The associated
+ lock spin count parameter is no longer used in Samba 3.0.24. You should not need to change the value of this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlock spin time&#9619;fR = 200 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlock spin time\fR = 200 \fR
++.RE
++.PP
+ log file (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to override the name of the Samba log file (also known as the debug file).
+-&#8962;sp
++.sp
+ This option takes the standard substitutions, allowing you to have separate log files for each user or machine.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIlog file&#9619;fR = /usr/local/samba/var/log.%m \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlog file\fR = /usr/local/samba/var/log.%m \fR
++.RE
++.PP
+ debuglevel
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for log level.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ log level (G)
+-&#8962;RS 4
++.RS 4
+ The value of the parameter (a astring) allows the debug level (logging level) to be specified in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file. This parameter has been extended since the 2.2.x series, now it allow to specify the debug level for multiple debug classes. This is to give greater flexibility in the configuration of the system.
+-&#8962;sp
++.sp
+ The default will be the log level specified on the command line or level zero if none was specified.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIlog level&#9619;fR = 3 passdb:5 auth:10 winbind:2 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlog level\fR = 3 passdb:5 auth:10 winbind:2 \fR
++.RE
++.PP
+ logon drive (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the local path to which the home directory will be connected (see
+ logon home) and is only used by NT Workstations.
+-&#8962;sp
++.sp
+ Note that this option is only useful if Samba is set up as a logon server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlogon drive&#9619;fR = \fR
+-&#8962;sp
++\fB\fIlogon drive\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIlogon drive&#9619;fR = h: \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlogon drive\fR = h: \fR
++.RE
++.PP
+ logon home (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the home directory location when a Win95/98 or NT Workstation logs into a Samba PDC. It allows you to do
+-&#8962;sp
++.sp
+ 
+-C:\>&#9619;fBNET USE H: /HOME&#9619;fR
+-&#8962;sp
++C:\>\fBNET USE H: /HOME\fR
++.sp
+ from a command prompt, for example.
+-&#8962;sp
++.sp
+ This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine.
+-&#8962;sp
++.sp
+ This parameter can be used with Win9X workstations to ensure that roaming profiles are stored in a subdirectory of the user's home directory. This is done in the following way:
+-&#8962;sp
++.sp
+ 
+ logon home = \\\\%N\\%U\\profile
+-&#8962;sp
++.sp
+ This tells Samba to return the above string, with substitutions made when a client requests the info, generally in a NetUserGetInfo request. Win9X clients truncate the info to \\server\share when a user does
+ net use /home
+ but use the whole string when dealing with profiles.
+-&#8962;sp
++.sp
+ Note that in prior versions of Samba, the
+ logon path was returned rather than
+-&#9619;fIlogon home&#9619;fR. This broke
++\fIlogon home\fR. This broke
+ net use /home
+ but allowed profiles outside the home directory. The current implementation is correct, and can be used for profiles if you use the above trick.
+-&#8962;sp
++.sp
+ Disable this feature by setting
+ logon home = "" - using the empty string.
+-&#8962;sp
++.sp
+ This option is only useful if Samba is set up as a logon server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlogon home&#9619;fR = \\\\%N\\%U \fR
+-&#8962;sp
++\fB\fIlogon home\fR = \\\\%N\\%U \fR
++.sp
+ Example:
+-\fB&#9619;fIlogon home&#9619;fR = \\\\remote_smb_server\\%U \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlogon home\fR = \\\\remote_smb_server\\%U \fR
++.RE
++.PP
+ logon path (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the directory where roaming profiles (Desktop, NTuser.dat, etc) are stored. Contrary to previous versions of these manual pages, it has nothing to do with Win 9X roaming profiles. To find out how to handle roaming profiles for Win 9X system, see the
+ logon home parameter.
+-&#8962;sp
++.sp
+ This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine. It also specifies the directory from which the "Application Data",
+-&#9619;fIdesktop&#9619;fR,
+-&#9619;fIstart menu&#9619;fR,
+-&#9619;fInetwork neighborhood&#9619;fR,
+-&#9619;fIprograms&#9619;fR
++\fIdesktop\fR,
++\fIstart menu\fR,
++\fInetwork neighborhood\fR,
++\fIprograms\fR
+ and other folders, and their contents, are loaded and displayed on your Windows NT client.
+-&#8962;sp
++.sp
+ The share and the path must be readable by the user for the preferences and directories to be loaded onto the Windows NT client. The share must be writeable when the user logs in for the first time, in order that the Windows NT client can create the NTuser.dat and other directories. Thereafter, the directories and any of the contents can, if required, be made read-only. It is not advisable that the NTuser.dat file be made read-only - rename it to NTuser.man to achieve the desired effect (a
+ \fBMAN\fRdatory profile).
+-&#8962;sp
++.sp
+ Windows clients can sometimes maintain a connection to the [homes] share, even though there is no user logged in. Therefore, it is vital that the logon path does not include a reference to the homes share (i.e. setting this parameter to \\%N\homes\profile_path will cause problems).
+-&#8962;sp
++.sp
+ This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ Do not quote the value. Setting this as
+ \fB\\%N\profile\%U\fR
+ will break profile handling. Where the tdbsam or ldapsam passdb backend is used, at the time the user account is created the value configured for this parameter is written to the passdb backend and that value will over-ride the parameter value present in the smb.conf file. Any error present in the passdb backend account record must be editted using the appropriate tool (pdbedit on the command-line, or any other locally provided system tool).
+ 
+ Note that this option is only useful if Samba is set up as a domain controller.
+-&#8962;sp
++.sp
+ Disable the use of roaming profiles by setting the value of this parameter to the empty string. For example,
+ logon path = "". Take note that even if the default setting in the smb.conf file is the empty string, any value specified in the user account settings in the passdb backend will over-ride the effect of setting this parameter to null. Disabling of all roaming profile use requires that the user account settings must also be blank.
+-&#8962;sp
++.sp
+ An example of use is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -3780,23 +3780,23 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlogon path&#9619;fR = \\\\%N\\%U\\profile \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlogon path\fR = \\\\%N\\%U\\profile \fR
++.RE
++.PP
+ logon script (G)
+-&#8962;RS 4
+-This parameter specifies the batch file (&#9619;fI.bat&#9619;fR) or NT command file (&#9619;fI.cmd&#9619;fR) 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.
+-&#8962;sp
++.RS 4
++This parameter specifies the batch file (\fI.bat\fR) or NT command file (\fI.cmd\fR) 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.
++.sp
+ The script must be a relative path to the
+-&#9619;fI[netlogon]&#9619;fR
++\fI[netlogon]\fR
+ service. If the [netlogon] service specifies a
+ path of
+-&#9619;fI/usr/local/samba/netlogon&#9619;fR, and
++\fI/usr/local/samba/netlogon\fR, and
+ logon script = STARTUP.BAT, then the file that will be downloaded is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -3804,60 +3804,60 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ The contents of the batch file are entirely your choice. A suggested command would be to add
+ NET TIME \\\\SERVER /SET /YES, to force every machine to synchronize clocks with the same time server. Another use would be to add
+ NET USE U: \\\\SERVER\\UTILS
+ for commonly used utilities, or
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-&#9619;fBNET USE Q: \\SERVER\ISO9001_QA&#9619;fR
++\fBNET USE Q: \\SERVER\ISO9001_QA\fR
+ 
+ .fi
+ for example.
+-&#8962;sp
++.sp
+ Note that it is particularly important not to allow write access to the [netlogon] share, or to grant users write permission on the batch files in a secure environment, as this would allow the batch files to be arbitrarily modified and security to be breached.
+-&#8962;sp
++.sp
+ This option takes the standard substitutions, allowing you to have separate logon scripts for each user or machine.
+-&#8962;sp
++.sp
+ This option is only useful if Samba is set up as a logon server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlogon script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIlogon script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIlogon script&#9619;fR = scripts\\%U.bat \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlogon script\fR = scripts\\%U.bat \fR
++.RE
++.PP
+ lppause command (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the command to be executed on the server host in order to stop printing or spooling a specific print job.
+-&#8962;sp
++.sp
+ This command should be a program or script which takes a printer name and job number to pause the print job. One way of implementing this is by using job priorities, where jobs having a too low priority won't be sent to the printer.
+-&#8962;sp
++.sp
+ If a
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is given then the printer name is put in its place. A
+-&#9619;fI%j&#9619;fR
++\fI%j\fR
+ is replaced with the job number (an integer). On HPUX (see
+-&#9619;fIprinting=hpux &#9619;fR), if the
+-&#9619;fI-p%p&#9619;fR
++\fIprinting=hpux \fR), if the
++\fI-p%p\fR
+ option is added to the lpq command, the job will show up with the correct status, i.e. if the job priority is lower than the set fence priority it will have the PAUSED status, whereas if the priority is equal or higher it will have the SPOOLED or PRINTING status.
+-&#8962;sp
++.sp
+ Note that it is good practice to include the absolute path in the lppause command as the PATH may not be available to the server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlppause command&#9619;fR = # Currently no default value is given to this string, unless the value of the printing parameter is &#9619;fBSYSV&#9619;fR, in which case the default is : lp -i %p-%j -H hold or if the value of the &#9619;fIprinting&#9619;fR parameter is &#9619;fBSOFTQ&#9619;fR, then the default is: qstat -s -j%j -h. \fR
+-&#8962;sp
++\fB\fIlppause command\fR = # Currently no default value is given to this string, unless the value of the printing 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
++.sp
+ Example:
+-\fB&#9619;fIlppause command&#9619;fR = /usr/bin/lpalt %p-%j -p0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlppause command\fR = /usr/bin/lpalt %p-%j -p0 \fR
++.RE
++.PP
+ lpq cache time (G)
+-&#8962;RS 4
++.RS 4
+ This controls how long lpq info will be cached for to prevent the
+ lpq
+ command being called too often. A separate cache is kept for each variation of the
+@@ -3865,117 +3865,117 @@
+ command used by the system, so if you use different
+ lpq
+ commands for different users then they won't share cache information.
+-&#8962;sp
++.sp
+ The cache files are stored in
+-&#9619;fI/tmp/lpq.xxxx&#9619;fR
++\fI/tmp/lpq.xxxx\fR
+ where xxxx is a hash of the
+ lpq
+ command in use.
+-&#8962;sp
++.sp
+ The default is 30 seconds, meaning that the cached results of a previous identical
+ lpq
+ command will be used if the cached data is less than 30 seconds old. A large value may be advisable if your
+ lpq
+ command is very slow.
+-&#8962;sp
++.sp
+ A value of 0 will disable caching completely.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlpq cache time&#9619;fR = 30 \fR
+-&#8962;sp
++\fB\fIlpq cache time\fR = 30 \fR
++.sp
+ Example:
+-\fB&#9619;fIlpq cache time&#9619;fR = 10 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlpq cache time\fR = 10 \fR
++.RE
++.PP
+ lpq command (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the command to be executed on the server host in order to obtain
+ lpq-style printer status information.
+-&#8962;sp
++.sp
+ This command should be a program or script which takes a printer name as its only parameter and outputs printer status information.
+-&#8962;sp
++.sp
+ Currently nine styles of printer status information are supported; BSD, AIX, LPRNG, PLP, SYSV, HPUX, QNX, CUPS, and SOFTQ. This covers most UNIX systems. You control which type is expected using the
+-&#9619;fIprinting =&#9619;fR
++\fIprinting =\fR
+ option.
+-&#8962;sp
++.sp
+ Some clients (notably Windows for Workgroups) may not correctly send the connection number for the printer they are requesting status information about. To get around this, the server reports on the first printer service connected to by the client. This only happens if the connection number sent is invalid.
+-&#8962;sp
++.sp
+ If a
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is given then the printer name is put in its place. Otherwise it is placed at the end of the command.
+-&#8962;sp
++.sp
+ Note that it is good practice to include the absolute path in the
+-&#9619;fIlpq command&#9619;fR
++\fIlpq command\fR
+ as the
+-&#9619;fB$PATH &#9619;fR
++\fB$PATH \fR
+ may not be available to the server. When compiled with the CUPS libraries, no
+-&#9619;fIlpq command&#9619;fR
++\fIlpq command\fR
+ is needed because smbd will make a library call to obtain the print queue listing.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlpq command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIlpq command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIlpq command&#9619;fR = /usr/bin/lpq -P%p \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlpq command\fR = /usr/bin/lpq -P%p \fR
++.RE
++.PP
+ lpresume command (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the command to be executed on the server host in order to restart or continue printing or spooling a specific print job.
+-&#8962;sp
++.sp
+ This command should be a program or script which takes a printer name and job number to resume the print job. See also the
+ lppause command parameter.
+-&#8962;sp
++.sp
+ If a
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is given then the printer name is put in its place. A
+-&#9619;fI%j&#9619;fR
++\fI%j\fR
+ is replaced with the job number (an integer).
+-&#8962;sp
++.sp
+ Note that it is good practice to include the absolute path in the
+-&#9619;fIlpresume command&#9619;fR
++\fIlpresume command\fR
+ as the PATH may not be available to the server.
+-&#8962;sp
++.sp
+ See also the
+ printing parameter.
+-&#8962;sp
++.sp
+ Default: Currently no default value is given to this string, unless the value of the
+-&#9619;fIprinting&#9619;fR
++\fIprinting\fR
+ parameter is
+-&#9619;fBSYSV&#9619;fR, in which case the default is :
+-&#8962;sp
++\fBSYSV\fR, in which case the default is :
++.sp
+ lp -i %p-%j -H resume
+-&#8962;sp
++.sp
+ or if the value of the
+-&#9619;fIprinting&#9619;fR
++\fIprinting\fR
+ parameter is
+-&#9619;fBSOFTQ&#9619;fR, then the default is:
+-&#8962;sp
++\fBSOFTQ\fR, then the default is:
++.sp
+ qstat -s -j%j -r
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlpresume command&#9619;fR = lpresume command = /usr/bin/lpalt %p-%j -p2 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlpresume command\fR = lpresume command = /usr/bin/lpalt %p-%j -p2 \fR
++.RE
++.PP
+ lprm command (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the command to be executed on the server host in order to delete a print job.
+-&#8962;sp
++.sp
+ This command should be a program or script which takes a printer name and job number, and deletes the print job.
+-&#8962;sp
++.sp
+ If a
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is given then the printer name is put in its place. A
+-&#9619;fI%j&#9619;fR
++\fI%j\fR
+ is replaced with the job number (an integer).
+-&#8962;sp
++.sp
+ Note that it is good practice to include the absolute path in the
+-&#9619;fIlprm command&#9619;fR
++\fIlprm command\fR
+ as the PATH may not be available to the server.
+-&#8962;sp
++.sp
+ Examples of use are:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -3987,510 +3987,510 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIlprm command&#9619;fR = determined by printing parameter \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIlprm command\fR = determined by printing parameter \fR
++.RE
++.PP
+ machine password timeout (G)
+-&#8962;RS 4
++.RS 4
+ If a Samba server is a member of a Windows NT Domain (see the
+ security = domain parameter) then periodically a running smbd process will try and change the MACHINE ACCOUNT PASSWORD stored in the TDB called
+-&#9619;fIprivate/secrets.tdb &#9619;fR. 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.
+-&#8962;sp
++\fIprivate/secrets.tdb \fR. 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.
++.sp
+ See also
+-&#9619;fBsmbpasswd&#9619;fR(8), and the
++\fBsmbpasswd\fR(8), and the
+ security = domain parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImachine password timeout&#9619;fR = 604800 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImachine password timeout\fR = 604800 \fR
++.RE
++.PP
+ magic output (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the name of a file which will contain output created by a magic script (see the
+ magic script parameter below).
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ If two clients use the same
+-&#9619;fImagic script &#9619;fR
++\fImagic script \fR
+ in the same directory the output file content is undefined.
+ 
+ Default:
+-\fB&#9619;fImagic output&#9619;fR = <magic script name>.out \fR
+-&#8962;sp
++\fB\fImagic output\fR = <magic script name>.out \fR
++.sp
+ Example:
+-\fB&#9619;fImagic output&#9619;fR = myfile.txt \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImagic output\fR = myfile.txt \fR
++.RE
++.PP
+ magic script (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the name of a file which, if opened, will be executed by the server when the file is closed. This allows a UNIX script to be sent to the Samba host and executed on behalf of the connected user.
+-&#8962;sp
++.sp
+ Scripts executed in this way will be deleted upon completion assuming that the user has the appropriate level of privilege and the file permissions allow the deletion.
+-&#8962;sp
++.sp
+ If the script generates output, output will be sent to the file specified by the
+ magic output parameter (see above).
+-&#8962;sp
++.sp
+ Note that some shells are unable to interpret scripts containing CR/LF instead of CR as the end-of-line marker. Magic scripts must be executable
+ \fBas is\fR
+ on the host, which for some hosts and some shells will require filtering at the DOS end.
+-&#8962;sp
++.sp
+ Magic scripts are
+ \fBEXPERIMENTAL\fR
+ and should
+ \fBNOT\fR
+ be relied upon.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImagic script&#9619;fR = \fR
+-&#8962;sp
++\fB\fImagic script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fImagic script&#9619;fR = user.csh \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImagic script\fR = user.csh \fR
++.RE
++.PP
+ mangled map (S)
+-&#8962;RS 4
++.RS 4
+ This is for those who want to directly map UNIX file names which cannot be represented on Windows/DOS. The mangling of names is not always what is needed. In particular you may have documents with file extensions that differ between DOS and UNIX. For example, under UNIX it is common to use
+-&#9619;fI.html&#9619;fR
++\fI.html\fR
+ for HTML files, whereas under Windows/DOS
+-&#9619;fI.htm&#9619;fR
++\fI.htm\fR
+ is more commonly used.
+-&#8962;sp
++.sp
+ So to map
+-&#9619;fIhtml&#9619;fR
++\fIhtml\fR
+ to
+-&#9619;fIhtm&#9619;fR
++\fIhtm\fR
+ you would use:
+-&#8962;sp
++.sp
+ 
+ mangled map = (*.html *.htm).
+-&#8962;sp
++.sp
+ One very useful case is to remove the annoying
+-&#9619;fI;1&#9619;fR
++\fI;1\fR
+ off the ends of filenames on some CDROMs (only visible under some UNIXes). To do this use a map of (*;1 *;).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImangled map&#9619;fR = # no mangled map \fR
+-&#8962;sp
++\fB\fImangled map\fR = # no mangled map \fR
++.sp
+ Example:
+-\fB&#9619;fImangled map&#9619;fR = (*;1 *;) \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImangled map\fR = (*;1 *;) \fR
++.RE
++.PP
+ mangled names (S)
+-&#8962;RS 4
++.RS 4
+ This controls whether non-DOS names under UNIX should be mapped to DOS-compatible names ("mangled") and made visible, or whether non-DOS names should simply be ignored.
+-&#8962;sp
++.sp
+ See the section on
+ name mangling for details on how to control the mangling process.
+-&#8962;sp
++.sp
+ If mangling is used then the mangling algorithm is as follows:
+ \(bu
+ The first (up to) five alphanumeric characters before the rightmost dot of the filename are preserved, forced to upper case, and appear as the first (up to) five characters of the mangled name.
+ .TP
+ \(bu
+ A tilde "~" is appended to the first part of the mangled name, followed by a two-character unique sequence, based on the original root name (i.e., the original filename minus its final extension). The final extension is included in the hash calculation only if it contains any upper case characters or is longer than three characters.
+-&#8962;sp
++.sp
+ Note that the character to use may be specified using the
+ mangling char option, if you don't like '~'.
+ .TP
+ \(bu
+ Files whose UNIX name begins with a dot will be presented as DOS hidden files. The mangled name will be created as for other filenames, but with the leading dot removed and "___" as its extension regardless of actual original extension (that's three underscores).
+-&#8962;IP "" 4
++.IP "" 4
+ The two-digit hash value consists of upper case alphanumeric characters.
+-&#8962;sp
++.sp
+ This algorithm can cause name collisions only if files in a directory share the same first five alphanumeric characters. The probability of such a clash is 1/1300.
+-&#8962;sp
++.sp
+ The name mangling (if enabled) allows a file to be copied between UNIX directories from Windows/DOS while retaining the long UNIX filename. UNIX files can be renamed to a new extension from Windows/DOS and will retain the same basename. Mangled names do not change between sessions.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImangled names&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImangled names\fR = yes \fR
++.RE
++.PP
+ mangle prefix (G)
+-&#8962;RS 4
++.RS 4
+ controls the number of prefix characters from the original name used when generating the mangled names. A larger value will give a weaker hash and therefore more name collisions. The minimum value is 1 and the maximum value is 6.
+-&#8962;sp
++.sp
+ mangle prefix is effective only when mangling method is hash2.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImangle prefix&#9619;fR = 1 \fR
+-&#8962;sp
++\fB\fImangle prefix\fR = 1 \fR
++.sp
+ Example:
+-\fB&#9619;fImangle prefix&#9619;fR = 4 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImangle prefix\fR = 4 \fR
++.RE
++.PP
+ mangling char (S)
+-&#8962;RS 4
++.RS 4
+ This controls what character is used as the
+ \fBmagic\fR
+ character in
+ name mangling. The default is a '~' but this may interfere with some software. Use this option to set it to whatever you prefer. This is effective only when mangling method is hash.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImangling char&#9619;fR = ~ \fR
+-&#8962;sp
++\fB\fImangling char\fR = ~ \fR
++.sp
+ Example:
+-\fB&#9619;fImangling char&#9619;fR = ^ \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImangling char\fR = ^ \fR
++.RE
++.PP
+ mangling method (G)
+-&#8962;RS 4
++.RS 4
+ controls the algorithm used for the generating the mangled names. Can take two different values, "hash" and "hash2". "hash" is the algorithm that was used used in Samba for many years and was the default in Samba 2.2.x "hash2" is now the default and is newer and considered a better algorithm (generates less collisions) in the names. Many Win32 applications store the mangled names and so changing to algorithms must not be done lightly as these applications may break unless reinstalled.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImangling method&#9619;fR = hash2 \fR
+-&#8962;sp
++\fB\fImangling method\fR = hash2 \fR
++.sp
+ Example:
+-\fB&#9619;fImangling method&#9619;fR = hash \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImangling method\fR = hash \fR
++.RE
++.PP
+ map acl inherit (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will attempt to map the 'inherit' and 'protected' access control entry flags stored in Windows ACLs into an extended attribute called user.SAMBA_PAI. This parameter only takes effect if Samba is being run on a platform that supports extended attributes (Linux and IRIX so far) and allows the Windows 2000 ACL editor to correctly use inheritance with the Samba POSIX ACL mapping code.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImap acl inherit&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImap acl inherit\fR = no \fR
++.RE
++.PP
+ map archive (S)
+-&#8962;RS 4
++.RS 4
+ This controls whether the DOS archive attribute should be mapped to the UNIX owner execute bit. The DOS archive bit is set when a file has been modified since its last backup. One motivation for this option is to keep Samba/your PC from making any file it touches from becoming executable under UNIX. This can be quite annoying for shared source code, documents, etc...
+-&#8962;sp
++.sp
+ Note that this requires the
+ create mask parameter to be set such that owner execute bit is not masked out (i.e. it must include 100). See the parameter
+ create mask for details.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImap archive&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImap archive\fR = yes \fR
++.RE
++.PP
+ map hidden (S)
+-&#8962;RS 4
++.RS 4
+ This controls whether DOS style hidden files should be mapped to the UNIX world execute bit.
+-&#8962;sp
++.sp
+ Note that this requires the
+ create mask to be set such that the world execute bit is not masked out (i.e. it must include 001). See the parameter
+ create mask for details.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ map read only (S)
+-&#8962;RS 4
++.RS 4
+ This controls how the DOS read only attribute should be mapped from a UNIX filesystem.
+-&#8962;sp
++.sp
+ This parameter can take three different values, which tell
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ how to display the read only attribute on files, where either
+ store dos attributes is set to
+-&#9619;fBNo&#9619;fR, or no extended attribute is present. If
++\fBNo\fR, or no extended attribute is present. If
+ store dos attributes is set to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ then this parameter is
+ \fBignored\fR. This is a new parameter introduced in Samba version 3.0.21.
+-&#8962;sp
++.sp
+ The three settings are :
+ \(bu
+ 
+-&#9619;fBYes&#9619;fR
++\fBYes\fR
+ - The read only DOS attribute is mapped to the inverse of the user or owner write bit in the unix permission mode set. If the owner write bit is not set, the read only attribute is reported as being set on the file.
+ .TP
+ \(bu
+ 
+-&#9619;fBPermissions&#9619;fR
++\fBPermissions\fR
+ - The read only DOS attribute is mapped to the effective permissions of the connecting user, as evaluated by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ by reading the unix permissions and POSIX ACL (if present). If the connecting user does not have permission to modify the file, the read only attribute is reported as being set on the file.
+ .TP
+ \(bu
+ 
+-&#9619;fBNo&#9619;fR
++\fBNo\fR
+ - The read only DOS attribute is unaffected by permissions, and can only be set by the
+ store dos attributes method. This may be useful for exporting mounted CDs.
+-&#8962;IP "" 4
++.IP "" 4
+ Default:
+-\fB&#9619;fImap read only&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImap read only\fR = yes \fR
++.RE
++.PP
+ map system (S)
+-&#8962;RS 4
++.RS 4
+ This controls whether DOS style system files should be mapped to the UNIX group execute bit.
+-&#8962;sp
++.sp
+ Note that this requires the
+ create mask to be set such that the group execute bit is not masked out (i.e. it must include 010). See the parameter
+ create mask for details.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImap system&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImap system\fR = no \fR
++.RE
++.PP
+ map to guest (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is only useful in
+ SECURITY = security modes other than
+-&#9619;fIsecurity = share&#9619;fR
++\fIsecurity = share\fR
+ and
+-&#9619;fIsecurity = server&#9619;fR
++\fIsecurity = server\fR
+ - i.e.
+-&#9619;fBuser&#9619;fR, and
+-&#9619;fBdomain&#9619;fR.
+-&#8962;sp
++\fBuser\fR, and
++\fBdomain\fR.
++.sp
+ This parameter can take four different values, which tell
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ what to do with user login requests that don't match a valid UNIX user in some way.
+-&#8962;sp
++.sp
+ The four settings are :
+ \(bu
+-&#9619;fBNever&#9619;fR
++\fBNever\fR
+ - Means user login requests with an invalid password are rejected. This is the default.
+ .TP
+ \(bu
+-&#9619;fBBad User&#9619;fR
++\fBBad User\fR
+ - Means user logins with an invalid password are rejected, unless the username does not exist, in which case it is treated as a guest login and mapped into the
+ guest account.
+ .TP
+ \(bu
+-&#9619;fBBad Password&#9619;fR
++\fBBad Password\fR
+ - Means user logins with an invalid password are treated as a guest login and mapped into the
+ guest account. Note that this can cause problems as it means that any user incorrectly typing their password will be silently logged on as "guest" - and will not know the reason they cannot access files they think they should - there will have been no message given to them that they got their password wrong. Helpdesk services will
+ \fBhate\fR
+ you if you set the
+-&#9619;fImap to guest&#9619;fR
++\fImap to guest\fR
+ parameter this way :-).
+ .TP
+ \(bu
+-&#9619;fBBad Uid&#9619;fR
++\fBBad Uid\fR
+ - Is only applicable when Samba is configured in some type of domain mode security (security = {domain|ads}) and means that user logins which are successfully authenticated but which have no valid Unix user account (and smbd is unable to create one) should be mapped to the defined guest account. This was the default behavior of Samba 2.x releases. Note that if a member server is running winbindd, this option should never be required because the nss_winbind library will export the Windows domain users and groups to the underlying OS via the Name Service Switch interface.
+-&#8962;IP "" 4
++.IP "" 4
+ Note that this parameter is needed to set up "Guest" share services when using
+-&#9619;fIsecurity&#9619;fR
++\fIsecurity\fR
+ modes other than share and server. This is because in these modes the name of the resource being requested is
+ \fBnot\fR
+ sent to the server until after the server has successfully authenticated the client so the server cannot make authentication decisions at the correct time (connection to the share) for "Guest" shares. This parameter is not useful with
+-&#9619;fIsecurity = server&#9619;fR
++\fIsecurity = server\fR
+ as in this security mode no information is returned about whether a user logon failed due to a bad username or bad password, the same error is returned from a modern server in both cases.
+-&#8962;sp
++.sp
+ For people familiar with the older Samba releases, this parameter maps to the old compile-time setting of the
+-&#9619;fB GUEST_SESSSETUP&#9619;fR
++\fB GUEST_SESSSETUP\fR
+ value in local.h.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImap to guest&#9619;fR = Never \fR
+-&#8962;sp
++\fB\fImap to guest\fR = Never \fR
++.sp
+ Example:
+-\fB&#9619;fImap to guest&#9619;fR = Bad User \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImap to guest\fR = Bad User \fR
++.RE
++.PP
+ max connections (S)
+-&#8962;RS 4
++.RS 4
+ This option allows the number of simultaneous connections to a service to be limited. If
+-&#9619;fImax connections&#9619;fR
++\fImax connections\fR
+ is greater than 0 then connections will be refused if this number of connections to the service are already open. A value of zero mean an unlimited number of connections may be made.
+-&#8962;sp
++.sp
+ Record lock files are used to implement this feature. The lock files will be stored in the directory specified by the
+ lock directory option.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax connections&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fImax connections\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fImax connections&#9619;fR = 10 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax connections\fR = 10 \fR
++.RE
++.PP
+ max disk size (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to put an upper limit on the apparent size of disks. If you set this option to 100 then all shares will appear to be not larger than 100 MB in size.
+-&#8962;sp
++.sp
+ Note that this option does not limit the amount of data you can put on the disk. In the above case you could still store much more than 100 MB on the disk, but if a client ever asks for the amount of free disk space or the total disk size then the result will be bounded by the amount specified in
+-&#9619;fImax disk size&#9619;fR.
+-&#8962;sp
++\fImax disk size\fR.
++.sp
+ This option is primarily useful to work around bugs in some pieces of software that can't handle very large disks, particularly disks over 1GB in size.
+-&#8962;sp
++.sp
+ A
+-&#9619;fImax disk size&#9619;fR
++\fImax disk size\fR
+ of 0 means no limit.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax disk size&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fImax disk size\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fImax disk size&#9619;fR = 1000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax disk size\fR = 1000 \fR
++.RE
++.PP
+ max log size (G)
+-&#8962;RS 4
++.RS 4
+ This option (an integer in kilobytes) specifies the max size the log file should grow to. Samba periodically checks the size and if it is exceeded it will rename the file, adding a
+-&#9619;fI.old&#9619;fR
++\fI.old\fR
+ extension.
+-&#8962;sp
++.sp
+ A size of 0 means no limit.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax log size&#9619;fR = 5000 \fR
+-&#8962;sp
++\fB\fImax log size\fR = 5000 \fR
++.sp
+ Example:
+-\fB&#9619;fImax log size&#9619;fR = 1000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax log size\fR = 1000 \fR
++.RE
++.PP
+ max mux (G)
+-&#8962;RS 4
++.RS 4
+ This option controls the maximum number of outstanding simultaneous SMB operations that Samba tells the client it will allow. You should never need to set this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax mux&#9619;fR = 50 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax mux\fR = 50 \fR
++.RE
++.PP
+ max open files (G)
+-&#8962;RS 4
++.RS 4
+ This parameter limits the maximum number of open files that one
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ file serving process may have open for a client at any one time. The default for this parameter is set very high (10,000) as Samba uses only one bit per unopened file.
+-&#8962;sp
++.sp
+ The limit of the number of open files is usually set by the UNIX per-process file descriptor limit rather than this parameter so you should never need to touch this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax open files&#9619;fR = 10000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax open files\fR = 10000 \fR
++.RE
++.PP
+ max print jobs (S)
+-&#8962;RS 4
++.RS 4
+ This parameter limits the maximum number of jobs allowable in a Samba printer queue at any given moment. If this number is exceeded,
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will remote "Out of Space" to the client.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax print jobs&#9619;fR = 1000 \fR
+-&#8962;sp
++\fB\fImax print jobs\fR = 1000 \fR
++.sp
+ Example:
+-\fB&#9619;fImax print jobs&#9619;fR = 5000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax print jobs\fR = 5000 \fR
++.RE
++.PP
+ protocol
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for max protocol.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ max protocol (G)
+-&#8962;RS 4
++.RS 4
+ The value of the parameter (a string) is the highest protocol level that will be supported by the server.
+-&#8962;sp
++.sp
+ Possible values are :
+ \(bu
+-&#9619;fBCORE&#9619;fR: Earliest version. No concept of user names.
++\fBCORE\fR: Earliest version. No concept of user names.
+ .TP
+ \(bu
+-&#9619;fBCOREPLUS&#9619;fR: Slight improvements on CORE for efficiency.
++\fBCOREPLUS\fR: Slight improvements on CORE for efficiency.
+ .TP
+ \(bu
+-&#9619;fBLANMAN1&#9619;fR: First
++\fBLANMAN1\fR: First
+ \fB modern\fR
+ version of the protocol. Long filename support.
+ .TP
+ \(bu
+-&#9619;fBLANMAN2&#9619;fR: Updates to Lanman1 protocol.
++\fBLANMAN2\fR: Updates to Lanman1 protocol.
+ .TP
+ \(bu
+-&#9619;fBNT1&#9619;fR: Current up to date version of the protocol. Used by Windows NT. Known as CIFS.
+-&#8962;IP "" 4
++\fBNT1\fR: Current up to date version of the protocol. Used by Windows NT. Known as CIFS.
++.IP "" 4
+ Normally this option should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropriate protocol.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax protocol&#9619;fR = NT1 \fR
+-&#8962;sp
++\fB\fImax protocol\fR = NT1 \fR
++.sp
+ Example:
+-\fB&#9619;fImax protocol&#9619;fR = LANMAN1 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax protocol\fR = LANMAN1 \fR
++.RE
++.PP
+ max reported print jobs (S)
+-&#8962;RS 4
++.RS 4
+ This parameter limits the maximum number of jobs displayed in a port monitor for Samba printer queue at any given moment. If this number is exceeded, the excess jobs will not be shown. A value of zero means there is no limit on the number of print jobs reported.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax reported print jobs&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fImax reported print jobs\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fImax reported print jobs&#9619;fR = 1000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax reported print jobs\fR = 1000 \fR
++.RE
++.PP
+ max smbd processes (G)
+-&#8962;RS 4
++.RS 4
+ This parameter limits the maximum number of
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ processes concurrently running on a system and is intended as a stopgap to prevent degrading service to clients in the event that the server has insufficient resources to handle more than this number of connections. Remember that under normal operating conditions, each user will have an
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ associated with him or her to handle connections to all shares from a given host.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax smbd processes&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fImax smbd processes\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fImax smbd processes&#9619;fR = 1000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax smbd processes\fR = 1000 \fR
++.RE
++.PP
+ max stat cache size (G)
+-&#8962;RS 4
++.RS 4
+ This parameter limits the size in memory of any
+-&#9619;fIstat cache&#9619;fR
++\fIstat cache\fR
+ being used to speed up case insensitive name mappings. This parameter is the number of kilobyte (1024) units the stat cache can use. A value of zero means unlimited which is not advised a&#1109; it can use a lot of memory. You should not need to change this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax stat cache size&#9619;fR = 256 \fR
+-&#8962;sp
++\fB\fImax stat cache size\fR = 256 \fR
++.sp
+ Example:
+-\fB&#9619;fImax stat cache size&#9619;fR = 100 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax stat cache size\fR = 100 \fR
++.RE
++.PP
+ max ttl (G)
+-&#8962;RS 4
++.RS 4
+ This option tells
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ what the default 'time to live' of NetBIOS names should be (in seconds) when
+ nmbd
+ is requesting a name using either a broadcast packet or from a WINS server. You should never need to change this parameter. The default is 3 days.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax ttl&#9619;fR = 259200 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax ttl\fR = 259200 \fR
++.RE
++.PP
+ max wins ttl (G)
+-&#8962;RS 4
++.RS 4
+ This option tells
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when acting as a WINS server (wins support = yes) what the maximum 'time to live' of NetBIOS names that
+ nmbd
+ will grant will be (in seconds). You should never need to change this parameter. The default is 6 days (518400 seconds).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax wins ttl&#9619;fR = 518400 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax wins ttl\fR = 518400 \fR
++.RE
++.PP
+ max xmit (G)
+-&#8962;RS 4
++.RS 4
+ This option controls the maximum packet size that will be negotiated by Samba. The default is 16644, which matches the behavior of Windows 2000. A value below 2048 is likely to cause problems. You should never need to change this parameter from its default value.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImax xmit&#9619;fR = 16644 \fR
+-&#8962;sp
++\fB\fImax xmit\fR = 16644 \fR
++.sp
+ Example:
+-\fB&#9619;fImax xmit&#9619;fR = 8192 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImax xmit\fR = 8192 \fR
++.RE
++.PP
+ message command (G)
+-&#8962;RS 4
++.RS 4
+ This specifies what command to run when the server receives a WinPopup style message.
+-&#8962;sp
++.sp
+ This would normally be a command that would deliver the message somehow. How this is to be done is up to your imagination.
+-&#8962;sp
++.sp
+ An example is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -4498,34 +4498,34 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ This delivers the message using
+ xedit, then removes it afterwards.
+ \fBNOTE 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).
+-&#8962;sp
++.sp
+ All messages are delivered as the global guest user. The command takes the standard substitutions, although
+-&#9619;fI %u&#9619;fR
+-won't work (&#9619;fI%U&#9619;fR
++\fI %u\fR
++won't work (\fI%U\fR
+ may be better in this case).
+-&#8962;sp
++.sp
+ Apart from the standard substitutions, some additional ones apply. In particular:
+ \(bu
+-&#9619;fI%s&#9619;fR
++\fI%s\fR
+ = the filename containing the message.
+ .TP
+ \(bu
+-&#9619;fI%t&#9619;fR
++\fI%t\fR
+ = the destination that the message was sent to (probably the server name).
+ .TP
+ \(bu
+-&#9619;fI%f&#9619;fR
++\fI%f\fR
+ = who the message is from.
+-&#8962;IP "" 4
++.IP "" 4
+ You could make this command send mail, or whatever else takes your fancy. Please let us know of any really interesting ideas you have.
+-&#8962;sp
++.sp
+ Here's a way of sending the messages as mail to root:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -4533,12 +4533,12 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ If you don't have a message command then the message won't be delivered and Samba will tell the sender there was an error. Unfortunately WfWg totally ignores the error code and carries on regardless, saying that the message was delivered.
+-&#8962;sp
++.sp
+ If you want to silently delete it then try:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -4546,418 +4546,418 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImessage command&#9619;fR = \fR
+-&#8962;sp
++\fB\fImessage command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fImessage command&#9619;fR = csh -c 'xedit %s; rm %s' & \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImessage command\fR = csh -c 'xedit %s; rm %s' & \fR
++.RE
++.PP
+ min print space (S)
+-&#8962;RS 4
++.RS 4
+ This sets the minimum amount of free disk space that must be available before a user will be able to spool a print job. It is specified in kilobytes. The default is 0, which means a user can always spool a print job.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImin print space&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fImin print space\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fImin print space&#9619;fR = 2000 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImin print space\fR = 2000 \fR
++.RE
++.PP
+ min protocol (G)
+-&#8962;RS 4
++.RS 4
+ The value of the parameter (a string) is the lowest SMB protocol dialect than Samba will support. Please refer to the
+ max protocol parameter for a list of valid protocol names and a brief description of each. You may also wish to refer to the C source code in
+-&#9619;fIsource/smbd/negprot.c&#9619;fR
++\fIsource/smbd/negprot.c\fR
+ for a listing of known protocol dialects supported by clients.
+-&#8962;sp
++.sp
+ If you are viewing this parameter as a security measure, you should also refer to the
+ lanman auth parameter. Otherwise, you should never need to change this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImin protocol&#9619;fR = CORE \fR
+-&#8962;sp
++\fB\fImin protocol\fR = CORE \fR
++.sp
+ Example:
+-\fB&#9619;fImin protocol&#9619;fR = NT1 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImin protocol\fR = NT1 \fR
++.RE
++.PP
+ min receivefile size (G)
+-&#8962;RS 4
++.RS 4
+ This option changes the behavior of
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ when processing SMBwriteX calls. Any incoming SMBwriteX call on a non-signed SMB/CIFS connection greater than this value will not be processed in the normal way but will be passed to any underlying kernel recvfile or splice system call (if there is no such call Samba will emulate in user space). This allows zero-copy writes directly from network socket buffers into the filesystem buffer cache, if available. It may improve performance but user testing is recommended. If set to zero Samba processes SMBwriteX calls in the normal way. To enable POSIX large write support (SMB/CIFS writes up to 16Mb) this option must be nonzero. The maximum value is 128k. Values greater than 128k will be silently set to 128k.
+-&#8962;sp
++.sp
+ Note this option will have NO EFFECT if set on a SMB signed connection.
+-&#8962;sp
++.sp
+ The default is zero, which diables this option.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImin receivefile size&#9619;fR = 0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImin receivefile size\fR = 0 \fR
++.RE
++.PP
+ min wins ttl (G)
+-&#8962;RS 4
++.RS 4
+ This option tells
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ when acting as a WINS server (wins support = yes) what the minimum 'time to live' of NetBIOS names that
+ nmbd
+ will grant will be (in seconds). You should never need to change this parameter. The default is 6 hours (21600 seconds).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImin wins ttl&#9619;fR = 21600 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImin wins ttl\fR = 21600 \fR
++.RE
++.PP
+ msdfs proxy (S)
+-&#8962;RS 4
++.RS 4
+ This parameter indicates that the share is a stand-in for another CIFS share whose location is specified by the value of the parameter. When clients attempt to connect to this share, they are redirected to the proxied share using the SMB-Dfs protocol.
+-&#8962;sp
++.sp
+ Only Dfs roots can act as proxy shares. Take a look at the
+ msdfs root and
+ host msdfs options to find out how to set up a Dfs root share.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fImsdfs proxy&#9619;fR = \\otherserver\\someshare \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImsdfs proxy\fR = \\otherserver\\someshare \fR
++.RE
++.PP
+ msdfs root (S)
+-&#8962;RS 4
++.RS 4
+ If set to
+-&#9619;fByes&#9619;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
+-&#9619;fImsdfs:serverA\\shareA,serverB\\shareB&#9619;fR
++\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
++\fImsdfs:serverA\\shareA,serverB\\shareB\fR
+ and so on. For more information on setting up a Dfs tree on Samba, refer to the MSDFS chapter in the Samba3-HOWTO book.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fImsdfs root&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fImsdfs root\fR = no \fR
++.RE
++.PP
+ name cache timeout (G)
+-&#8962;RS 4
++.RS 4
+ Specifies the number of seconds it takes before entries in samba's hostname resolve cache time out. If the timeout is set to 0. the caching is disabled.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIname cache timeout&#9619;fR = 660 \fR
+-&#8962;sp
++\fB\fIname cache timeout\fR = 660 \fR
++.sp
+ Example:
+-\fB&#9619;fIname cache timeout&#9619;fR = 0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIname cache timeout\fR = 0 \fR
++.RE
++.PP
+ name resolve order (G)
+-&#8962;RS 4
++.RS 4
+ This option is used by the programs in the Samba suite to determine what naming services to use and in what order to resolve host names to IP addresses. Its main purpose to is to control how netbios name resolution is performed. The option takes a space separated string of name resolution options.
+-&#8962;sp
++.sp
+ The options are: "lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows:
+ \(bu
+ 
+-&#9619;fBlmhosts&#9619;fR
++\fBlmhosts\fR
+ : Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the manpage for lmhosts for details) then any name type matches for lookup.
+ .TP
+ \(bu
+ 
+-&#9619;fBhost&#9619;fR
++\fBhost\fR
+ : Do a standard host name to IP address resolution, using the system
+-&#9619;fI/etc/hosts &#9619;fR, 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
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fI/etc/hosts \fR, 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
++\fI/etc/nsswitch.conf\fR
+ file. Note that this method is used only if the NetBIOS name type being queried is the 0x20 (server) name type or 0x1c (domain controllers). The latter case is only useful for active directory domains and results in a DNS query for the SRV RR entry matching _ldap._tcp.domain.
+ .TP
+ \(bu
+-&#9619;fBwins&#9619;fR
++\fBwins\fR
+ : Query a name with the IP address listed in the
+ WINSSERVER parameter. If no WINS server has been specified this method will be ignored.
+ .TP
+ \(bu
+-&#9619;fBbcast&#9619;fR
++\fBbcast\fR
+ : Do a broadcast on each of the known local interfaces listed in the
+ interfaces parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.
+-&#8962;IP "" 4
++.IP "" 4
+ The example below will cause the local lmhosts file to be examined first, followed by a broadcast attempt, followed by a normal system hostname lookup.
+-&#8962;sp
++.sp
+ When Samba is functioning in ADS security mode (security = ads) it is advised to use following settings for
+-&#9619;fIname resolve order&#9619;fR:
+-&#8962;sp
++\fIname resolve order\fR:
++.sp
+ name resolve order = wins bcast
+-&#8962;sp
++.sp
+ DC lookups will still be done via DNS, but fallbacks to netbios names will not inundate your DNS servers with needless querys for DOMAIN<0x1c> lookups.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIname resolve order&#9619;fR = lmhosts host wins bcast \fR
+-&#8962;sp
++\fB\fIname resolve order\fR = lmhosts host wins bcast \fR
++.sp
+ Example:
+-\fB&#9619;fIname resolve order&#9619;fR = lmhosts bcast host \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIname resolve order\fR = lmhosts bcast host \fR
++.RE
++.PP
+ netbios aliases (G)
+-&#8962;RS 4
++.RS 4
+ This is a list of NetBIOS names that nmbd will advertise as additional names by which the Samba server is known. This allows one machine to appear in browse lists under multiple names. If a machine is acting as a browse server or logon server none of these names will be advertised as either browse server or logon servers, only the primary name of the machine will be advertised with these capabilities.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInetbios aliases&#9619;fR = # empty string (no additional names) \fR
+-&#8962;sp
++\fB\fInetbios aliases\fR = # empty string (no additional names) \fR
++.sp
+ Example:
+-\fB&#9619;fInetbios aliases&#9619;fR = TEST TEST1 TEST2 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInetbios aliases\fR = TEST TEST1 TEST2 \fR
++.RE
++.PP
+ netbios name (G)
+-&#8962;RS 4
++.RS 4
+ This sets the NetBIOS name by which a Samba server is known. By default it is the same as the first component of the host's DNS name. If a machine is a browse server or logon server this name (or the first component of the hosts DNS name) will be the name that these services are advertised under.
+-&#8962;sp
++.sp
+ There is a bug in Samba-3 that breaks operation of browsing and access to shares if the netbios name is set to the literal name
+ PIPE. To avoid this problem, do not name your Samba-3 server
+ PIPE.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInetbios name&#9619;fR = # machine DNS name \fR
+-&#8962;sp
++\fB\fInetbios name\fR = # machine DNS name \fR
++.sp
+ Example:
+-\fB&#9619;fInetbios name&#9619;fR = MYNAME \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInetbios name\fR = MYNAME \fR
++.RE
++.PP
+ netbios scope (G)
+-&#8962;RS 4
++.RS 4
+ This sets the NetBIOS scope that Samba will operate under. This should not be set unless every machine on your LAN also sets this value.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInetbios scope&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInetbios scope\fR = \fR
++.RE
++.PP
+ nis homedir (G)
+-&#8962;RS 4
++.RS 4
+ Get the home share server from a NIS map. For UNIX systems that use an automounter, the user's home directory will often be mounted on a workstation on demand from a remote server.
+-&#8962;sp
++.sp
+ When the Samba logon server is not the actual home directory server, but is mounting the home directories via NFS then two network hops would be required to access the users home directory if the logon server told the client to use itself as the SMB server for home directories (one over SMB and one over NFS). This can be very slow.
+-&#8962;sp
++.sp
+ This option allows Samba to return the home share as being on a different server to the logon server and as long as a Samba daemon is running on the home directory server, it will be mounted on the Samba client directly from the directory server. When Samba is returning the home share to the client, it will consult the NIS map specified in
+ homedir map and return the server listed there.
+-&#8962;sp
++.sp
+ Note that for this option to work there must be a working NIS system and the Samba server with this option must also be a logon server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInis homedir&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInis homedir\fR = no \fR
++.RE
++.PP
+ nt acl support (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will attempt to map UNIX permissions into Windows NT access control lists. The UNIX permissions considered are the the traditional UNIX owner and group permissions, as well as POSIX ACLs set on any files or directories. This parameter was formally a global parameter in releases prior to 2.2.2.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInt acl support&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInt acl support\fR = yes \fR
++.RE
++.PP
+ ntlm auth (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines whether or not
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will attempt to authenticate users using the NTLM encrypted password response. If disabled, either the lanman password hash or an NTLMv2 response will need to be sent by the client.
+-&#8962;sp
++.sp
+ If this option, and
+ lanman auth
+ are both disabled, then only NTLMv2 logins will be permited. Not all clients support NTLMv2, and most will require special configuration to us it.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIntlm auth&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIntlm auth\fR = yes \fR
++.RE
++.PP
+ nt pipe support (G)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will allow Windows NT clients to connect to the NT SMB specific
+-&#9619;fBIPC$&#9619;fR
++\fBIPC$\fR
+ pipes. This is a developer debugging option and can be left alone.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInt pipe support&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInt pipe support\fR = yes \fR
++.RE
++.PP
+ nt status support (G)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will negotiate NT specific status support with Windows NT/2k/XP clients. This is a developer debugging option and should be left alone. If this option is set to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ then Samba offers exactly the same DOS error codes that versions prior to Samba 2.2.3 reported.
+-&#8962;sp
++.sp
+ You should not need to ever disable this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fInt status support&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInt status support\fR = yes \fR
++.RE
++.PP
+ null passwords (G)
+-&#8962;RS 4
++.RS 4
+ Allow or disallow client access to accounts that have null passwords.
+-&#8962;sp
++.sp
+ See also
+-&#9619;fBsmbpasswd&#9619;fR(5).
+-&#8962;sp
++\fBsmbpasswd\fR(5).
++.sp
+ Default:
+-\fB&#9619;fInull passwords&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fInull passwords\fR = no \fR
++.RE
++.PP
+ obey pam restrictions (G)
+-&#8962;RS 4
++.RS 4
+ When Samba 3.0 is configured to enable PAM support (i.e. --with-pam), this parameter will control whether or not Samba should obey PAM's account and session management directives. The default behavior is to use PAM for clear text authentication only and to ignore any account or session management. Note that Samba always ignores PAM for authentication in the case of
+ encrypt passwords = yes. The reason is that PAM modules cannot support the challenge/response authentication mechanism needed in the presence of SMB password encryption.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIobey pam restrictions&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIobey pam restrictions\fR = no \fR
++.RE
++.PP
+ only user (S)
+-&#8962;RS 4
++.RS 4
+ This is a boolean option that controls whether connections with usernames not in the
+-&#9619;fIuser&#9619;fR
++\fIuser\fR
+ list will be allowed. By default this option is disabled so that a client can supply a username to be used by the server. Enabling this parameter will force the server to only use the login names from the
+-&#9619;fIuser&#9619;fR
++\fIuser\fR
+ list and is only really useful in
+ security = share level security.
+-&#8962;sp
++.sp
+ Note that this also means Samba won't try to deduce usernames from the service name. This can be annoying for the [homes] section. To get around this you could use
+ user = %S
+ which means your
+-&#9619;fIuser&#9619;fR
++\fIuser\fR
+ list will be just the service name, which for home directories is the name of the user.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIonly user&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIonly user\fR = no \fR
++.RE
++.PP
+ oplock break wait time (G)
+-&#8962;RS 4
++.RS 4
+ This is a tuning parameter added due to bugs in both Windows 9x and WinNT. If Samba responds to a client too quickly when that client issues an SMB that can cause an oplock break request, then the network client can fail and not respond to the break request. This tuning parameter (which is set in milliseconds) is the amount of time Samba will wait before sending an oplock break request to such (broken) clients.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE.
+ 
+ Default:
+-\fB&#9619;fIoplock break wait time&#9619;fR = 0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIoplock break wait time\fR = 0 \fR
++.RE
++.PP
+ oplock contention limit (S)
+-&#8962;RS 4
++.RS 4
+ This is a
+ \fBvery\fR
+ advanced
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ tuning option to improve the efficiency of the granting of oplocks under multiple client contention for the same file.
+-&#8962;sp
++.sp
+ In brief it specifies a number, which causes
+-&#9619;fBsmbd&#9619;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
++\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
+ smbd
+ to behave in a similar way to Windows NT.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE.
+ 
+ Default:
+-\fB&#9619;fIoplock contention limit&#9619;fR = 2 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIoplock contention limit\fR = 2 \fR
++.RE
++.PP
+ oplocks (S)
+-&#8962;RS 4
++.RS 4
+ This boolean option tells
+ smbd
+ whether to issue oplocks (opportunistic locks) to file open requests on this share. The oplock code can dramatically (approx. 30% or more) improve the speed of access to files on Samba servers. It allows the clients to aggressively cache files locally and you may want to disable this option for unreliable network environments (it is turned on by default in Windows NT Servers). For more information see the file
+-&#9619;fISpeed.txt&#9619;fR
++\fISpeed.txt\fR
+ in the Samba
+-&#9619;fIdocs/&#9619;fR
++\fIdocs/\fR
+ directory.
+-&#8962;sp
++.sp
+ Oplocks may be selectively turned off on certain files with a share. See the
+ veto oplock files parameter. On some systems oplocks are recognized by the underlying operating system. This allows data synchronization between all access to oplocked files, whether it be via Samba or NFS or a local UNIX process. See the
+ kernel oplocks parameter for details.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIoplocks&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIoplocks\fR = yes \fR
++.RE
++.PP
+ os2 driver map (G)
+-&#8962;RS 4
++.RS 4
+ The parameter is used to define the absolute path to a file containing a mapping of Windows NT printer driver names to OS/2 printer driver names. The format is:
+-&#8962;sp
++.sp
+ <nt driver name> = <os2 driver name>.<device name>
+-&#8962;sp
++.sp
+ For example, a valid entry using the HP LaserJet 5 printer driver would appear as
+ HP LaserJet 5L = LASERJET.HP LaserJet 5L.
+-&#8962;sp
++.sp
+ The need for the file is due to the printer driver namespace problem described in the chapter on Classical Printing in the Samba3-HOWTO book. For more details on OS/2 clients, please refer to chapter on other clients in the Samba3-HOWTO book.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIos2 driver map&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIos2 driver map\fR = \fR
++.RE
++.PP
+ os level (G)
+-&#8962;RS 4
++.RS 4
+ This integer value controls what level Samba advertises itself as for browse elections. The value of this parameter determines whether
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ has a chance of becoming a local master browser for the
+ workgroup in the local broadcast area.
+-&#8962;sp
++.sp
+ \fB Note:\fR
+ By default, Samba will win a local master browsing election over all Microsoft operating systems except a Windows NT 4.0/2000 Domain Controller. This means that a misconfigured Samba host can effectively isolate a subnet for browsing purposes. This parameter is largely auto-configured in the Samba-3 release series and it is seldom necessary to manually override the default setting. Please refer to chapter 9 of the Samba-3 HOWTO document for further information regarding the use of this parameter.
+ \fBNote:\fR
+ The maximum value for this parameter is 255. If you use higher values, counting will start at 0!
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIos level&#9619;fR = 20 \fR
+-&#8962;sp
++\fB\fIos level\fR = 20 \fR
++.sp
+ Example:
+-\fB&#9619;fIos level&#9619;fR = 65 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIos level\fR = 65 \fR
++.RE
++.PP
+ pam password change (G)
+-&#8962;RS 4
++.RS 4
+ With the addition of better PAM support in Samba 2.2, this parameter, it is possible to use PAM's password change control flag for Samba. If enabled, then PAM will be used for password changes when requested by an SMB client instead of the program listed in
+ passwd program. It should be possible to enable this without changing your
+ passwd chat parameter for most setups.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpam password change&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpam password change\fR = no \fR
++.RE
++.PP
+ panic action (G)
+-&#8962;RS 4
++.RS 4
+ This is a Samba developer option that allows a system command to be called when either
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ or
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ crashes. This is usually used to draw attention to the fact that a problem occurred.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpanic action&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpanic action\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpanic action&#9619;fR = "/bin/sleep 90000" \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpanic action\fR = "/bin/sleep 90000" \fR
++.RE
++.PP
+ paranoid server security (G)
+-&#8962;RS 4
++.RS 4
+ Some version of NT 4.x allow non-guest users with a bad passowrd. When this option is enabled, samba will not use a broken NT 4.x server as password server, but instead complain to the logs and exit.
+-&#8962;sp
++.sp
+ Disabling this option prevents Samba from making this check, which involves deliberatly attempting a bad logon to the remote server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIparanoid server security&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIparanoid server security\fR = yes \fR
++.RE
++.PP
+ passdb backend (G)
+-&#8962;RS 4
++.RS 4
+ This option allows the administrator to chose which backend will be used for storing user and possibly group information. This allows you to swap between dfferent storage mechanisms without recompile.
+-&#8962;sp
++.sp
+ The parameter value is divided into two parts, the backend's name, and a 'location' string that has meaning only to that particular backed. These are separated by a : character.
+-&#8962;sp
++.sp
+ Available backends can include:
+ \(bu
+ smbpasswd
+@@ -4972,14 +4972,14 @@
+ ldapsam
+ - The LDAP based passdb backend. Takes an LDAP URL as an optional argument (defaults to
+ ldap://localhost)
+-&#8962;sp
++.sp
+ LDAP connections should be secured where possible. This may be done using either Start-TLS (see
+ ldap ssl) or by specifying
+-&#9619;fIldaps://&#9619;fR
++\fIldaps://\fR
+ in the URL argument.
+-&#8962;sp
++.sp
+ Multiple servers may also be specified in double-quotes, if your LDAP libraries supports the LDAP URL notation. (OpenLDAP does).
+-&#8962;IP "" 4
++.IP "" 4
+ 
+ 
+ 	Examples of use are:
+@@ -4994,212 +4994,212 @@
+ 
+ .fi
+ Default:
+-\fB&#9619;fIpassdb backend&#9619;fR = smbpasswd \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpassdb backend\fR = smbpasswd \fR
++.RE
++.PP
+ passdb expand explicit (G)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether Samba substitutes %-macros in the passdb fields if they are explicitly set. We used to expand macros here, but this turned out to be a bug because the Windows client can expand a variable %G_osver% in which %G would have been substituted by the user's primary group.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpassdb expand explicit&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpassdb expand explicit\fR = no \fR
++.RE
++.PP
+ passwd chat (G)
+-&#8962;RS 4
++.RS 4
+ This string controls the
+ \fB"chat"\fR
+ conversation that takes places between
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ and the local password changing program to change the user's password. The string describes a sequence of response-receive pairs that
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ uses to determine what to send to the
+ passwd program and what to expect back. If the expected output is not received then the password is not changed.
+-&#8962;sp
++.sp
+ This chat sequence is often quite site specific, depending on what local methods are used for password control (such as NIS etc).
+-&#8962;sp
++.sp
+ Note that this parameter only is only used if the
+ unix password sync parameter is set to
+-&#9619;fByes&#9619;fR. This sequence is then called
++\fByes\fR. This sequence is then called
+ \fBAS ROOT\fR
+ when the SMB password in the smbpasswd file is being changed, without access to the old password cleartext. This means that root must be able to reset the user's password without knowing the text of the previous password. In the presence of NIS/YP, this means that the
+ passwd program must be executed on the NIS master.
+-&#8962;sp
++.sp
+ The string can contain the macro
+-&#9619;fI%n&#9619;fR
+-which is substituted for the new password. The old passsword (&#9619;fI%o&#9619;fR) is only available when
++\fI%n\fR
++which is substituted for the new password. The old passsword (\fI%o\fR) is only available when
+ encrypt passwords has been disabled. The chat sequence can also contain the standard macros \n, \r, \t and \s to give line-feed, carriage-return, tab and space. The chat sequence string can also contain a '*' which matches any sequence of characters. Double quotes can be used to collect strings with spaces in them into a single string.
+-&#8962;sp
++.sp
+ If the send string in any part of the chat sequence is a full stop ".", then no string is sent. Similarly, if the expect string is a full stop then no string is expected.
+-&#8962;sp
++.sp
+ If the
+ pam password change parameter is set to
+-&#9619;fByes&#9619;fR, 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.
+-&#8962;sp
++\fByes\fR, 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.
++.sp
+ Default:
+-\fB&#9619;fIpasswd chat&#9619;fR = *new*password* %n\\n*new*password* %n\\n *changed* \fR
+-&#8962;sp
++\fB\fIpasswd chat\fR = *new*password* %n\\n*new*password* %n\\n *changed* \fR
++.sp
+ Example:
+-\fB&#9619;fIpasswd chat&#9619;fR = "*Enter NEW password*" %n\\n "*Reenter NEW password*" %n\\n "*Password changed*" \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpasswd chat\fR = "*Enter NEW password*" %n\\n "*Reenter NEW password*" %n\\n "*Password changed*" \fR
++.RE
++.PP
+ passwd chat debug (G)
+-&#8962;RS 4
++.RS 4
+ This boolean specifies if the passwd chat script parameter is run in
+ \fBdebug\fR
+ mode. In this mode the strings passed to and received from the passwd chat are printed in the
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ log with a
+ debug level of 100. This is a dangerous option as it will allow plaintext passwords to be seen in the
+ smbd
+ log. It is available to help Samba admins debug their
+-&#9619;fIpasswd chat&#9619;fR
++\fIpasswd chat\fR
+ scripts when calling the
+-&#9619;fIpasswd program&#9619;fR
++\fIpasswd program\fR
+ and should be turned off after this has been done. This option has no effect if the
+ pam password change parameter is set. This parameter is off by default.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpasswd chat debug&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpasswd chat debug\fR = no \fR
++.RE
++.PP
+ passwd chat timeout (G)
+-&#8962;RS 4
++.RS 4
+ This integer specifies the number of seconds smbd will wait for an initial answer from a passwd chat script being run. Once the initial answer is received the subsequent answers must be received in one tenth of this time. The default it two seconds.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpasswd chat timeout&#9619;fR = 2 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpasswd chat timeout\fR = 2 \fR
++.RE
++.PP
+ passwd program (G)
+-&#8962;RS 4
++.RS 4
+ The name of a program that can be used to set UNIX user passwords. Any occurrences of
+-&#9619;fI%u&#9619;fR
++\fI%u\fR
+ will be replaced with the user name. The user name is checked for existence before calling the password changing program.
+-&#8962;sp
++.sp
+ Also note that many passwd programs insist in
+ \fBreasonable \fR
+ passwords, such as a minimum length, or the inclusion of mixed case chars and digits. This can pose a problem as some clients (such as Windows for Workgroups) uppercase the password before sending it.
+-&#8962;sp
++.sp
+ \fBNote\fR
+ that if the
+-&#9619;fIunix password sync&#9619;fR
++\fIunix password sync\fR
+ parameter is set to
+-&#9619;fByes &#9619;fR
++\fByes \fR
+ then this program is called
+ \fBAS ROOT\fR
+ before the SMB password in the smbpasswd file is changed. If this UNIX password change fails, then
+ smbd
+ will fail to change the SMB password also (this is by design).
+-&#8962;sp
++.sp
+ If the
+-&#9619;fIunix password sync&#9619;fR
++\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
+-&#9619;fIunix password sync&#9619;fR
++\fIunix password sync\fR
+ is set to
+-&#9619;fBno&#9619;fR.
+-&#8962;sp
++\fBno\fR.
++.sp
+ Default:
+-\fB&#9619;fIpasswd program&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpasswd program\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpasswd program&#9619;fR = /bin/passwd %u \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpasswd program\fR = /bin/passwd %u \fR
++.RE
++.PP
+ password level (G)
+-&#8962;RS 4
++.RS 4
+ Some client/server combinations have difficulty with mixed-case passwords. One offending client is Windows for Workgroups, which for some reason forces passwords to upper case when using the LANMAN1 protocol, but leaves them alone when using COREPLUS! Another problem child is the Windows 95/98 family of operating systems. These clients upper case clear text passwords even when NT LM 0.12 selected by the protocol negotiation request/response.
+-&#8962;sp
++.sp
+ This parameter defines the maximum number of characters that may be upper case in passwords.
+-&#8962;sp
++.sp
+ For example, say the password given was "FRED". If
+-&#9619;fI password level&#9619;fR
++\fI password level\fR
+ is set to 1, the following combinations would be tried if "FRED" failed:
+-&#8962;sp
++.sp
+ "Fred", "fred", "fRed", "frEd","freD"
+-&#8962;sp
++.sp
+ If
+-&#9619;fIpassword level&#9619;fR
++\fIpassword level\fR
+ was set to 2, the following combinations would also be tried:
+-&#8962;sp
++.sp
+ "FRed", "FrEd", "FreD", "fREd", "fReD", "frED", ..
+-&#8962;sp
++.sp
+ And so on.
+-&#8962;sp
++.sp
+ The higher value this parameter is set to the more likely it is that a mixed case password will be matched against a single case password. However, you should be aware that use of this parameter reduces security and increases the time taken to process a new connection.
+-&#8962;sp
++.sp
+ A value of zero will cause only two attempts to be made - the password as is and the password in all-lower case.
+-&#8962;sp
++.sp
+ This parameter is used only when using plain-text passwords. It is not at all used when encrypted passwords as in use (that is the default since samba-3.0.0). Use this only when
+ encrypt passwords = No.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpassword level&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIpassword level\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIpassword level&#9619;fR = 4 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpassword level\fR = 4 \fR
++.RE
++.PP
+ password server (G)
+-&#8962;RS 4
++.RS 4
+ By specifying the name of another SMB server or Active Directory domain controller with this option, and using
+ security = [ads|domain|server]
+ it is possible to get Samba to to do all its username/password validation using a specific remote server.
+-&#8962;sp
++.sp
+ This option sets the name or IP address of the password server to use. New syntax has been added to support defining the port to use when connecting to the server the case of an ADS realm. To define a port other than the default LDAP port of 389, add the port number using a colon after the name or IP address (e.g. 192.168.1.100:389). If you do not specify a port, Samba will use the standard LDAP port of tcp/389. Note that port numbers have no effect on password servers for Windows NT 4.0 domains or netbios connections.
+-&#8962;sp
++.sp
+ If parameter is a name, it is looked up using the parameter
+ name resolve order and so may resolved by any method and order described in that parameter.
+-&#8962;sp
++.sp
+ The password server must be a machine capable of using the "LM1.2X002" or the "NT LM 0.12" protocol, and it must be in user level security mode.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Using a password server means your UNIX box (running Samba) is only as secure as your password server.
+ \fBDO NOT CHOOSE A PASSWORD SERVER THAT YOU DON'T COMPLETELY TRUST\fR.
+ 
+ Never point a Samba server at itself for password serving. This will cause a loop and could lock up your Samba server!
+-&#8962;sp
++.sp
+ The name of the password server takes the standard substitutions, but probably the only useful one is
+-&#9619;fI%m &#9619;fR, which means the Samba server will use the incoming client as the password server. If you use this then you better trust your clients, and you had better restrict them with hosts allow!
+-&#8962;sp
++\fI%m \fR, which means the Samba server will use the incoming client as the password server. If you use this then you better trust your clients, and you had better restrict them with hosts allow!
++.sp
+ If the
+-&#9619;fIsecurity&#9619;fR
++\fIsecurity\fR
+ parameter is set to
+-&#9619;fBdomain&#9619;fR
++\fBdomain\fR
+ or
+-&#9619;fBads&#9619;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
++\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
+ security = domain
+ is that if you list several hosts in the
+-&#9619;fIpassword server&#9619;fR
++\fIpassword server\fR
+ option then
+ smbd
+ will try each in turn till it finds one that responds. This is useful in case your primary server goes down.
+-&#8962;sp
++.sp
+ If the
+-&#9619;fIpassword server&#9619;fR
++\fIpassword server\fR
+ option is set to the character '*', then Samba will attempt to auto-locate the Primary or Backup Domain controllers to authenticate against by doing a query for the name
+-&#9619;fBWORKGROUP<1C>&#9619;fR
++\fBWORKGROUP<1C>\fR
+ and then contacting each server returned in the list of IP addresses from the name resolution source.
+-&#8962;sp
++.sp
+ If the list of servers contains both names/IP's and the '*' character, the list is treated as a list of preferred domain controllers, but an auto lookup of all remaining DC's will be added to the list as well. Samba will not attempt to optimize this list by locating the closest DC.
+-&#8962;sp
++.sp
+ If the
+-&#9619;fIsecurity&#9619;fR
++\fIsecurity\fR
+ parameter is set to
+-&#9619;fBserver&#9619;fR, then there are different restrictions that
++\fBserver\fR, then there are different restrictions that
+ security = domain
+ doesn't suffer from:
+ \(bu
+ You may list several password servers in the
+-&#9619;fIpassword server&#9619;fR
++\fIpassword server\fR
+ parameter, however if an
+ smbd
+ makes a connection to a password server, and then the password server fails, no more users will be able to be authenticated from this
+@@ -5211,250 +5211,250 @@
+ If you are using a Windows NT server as your password server then you will have to ensure that your users are able to login from the Samba server, as when in
+ security = server
+ mode the network logon will appear to come from there rather than from the users workstation.
+-&#8962;IP "" 4
++.IP "" 4
+ Default:
+-\fB&#9619;fIpassword server&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpassword server\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpassword server&#9619;fR = NT-PDC, NT-BDC1, NT-BDC2, * \fR
+-&#8962;sp
++\fB\fIpassword server\fR = NT-PDC, NT-BDC1, NT-BDC2, * \fR
++.sp
+ Example:
+-\fB&#9619;fIpassword server&#9619;fR = windc.mydomain.com:389 192.168.1.101 * \fR
+-&#8962;sp
++\fB\fIpassword server\fR = windc.mydomain.com:389 192.168.1.101 * \fR
++.sp
+ Example:
+-\fB&#9619;fIpassword server&#9619;fR = * \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpassword server\fR = * \fR
++.RE
++.PP
+ directory
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for path.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ path (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies a directory to which the user of the service is to be given access. In the case of printable services, this is where print data will spool prior to being submitted to the host for printing.
+-&#8962;sp
++.sp
+ For a printable service offering guest access, the service should be readonly and the path should be world-writeable and have the sticky bit set. This is not mandatory of course, but you probably won't get the results you expect if you do otherwise.
+-&#8962;sp
++.sp
+ Any occurrences of
+-&#9619;fI%u&#9619;fR
++\fI%u\fR
+ in the path will be replaced with the UNIX username that the client is using on this connection. Any occurrences of
+-&#9619;fI%m&#9619;fR
++\fI%m\fR
+ will be replaced by the NetBIOS name of the machine they are connecting from. These replacements are very useful for setting up pseudo home directories for users.
+-&#8962;sp
++.sp
+ Note that this path will be based on
+ root dir if one was specified.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpath&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpath\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpath&#9619;fR = /home/fred \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpath\fR = /home/fred \fR
++.RE
++.PP
+ pid directory (G)
+-&#8962;RS 4
++.RS 4
+ This option specifies the directory where pid files will be placed.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpid directory&#9619;fR = ${prefix}/var/locks \fR
+-&#8962;sp
++\fB\fIpid directory\fR = ${prefix}/var/locks \fR
++.sp
+ Example:
+-\fB&#9619;fIpid directory&#9619;fR = pid directory = /var/run/ \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpid directory\fR = pid directory = /var/run/ \fR
++.RE
++.PP
+ posix locking (S)
+-&#8962;RS 4
++.RS 4
+ The
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ daemon maintains an database of file locks obtained by SMB clients. The default behavior is to map this internal database to POSIX locks. This means that file locks obtained by SMB clients are consistent with those seen by POSIX compliant applications accessing the files via a non-SMB method (e.g. NFS or local file access). You should never need to disable this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIposix locking&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIposix locking\fR = yes \fR
++.RE
++.PP
+ postexec (S)
+-&#8962;RS 4
++.RS 4
+ This option specifies a command to be run whenever the service is disconnected. It takes the usual substitutions. The command may be run as the root on some systems.
+-&#8962;sp
++.sp
+ An interesting example may be to unmount server resources:
+-&#8962;sp
++.sp
+ postexec = /etc/umount /cdrom
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpostexec&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpostexec\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpostexec&#9619;fR = echo \\"%u disconnected from %S from %m (%I)\\" >> /tmp/log \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpostexec\fR = echo \\"%u disconnected from %S from %m (%I)\\" >> /tmp/log \fR
++.RE
++.PP
+ exec
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for preexec.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ preexec (S)
+-&#8962;RS 4
++.RS 4
+ This option specifies a command to be run whenever the service is connected to. It takes the usual substitutions.
+-&#8962;sp
++.sp
+ An interesting example is to send the users a welcome message every time they log in. Maybe a message of the day? Here is an example:
+-&#8962;sp
++.sp
+ 
+ preexec = csh -c 'echo \\"Welcome to %S!\\" | /usr/local/samba/bin/smbclient -M %m -I %I' &
+-&#8962;sp
++.sp
+ Of course, this could get annoying after a while :-)
+-&#8962;sp
++.sp
+ See also
+ preexec close and
+ postexec.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpreexec&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpreexec\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpreexec&#9619;fR = echo \\"%u connected to %S from %m (%I)\\" >> /tmp/log \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpreexec\fR = echo \\"%u connected to %S from %m (%I)\\" >> /tmp/log \fR
++.RE
++.PP
+ preexec close (S)
+-&#8962;RS 4
++.RS 4
+ This boolean option controls whether a non-zero return code from
+ preexec should close the service being connected to.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpreexec close&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpreexec close\fR = no \fR
++.RE
++.PP
+ prefered master
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for preferred master.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ preferred master (G)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls if
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ is a preferred master browser for its workgroup.
+-&#8962;sp
++.sp
+ If this is set to
+-&#9619;fByes&#9619;fR, on startup,
++\fByes\fR, on startup,
+ nmbd
+ 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
+ domain master = yes, so that
+ nmbd
+ can guarantee becoming a domain master.
+-&#8962;sp
++.sp
+ Use this option with caution, because if there are several hosts (whether Samba servers, Windows 95 or NT) that are preferred master browsers on the same subnet, they will each periodically and continuously attempt to become the local master browser. This will result in unnecessary broadcast traffic and reduced browsing capabilities.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpreferred master&#9619;fR = auto \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpreferred master\fR = auto \fR
++.RE
++.PP
+ auto services
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for preload.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ preload (G)
+-&#8962;RS 4
++.RS 4
+ This is a list of services that you want to be automatically added to the browse lists. This is most useful for homes and printers services that would otherwise not be visible.
+-&#8962;sp
++.sp
+ Note that if you just want all printers in your printcap file loaded then the
+ load printers option is easier.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpreload&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpreload\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpreload&#9619;fR = fred lp colorlp \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpreload\fR = fred lp colorlp \fR
++.RE
++.PP
+ preload modules (G)
+-&#8962;RS 4
++.RS 4
+ This is a list of paths to modules that should be loaded into smbd before a client connects. This improves the speed of smbd when reacting to new connections somewhat.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpreload modules&#9619;fR = \fR
+-&#8962;sp
++\fB\fIpreload modules\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIpreload modules&#9619;fR = /usr/lib/samba/passdb/mysql.so \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpreload modules\fR = /usr/lib/samba/passdb/mysql.so \fR
++.RE
++.PP
+ preserve case (S)
+-&#8962;RS 4
++.RS 4
+ This controls if new filenames are created with the case that the client passes, or if they are forced to be the
+ default case.
+-&#8962;sp
++.sp
+ See the section on
+ NAME MANGLING
+ for a fuller discussion.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIpreserve case&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIpreserve case\fR = yes \fR
++.RE
++.PP
+ print ok
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for printable.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ printable (S)
+-&#8962;RS 4
++.RS 4
+ If this parameter is
+-&#9619;fByes&#9619;fR, then clients may open, write to and submit spool files on the directory specified for the service.
+-&#8962;sp
++\fByes\fR, then clients may open, write to and submit spool files on the directory specified for the service.
++.sp
+ Note that a printable service will ALWAYS allow writing to the service path (user privileges permitting) via the spooling of print data. The
+ read only parameter controls only non-printing access to the resource.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIprintable&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprintable\fR = no \fR
++.RE
++.PP
+ printcap cache time (G)
+-&#8962;RS 4
++.RS 4
+ This option specifies the number of seconds before the printing subsystem is again asked for the known printers. If the value is greater than 60 the initial waiting time is set to 60 seconds to allow an earlier first rescan of the printing subsystem.
+-&#8962;sp
++.sp
+ Setting this parameter to 0 disables any rescanning for new or removed printers after the initial startup.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIprintcap cache time&#9619;fR = 750 \fR
+-&#8962;sp
++\fB\fIprintcap cache time\fR = 750 \fR
++.sp
+ Example:
+-\fB&#9619;fIprintcap cache time&#9619;fR = 600 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprintcap cache time\fR = 600 \fR
++.RE
++.PP
+ printcap
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for printcap name.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ printcap name (S)
+-&#8962;RS 4
++.RS 4
+ This parameter may be used to override the compiled-in default printcap name used by the server (usually
+-&#9619;fI /etc/printcap&#9619;fR). See the discussion of the
++\fI /etc/printcap\fR). See the discussion of the
+ [printers]
+ section above for reasons why you might want to do this.
+-&#8962;sp
++.sp
+ To use the CUPS printing interface set
+ printcap name = cups. This should be supplemented by an addtional setting
+ printing = cups in the [global] section.
+ printcap name = cups
+ will use the "dummy" printcap created by CUPS, as specified in your CUPS configuration file.
+-&#8962;sp
++.sp
+ On System V systems that use
+ lpstat
+ to list available printers you can use
+ printcap name = lpstat
+ to automatically obtain lists of available printers. This is the default for systems that define SYSV at configure time in Samba (this includes most System V based systems). If
+-&#9619;fI printcap name&#9619;fR
++\fI printcap name\fR
+ is set to
+ lpstat
+ on these systems then Samba will launch
+ lpstat -v
+ and attempt to parse the output to obtain a printer list.
+-&#8962;sp
++.sp
+ A minimal printcap file would look something like this:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -5466,334 +5466,334 @@
+ 
+ .fi
+ where the '|' separates aliases of a printer. The fact that the second alias has a space in it gives a hint to Samba that it's a comment.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Under AIX the default printcap name is
+-&#9619;fI/etc/qconfig&#9619;fR. Samba will assume the file is in AIX
+-&#9619;fIqconfig&#9619;fR
++\fI/etc/qconfig\fR. Samba will assume the file is in AIX
++\fIqconfig\fR
+ format if the string
+-&#9619;fIqconfig&#9619;fR
++\fIqconfig\fR
+ appears in the printcap filename.
+ 
+ Default:
+-\fB&#9619;fIprintcap name&#9619;fR = /etc/printcap \fR
+-&#8962;sp
++\fB\fIprintcap name\fR = /etc/printcap \fR
++.sp
+ Example:
+-\fB&#9619;fIprintcap name&#9619;fR = /etc/myprintcap \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprintcap name\fR = /etc/myprintcap \fR
++.RE
++.PP
+ print command (S)
+-&#8962;RS 4
++.RS 4
+ After a print job has finished spooling to a service, this command will be used via a
+ system()
+ call to process the spool file. Typically the command specified will submit the spool file to the host's printing subsystem, but there is no requirement that this be the case. The server will not remove the spool file, so whatever command you specify should remove the spool file when it has been processed, otherwise you will need to manually remove old spool files.
+-&#8962;sp
++.sp
+ The print command is simply a text string. It will be used verbatim after macro substitutions have been made:
+-&#8962;sp
++.sp
+ %s, %f - the path to the spool file name
+-&#8962;sp
++.sp
+ %p - the appropriate printer name
+-&#8962;sp
++.sp
+ %J - the job name as transmitted by the client.
+-&#8962;sp
++.sp
+ %c - The number of printed pages of the spooled job (if known).
+-&#8962;sp
++.sp
+ %z - the size of the spooled print job (in bytes)
+-&#8962;sp
++.sp
+ The print command
+ \fBMUST\fR
+ contain at least one occurrence of
+-&#9619;fI%s&#9619;fR
++\fI%s\fR
+ or
+-&#9619;fI%f &#9619;fR
++\fI%f \fR
+ - the
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is optional. At the time a job is submitted, if no printer name is supplied the
+-&#9619;fI%p &#9619;fR
++\fI%p \fR
+ will be silently removed from the printer command.
+-&#8962;sp
++.sp
+ If specified in the [global] section, the print command given will be used for any printable service that does not have its own print command specified.
+-&#8962;sp
++.sp
+ If there is neither a specified print command for a printable service nor a global print command, spool files will be created but not processed and (most importantly) not removed.
+-&#8962;sp
++.sp
+ Note that printing may fail on some UNIXes from the
+-&#9619;fBnobody&#9619;fR
++\fBnobody\fR
+ account. If this happens then create an alternative guest account that can print and set the
+ guest account in the [global] section.
+-&#8962;sp
++.sp
+ You can form quite complex print commands by realizing that they are just passed to a shell. For example the following will log a print job, print the file, then remove it. Note that ';' is the usual separator for command in shell scripts.
+-&#8962;sp
++.sp
+ print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s; rm %s
+-&#8962;sp
++.sp
+ You may have to vary this command considerably depending on how you normally print files on your system. The default for the parameter varies depending on the setting of the
+ printing parameter.
+-&#8962;sp
++.sp
+ Default: For
+ printing = BSD, AIX, QNX, LPRNG or PLP :
+-&#8962;sp
++.sp
+ print command = lpr -r -P%p %s
+-&#8962;sp
++.sp
+ For
+ printing = SYSV or HPUX :
+-&#8962;sp
++.sp
+ print command = lp -c -d%p %s; rm %s
+-&#8962;sp
++.sp
+ For
+ printing = SOFTQ :
+-&#8962;sp
++.sp
+ print command = lp -d%p -s %s; rm %s
+-&#8962;sp
++.sp
+ For printing = CUPS : If SAMBA is compiled against libcups, then
+ printcap = cups uses the CUPS API to submit jobs, etc. Otherwise it maps to the System V commands with the -oraw option for printing, i.e. it uses
+ lp -c -d%p -oraw; rm %s. With
+ printing = cups, and if SAMBA is compiled against libcups, any manually set print command will be ignored.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIprint command&#9619;fR = /usr/local/samba/bin/myprintscript %p %s \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprint command\fR = /usr/local/samba/bin/myprintscript %p %s \fR
++.RE
++.PP
+ printer admin (S)
+-&#8962;RS 4
++.RS 4
+ This lists users who can do anything to printers via the remote administration interfaces offered by MS-RPC (usually using a NT workstation). This parameter can be set per-share or globally. Note: The root user always has admin rights. Use caution with use in the global stanza as this can cause side effects.
+-&#8962;sp
++.sp
+ This parameter has been marked deprecated in favor of using the SePrintOperatorPrivilege and individual print security descriptors. It will be removed in a future release.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIprinter admin&#9619;fR = \fR
+-&#8962;sp
++\fB\fIprinter admin\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIprinter admin&#9619;fR = admin, @staff \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprinter admin\fR = admin, @staff \fR
++.RE
++.PP
+ printer
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for printer name.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ printer name (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the name of the printer to which print jobs spooled through a printable service will be sent.
+-&#8962;sp
++.sp
+ If specified in the [global] section, the printer name given will be used for any printable service that does not have its own printer name specified.
+-&#8962;sp
++.sp
+ The default value of the
+ printer name may be
+ lp
+ on many systems.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIprinter name&#9619;fR = none \fR
+-&#8962;sp
++\fB\fIprinter name\fR = none \fR
++.sp
+ Example:
+-\fB&#9619;fIprinter name&#9619;fR = laserwriter \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprinter name\fR = laserwriter \fR
++.RE
++.PP
+ printing (S)
+-&#8962;RS 4
++.RS 4
+ This parameters controls how printer status information is interpreted on your system. It also affects the default values for the
+-&#9619;fIprint command&#9619;fR,
+-&#9619;fIlpq command&#9619;fR,
+-&#9619;fIlppause command &#9619;fR,
+-&#9619;fIlpresume command&#9619;fR, and
+-&#9619;fIlprm command&#9619;fR
++\fIprint command\fR,
++\fIlpq command\fR,
++\fIlppause command \fR,
++\fIlpresume command\fR, and
++\fIlprm command\fR
+ if specified in the [global] section.
+-&#8962;sp
++.sp
+ Currently nine printing styles are supported. They are
+-&#9619;fBBSD&#9619;fR,
+-&#9619;fBAIX&#9619;fR,
+-&#9619;fBLPRNG&#9619;fR,
+-&#9619;fBPLP&#9619;fR,
+-&#9619;fBSYSV&#9619;fR,
+-&#9619;fBHPUX&#9619;fR,
+-&#9619;fBQNX&#9619;fR,
+-&#9619;fBSOFTQ&#9619;fR, and
+-&#9619;fBCUPS&#9619;fR.
+-&#8962;sp
++\fBBSD\fR,
++\fBAIX\fR,
++\fBLPRNG\fR,
++\fBPLP\fR,
++\fBSYSV\fR,
++\fBHPUX\fR,
++\fBQNX\fR,
++\fBSOFTQ\fR, and
++\fBCUPS\fR.
++.sp
+ To see what the defaults are for the other print commands when using the various options use the
+-&#9619;fBtestparm&#9619;fR(1)
++\fBtestparm\fR(1)
+ program.
+-&#8962;sp
++.sp
+ This option can be set on a per printer basis. Please be aware however, that you must place any of the various printing commands (e.g. print command, lpq command, etc...) after defining the value for the
+-&#9619;fIprinting&#9619;fR
++\fIprinting\fR
+ option since it will reset the printing commands to default values.
+-&#8962;sp
++.sp
+ See also the discussion in the
+ [printers]
+ section.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ printjob username (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies which user information will be passed to the printing system. Usually, the username is sent, but in some cases, e.g. the domain prefix is useful, too.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIprintjob username&#9619;fR = %U \fR
+-&#8962;sp
++\fB\fIprintjob username\fR = %U \fR
++.sp
+ Example:
+-\fB&#9619;fIprintjob username&#9619;fR = %D\\%U \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprintjob username\fR = %D\\%U \fR
++.RE
++.PP
+ private dir (G)
+-&#8962;RS 4
++.RS 4
+ This parameters defines the directory smbd will use for storing such files as
+-&#9619;fIsmbpasswd&#9619;fR
++\fIsmbpasswd\fR
+ and
+-&#9619;fIsecrets.tdb&#9619;fR.
+-&#8962;sp
++\fIsecrets.tdb\fR.
++.sp
+ Default:
+-\fB&#9619;fIprivate dir&#9619;fR = ${prefix}/private \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprivate dir\fR = ${prefix}/private \fR
++.RE
++.PP
+ profile acls (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter was added to fix the problems that people have been having with storing user profiles on Samba shares from Windows 2000 or Windows XP clients. New versions of Windows 2000 or Windows XP service packs do security ACL checking on the owner and ability to write of the profile directory stored on a local workstation when copied from a Samba share.
+-&#8962;sp
++.sp
+ When not in domain mode with winbindd then the security info copied onto the local workstation has no meaning to the logged in user (SID) on that workstation so the profile storing fails. Adding this parameter onto a share used for profile storage changes two things about the returned Windows ACL. Firstly it changes the owner and group owner of all reported files and directories to be BUILTIN\\Administrators, BUILTIN\\Users respectively (SIDs S-1-5-32-544, S-1-5-32-545). Secondly it adds an ACE entry of "Full Control" to the SID BUILTIN\\Users to every returned ACL. This will allow any Windows 2000 or XP workstation user to access the profile.
+-&#8962;sp
++.sp
+ Note that if you have multiple users logging on to a workstation then in order to prevent them from being able to access each others profiles you must remove the "Bypass traverse checking" advanced user right. This will prevent access to other users profile directories as the top level profile directory (named after the user) is created by the workstation profile code and has an ACL restricting entry to the directory tree to the owning user.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIprofile acls&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIprofile acls\fR = no \fR
++.RE
++.PP
+ queuepause command (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the command to be executed on the server host in order to pause the printer queue.
+-&#8962;sp
++.sp
+ This command should be a program or script which takes a printer name as its only parameter and stops the printer queue, such that no longer jobs are submitted to the printer.
+-&#8962;sp
++.sp
+ This command is not supported by Windows for Workgroups, but can be issued from the Printers window under Windows 95 and NT.
+-&#8962;sp
++.sp
+ If a
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is given then the printer name is put in its place. Otherwise it is placed at the end of the command.
+-&#8962;sp
++.sp
+ Note that it is good practice to include the absolute path in the command as the PATH may not be available to the server.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;sp
++.sp
+ Example:
+-\fB&#9619;fIqueuepause command&#9619;fR = disable %p \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIqueuepause command\fR = disable %p \fR
++.RE
++.PP
+ queueresume command (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the command to be executed on the server host in order to resume the printer queue. It is the command to undo the behavior that is caused by the previous parameter (queuepause command).
+-&#8962;sp
++.sp
+ This command should be a program or script which takes a printer name as its only parameter and resumes the printer queue, such that queued jobs are resubmitted to the printer.
+-&#8962;sp
++.sp
+ This command is not supported by Windows for Workgroups, but can be issued from the Printers window under Windows 95 and NT.
+-&#8962;sp
++.sp
+ If a
+-&#9619;fI%p&#9619;fR
++\fI%p\fR
+ is given then the printer name is put in its place. Otherwise it is placed at the end of the command.
+-&#8962;sp
++.sp
+ Note that it is good practice to include the absolute path in the command as the PATH may not be available to the server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIqueueresume command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIqueueresume command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIqueueresume command&#9619;fR = enable %p \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIqueueresume command\fR = enable %p \fR
++.RE
++.PP
+ read list (S)
+-&#8962;RS 4
++.RS 4
+ 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
+ read only option is set to. The list can include group names using the syntax described in the
+ invalid users parameter.
+-&#8962;sp
++.sp
+ This parameter will not work with the
+ security = share in Samba 3.0. This is by design.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIread list&#9619;fR = \fR
+-&#8962;sp
++\fB\fIread list\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIread list&#9619;fR = mary, @students \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIread list\fR = mary, @students \fR
++.RE
++.PP
+ read only (S)
+-&#8962;RS 4
++.RS 4
+ An inverted synonym is
+ writeable.
+-&#8962;sp
++.sp
+ If this parameter is
+-&#9619;fByes&#9619;fR, then users of a service may not create or modify files in the service's directory.
+-&#8962;sp
++\fByes\fR, then users of a service may not create or modify files in the service's directory.
++.sp
+ Note that a printable service (printable = yes) will
+ \fBALWAYS\fR
+ allow writing to the directory (user privileges permitting), but only via spooling operations.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIread only&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIread only\fR = yes \fR
++.RE
++.PP
+ read raw (G)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether or not the server will support the raw read SMB requests when transferring data to clients.
+-&#8962;sp
++.sp
+ If enabled, raw reads allow reads of 65535 bytes in one packet. This typically provides a major performance benefit.
+-&#8962;sp
++.sp
+ However, some clients either negotiate the allowable block size incorrectly or are incapable of supporting larger block sizes, and for these clients you may need to disable raw reads.
+-&#8962;sp
++.sp
+ In general this parameter should be viewed as a system tuning tool and left severely alone.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIread raw&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIread raw\fR = yes \fR
++.RE
++.PP
+ realm (G)
+-&#8962;RS 4
++.RS 4
+ This option specifies the kerberos realm to use. The realm is used as the ADS equivalent of the NT4
+ domain. It is usually set to the DNS name of the kerberos server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIrealm&#9619;fR = \fR
+-&#8962;sp
++\fB\fIrealm\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIrealm&#9619;fR = mysambabox.mycompany.com \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIrealm\fR = mysambabox.mycompany.com \fR
++.RE
++.PP
+ registry shares (G)
+-&#8962;RS 4
++.RS 4
+ This turns on or off support for share definitions read from registry. Shares defined in
+ \fBsmb.conf\fR
+ take precedence over shares with the same name defined in registry. See the section on registry-based configuration for details.
+-&#8962;sp
++.sp
+ Note that this parameter defaults to
+ \fBno\fR, but it is set to
+ \fByes\fR
+ when
+-&#9619;fIconfig bakend&#9619;fR
++\fIconfig bakend\fR
+ is set to
+ \fBregistry\fR.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIregistry shares&#9619;fR = no \fR
+-&#8962;sp
++\fB\fIregistry shares\fR = no \fR
++.sp
+ Example:
+-\fB&#9619;fIregistry shares&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIregistry shares\fR = yes \fR
++.RE
++.PP
+ remote announce (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to setup
+-&#9619;fBnmbd&#9619;fR(8)to periodically announce itself to arbitrary IP addresses with an arbitrary workgroup name.
+-&#8962;sp
++\fBnmbd\fR(8)to periodically announce itself to arbitrary IP addresses with an arbitrary workgroup name.
++.sp
+ This is useful if you want your Samba server to appear in a remote workgroup for which the normal browse propagation rules don't work. The remote workgroup can be anywhere that you can send IP packets to.
+-&#8962;sp
++.sp
+ For example:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -5804,80 +5804,80 @@
+ nmbd
+ to announce itself to the two given IP addresses using the given workgroup names. If you leave out the workgroup name then the one given in the
+ workgroup parameter is used instead.
+-&#8962;sp
++.sp
+ The IP addresses you choose would normally be the broadcast addresses of the remote networks, but can also be the IP addresses of known browse masters if your network config is that stable.
+-&#8962;sp
++.sp
+ See the chapter on Network Browsing in the Samba-HOWTO book.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIremote announce&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIremote announce\fR = \fR
++.RE
++.PP
+ remote browse sync (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to setup
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ to periodically request synchronization of browse lists with the master browser of a Samba server that is on a remote segment. This option will allow you to gain browse lists for multiple workgroups across routed networks. This is done in a manner that does not work with any non-Samba servers.
+-&#8962;sp
++.sp
+ This is useful if you want your Samba server and all local clients to appear in a remote workgroup for which the normal browse propagation rules don't work. The remote workgroup can be anywhere that you can send IP packets to.
+-&#8962;sp
++.sp
+ For example:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-&#9619;fIremote browse sync = 192.168.2.255 192.168.4.255&#9619;fR
++\fIremote browse sync = 192.168.2.255 192.168.4.255\fR
+ 
+ .fi
+ the above line would cause
+ nmbd
+ to request the master browser on the specified subnets or addresses to synchronize their browse lists with the local server.
+-&#8962;sp
++.sp
+ The IP addresses you choose would normally be the broadcast addresses of the remote networks, but can also be the IP addresses of known browse masters if your network config is that stable. If a machine IP address is given Samba makes NO attempt to validate that the remote machine is available, is listening, nor that it is in fact the browse master on its segment.
+-&#8962;sp
++.sp
+ The
+ remote browse sync may be used on networks where there is no WINS server, and may be used on disjoint networks where each network has its own WINS server.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIremote browse sync&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIremote browse sync\fR = \fR
++.RE
++.PP
+ rename user script (G)
+-&#8962;RS 4
++.RS 4
+ This is the full pathname to a script that will be run as root by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ under special circumstances described below.
+-&#8962;sp
++.sp
+ When a user with admin authority or SeAddUserPrivilege rights renames a user (e.g.: from the NT4 User Manager for Domains), this script will be run to rename the POSIX user. Two variables,
+ %uold
+ and
+ %unew, will be substituted with the old and new usernames, respectively. The script should return 0 upon successful completion, and nonzero otherwise.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ The script has all responsibility to rename all the necessary data that is accessible in this posix method. This can mean different requirements for different backends. The tdbsam and smbpasswd backends will take care of the contents of their respective files, so the script is responsible only for changing the POSIX username, and other data that may required for your circumstances, such as home directory. Please also consider whether or not you need to rename the actual home directories themselves. The ldapsam backend will not make any changes, because of the potential issues with renaming the LDAP naming attribute. In this case the script is responsible for changing the attribute that samba uses (uid) for locating users, as well as any data that needs to change for other applications using the same directory.
+ 
+ Default:
+-\fB&#9619;fIrename user script&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIrename user script\fR = no \fR
++.RE
++.PP
+ reset on zero vc (G)
+-&#8962;RS 4
++.RS 4
+ This boolean option controls whether an incoming session setup should kill other connections coming from the same IP. This matches the default Windows 2003 behaviour. Setting this parameter to yes becomes necessary when you have a flaky network and windows decides to reconnect while the old connection still has files with share modes open. These files become inaccessible over the new connection. The client sends a zero VC on the new connection, and Windows 2003 kills all other connections coming from the same IP. This way the locked files are accessible again. Please be aware that enabling this option will kill connections behind a masquerading router.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIreset on zero vc&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIreset on zero vc\fR = no \fR
++.RE
++.PP
+ restrict anonymous (G)
+-&#8962;RS 4
++.RS 4
+ The setting of this parameter determines whether user and group list information is returned for an anonymous connection. and mirrors the effects of the
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -5886,148 +5886,148 @@
+ 
+ .fi
+ registry key in Windows 2000 and Windows NT. When set to 0, user and group list information is returned to anyone who asks. When set to 1, only an authenticated user can retrive user and group list information. For the value 2, supported by Windows 2000/XP and Samba, no anonymous connections are allowed at all. This can break third party and Microsoft applications which expect to be allowed to perform operations anonymously.
+-&#8962;sp
++.sp
+ The security advantage of using restrict anonymous = 1 is dubious, as user and group list information can be obtained using other means.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ The security advantage of using restrict anonymous = 2 is removed by setting
+ guest ok = yes on any share.
+ 
+ Default:
+-\fB&#9619;fIrestrict anonymous&#9619;fR = 0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIrestrict anonymous\fR = 0 \fR
++.RE
++.PP
+ root
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for root directory.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ root dir
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for root directory.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ root directory (G)
+-&#8962;RS 4
++.RS 4
+ The server will
+ chroot()
+ (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
+ wide smbconfoptions parameter).
+-&#8962;sp
++.sp
+ Adding a
+-&#9619;fIroot directory&#9619;fR
++\fIroot directory\fR
+ entry other than "/" adds an extra level of security, but at a price. It absolutely ensures that no access is given to files not in the sub-tree specified in the
+-&#9619;fIroot directory&#9619;fR
++\fIroot directory\fR
+ option,
+ \fBincluding\fR
+ some files needed for complete operation of the server. To maintain full operability of the server you will need to mirror some system files into the
+-&#9619;fIroot directory&#9619;fR
++\fIroot directory\fR
+ tree. In particular you will need to mirror
+-&#9619;fI/etc/passwd&#9619;fR
++\fI/etc/passwd\fR
+ (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.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIroot directory&#9619;fR = / \fR
+-&#8962;sp
++\fB\fIroot directory\fR = / \fR
++.sp
+ Example:
+-\fB&#9619;fIroot directory&#9619;fR = /homes/smb \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIroot directory\fR = /homes/smb \fR
++.RE
++.PP
+ root postexec (S)
+-&#8962;RS 4
++.RS 4
+ This is the same as the
+-&#9619;fIpostexec&#9619;fR
++\fIpostexec\fR
+ parameter except that the command is run as root. This is useful for unmounting filesystems (such as CDROMs) after a connection is closed.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIroot postexec&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIroot postexec\fR = \fR
++.RE
++.PP
+ root preexec (S)
+-&#8962;RS 4
++.RS 4
+ This is the same as the
+-&#9619;fIpreexec&#9619;fR
++\fIpreexec\fR
+ parameter except that the command is run as root. This is useful for mounting filesystems (such as CDROMs) when a connection is opened.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIroot preexec&#9619;fR = \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIroot preexec\fR = \fR
++.RE
++.PP
+ root preexec close (S)
+-&#8962;RS 4
++.RS 4
+ This is the same as the
+-&#9619;fIpreexec close &#9619;fR
++\fIpreexec close \fR
+ parameter except that the command is run as root.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIroot preexec close&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIroot preexec close\fR = no \fR
++.RE
++.PP
+ security (G)
+-&#8962;RS 4
++.RS 4
+ This option affects how clients respond to Samba and is one of the most important settings in the
+-&#9619;fI smb.conf&#9619;fR
++\fI smb.conf\fR
+ file.
+-&#8962;sp
++.sp
+ The option sets the "security mode bit" in replies to protocol negotiations with
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ to turn share level security on or off. Clients decide based on this bit whether (and how) to transfer user and password information to the server.
+-&#8962;sp
++.sp
+ The default is
+ security = user, as this is the most common setting needed when talking to Windows 98 and Windows NT.
+-&#8962;sp
++.sp
+ The alternatives are
+ security = share,
+ security = server
+ or
+ security = domain.
+-&#8962;sp
++.sp
+ In versions of Samba prior to 2.0.0, the default was
+ security = share
+ mainly because that was the only option at one stage.
+-&#8962;sp
++.sp
+ There is a bug in WfWg that has relevance to this setting. When in user or server level security a WfWg client will totally ignore the username and password you type in the "connect drive" dialog box. This makes it very difficult (if not impossible) to connect to a Samba service as anyone except the user that you are logged into WfWg as.
+-&#8962;sp
++.sp
+ If your PCs use usernames that are the same as their usernames on the UNIX machine then you will want to use
+ security = user. If you mostly use usernames that don't exist on the UNIX box then use
+ security = share.
+-&#8962;sp
++.sp
+ You should also use
+ security = share
+ if you want to mainly setup shares without a password (guest shares). This is commonly used for a shared printer server. It is more difficult to setup guest shares with
+ security = user, see the
+ map to guestparameter for details.
+-&#8962;sp
++.sp
+ It is possible to use
+ smbd
+ in a
+ \fB hybrid mode\fR
+ where it is offers both user and share level security under different
+ NetBIOS aliases.
+-&#8962;sp
++.sp
+ The different settings will now be explained.
+-&#8962;sp
++.sp
+ \fBSECURITY = SHARE\fR
+-&#8962;sp
++.sp
+ When clients connect to a share level security server they need not log onto the server with a valid username and password before attempting to connect to a shared resource (although modern clients such as Windows 95/98 and Windows NT will send a logon request with a username but no password when talking to a
+ security = share
+ server). Instead, the clients send authentication information (passwords) on a per-share basis, at the time they attempt to connect to that share.
+-&#8962;sp
++.sp
+ Note that
+ smbd
+ \fBALWAYS\fR
+ uses a valid UNIX user to act on behalf of the client, even in
+ security = share
+ level security.
+-&#8962;sp
++.sp
+ As clients are not required to send a username to the server in share level security,
+ smbd
+ uses several techniques to determine the correct UNIX user to use on behalf of the client.
+-&#8962;sp
++.sp
+ A list of possible UNIX usernames to match with the given client password is constructed using the following methods :
+ \(bu
+ If the
+@@ -6052,94 +6052,94 @@
+ \(bu
+ Any users on the
+ user list are added as potential usernames.
+-&#8962;IP "" 4
++.IP "" 4
+ If the
+-&#9619;fIguest only&#9619;fR
++\fIguest only\fR
+ parameter is not set, then this list is then tried with the supplied password. The first user for whom the password matches will be used as the UNIX user.
+-&#8962;sp
++.sp
+ If the
+-&#9619;fIguest only&#9619;fR
++\fIguest only\fR
+ parameter is set, or no username can be determined then if the share is marked as available to the
+-&#9619;fIguest account&#9619;fR, then this guest user will be used, otherwise access is denied.
+-&#8962;sp
++\fIguest account\fR, then this guest user will be used, otherwise access is denied.
++.sp
+ Note that it can be
+ \fBvery\fR
+ confusing in share-level security as to which UNIX username will eventually be used in granting access.
+-&#8962;sp
++.sp
+ See also the section
+ NOTE ABOUT USERNAME/PASSWORD VALIDATION.
+-&#8962;sp
++.sp
+ \fBSECURITY = USER\fR
+-&#8962;sp
++.sp
+ This is the default security setting in Samba 3.0. With user-level security a client must first "log-on" with a valid username and password (which can be mapped using the
+ username map parameter). Encrypted passwords (see the
+ encrypted passwords parameter) can also be used in this security mode. Parameters such as
+ user and
+ guest only if set are then applied and may change the UNIX user to use on this connection, but only after the user has been successfully authenticated.
+-&#8962;sp
++.sp
+ \fBNote\fR
+ that the name of the resource being requested is
+ \fBnot\fR
+ sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the
+ guest account. See the
+ map to guest parameter for details on doing this.
+-&#8962;sp
++.sp
+ See also the section
+ NOTE ABOUT USERNAME/PASSWORD VALIDATION.
+-&#8962;sp
++.sp
+ \fBSECURITY = DOMAIN\fR
+-&#8962;sp
++.sp
+ This mode will only work correctly if
+-&#9619;fBnet&#9619;fR(8)
++\fBnet\fR(8)
+ has been used to add this machine into a Windows NT Domain. It expects the
+ encrypted passwords parameter to be set to
+-&#9619;fByes&#9619;fR. 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.
+-&#8962;sp
++\fByes\fR. 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.
++.sp
+ \fBNote\fR
+ that a valid UNIX user must still exist as well as the account on the Domain Controller to allow Samba to have a valid UNIX account to map file access to.
+-&#8962;sp
++.sp
+ \fBNote\fR
+ that from the client's point of view
+ security = domain
+ is the same as
+ security = user. It only affects how the server deals with the authentication, it does not in any way affect what the client sees.
+-&#8962;sp
++.sp
+ \fBNote\fR
+ that the name of the resource being requested is
+ \fBnot\fR
+ sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the
+ guest account. See the
+ map to guest parameter for details on doing this.
+-&#8962;sp
++.sp
+ See also the section
+ NOTE ABOUT USERNAME/PASSWORD VALIDATION.
+-&#8962;sp
++.sp
+ See also the
+ password server parameter and the
+ encrypted passwords parameter.
+-&#8962;sp
++.sp
+ \fBSECURITY = SERVER\fR
+-&#8962;sp
++.sp
+ In this mode Samba will try to validate the username/password by passing it to another SMB server, such as an NT box. If this fails it will revert to
+ security = user. It expects the
+ encrypted passwords parameter to be set to
+-&#9619;fByes&#9619;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
+-&#9619;fIsmbpasswd&#9619;fR
++\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
++\fIsmbpasswd\fR
+ file to check users against. See the chapter about the User Database in the Samba HOWTO Collection for details on how to set this up.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ This mode of operation has significant pitfalls since it is more vulnerable to man-in-the-middle attacks and server impersonation. In particular, this mode of operation can cause significant resource consuption on the PDC, as it must maintain an active connection for the duration of the user's session. Furthermore, if this connection is lost, there is no way to reestablish it, and futher authentications to the Samba server may fail (from a single client, till it disconnects).
+ 
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ From the client's point of view
+ security = server
+ is the same as
+@@ -6151,150 +6151,150 @@
+ sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the
+ guest account. See the
+ map to guest parameter for details on doing this.
+-&#8962;sp
++.sp
+ See also the section
+ NOTE ABOUT USERNAME/PASSWORD VALIDATION.
+-&#8962;sp
++.sp
+ See also the
+ password server parameter and the
+ encrypted passwords parameter.
+-&#8962;sp
++.sp
+ \fBSECURITY = ADS\fR
+-&#8962;sp
++.sp
+ In this mode, Samba will act as a domain member in an ADS realm. To operate in this mode, the machine running Samba will need to have Kerberos installed and configured and Samba will need to be joined to the ADS realm using the net utility.
+-&#8962;sp
++.sp
+ Note that this mode does NOT make Samba operate as a Active Directory Domain Controller.
+-&#8962;sp
++.sp
+ Read the chapter about Domain Membership in the HOWTO for details.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsecurity&#9619;fR = USER \fR
+-&#8962;sp
++\fB\fIsecurity\fR = USER \fR
++.sp
+ Example:
+-\fB&#9619;fIsecurity&#9619;fR = DOMAIN \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsecurity\fR = DOMAIN \fR
++.RE
++.PP
+ security mask (S)
+-&#8962;RS 4
++.RS 4
+ This parameter controls what UNIX permission bits will be set when a Windows NT client is manipulating the UNIX permission on a file using the native NT security dialog box.
+-&#8962;sp
++.sp
+ This parameter is applied as a mask (AND'ed with) to the incoming permission bits, thus resetting any bits not in this mask. Make sure not to mix up this parameter with
+ force security mode, which works in a manner similar to this one but uses a logical OR instead of an AND.
+-&#8962;sp
++.sp
+ Essentially, all bits set to zero in this mask will result in setting to zero the corresponding bits on the file permissions regardless of the previous status of this bits on the file.
+-&#8962;sp
++.sp
+ If not set explicitly this parameter is 0777, allowing a user to set all the user/group/world permissions on a file.
+-&#8962;sp
++.sp
+ \fB Note\fR
+ that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. Administrators of most normal systems will probably want to leave it set to
+-&#9619;fB0777&#9619;fR.
+-&#8962;sp
++\fB0777\fR.
++.sp
+ Default:
+-\fB&#9619;fIsecurity mask&#9619;fR = 0777 \fR
+-&#8962;sp
++\fB\fIsecurity mask\fR = 0777 \fR
++.sp
+ Example:
+-\fB&#9619;fIsecurity mask&#9619;fR = 0770 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsecurity mask\fR = 0770 \fR
++.RE
++.PP
+ server schannel (G)
+-&#8962;RS 4
++.RS 4
+ This controls whether the server offers or even demands the use of the netlogon schannel.
+ server schannel = no does not offer the schannel,
+ server schannel = auto offers the schannel but does not enforce it, and
+ server schannel = yes denies access if the client is not able to speak netlogon schannel. This is only the case for Windows NT4 before SP4.
+-&#8962;sp
++.sp
+ Please note that with this set to
+ no
+ you will have to apply the WindowsXP
+-&#9619;fIWinXP_SignOrSeal.reg&#9619;fR
++\fIWinXP_SignOrSeal.reg\fR
+ registry patch found in the docs/registry subdirectory of the Samba distribution tarball.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIserver schannel&#9619;fR = auto \fR
+-&#8962;sp
++\fB\fIserver schannel\fR = auto \fR
++.sp
+ Example:
+-\fB&#9619;fIserver schannel&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIserver schannel\fR = yes \fR
++.RE
++.PP
+ server signing (G)
+-&#8962;RS 4
++.RS 4
+ This controls whether the server offers or requires the client it talks to to use SMB signing. Possible values are
+ \fBauto\fR,
+ \fBmandatory\fR
+ and
+ \fBdisabled\fR.
+-&#8962;sp
++.sp
+ When set to auto, SMB signing is offered, but not enforced. When set to mandatory, SMB signing is required and if set to disabled, SMB signing is not offered either.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIserver signing&#9619;fR = Disabled \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIserver signing\fR = Disabled \fR
++.RE
++.PP
+ server string (G)
+-&#8962;RS 4
++.RS 4
+ This controls what string will show up in the printer comment box in print manager and next to the IPC connection in
+ net view. It can be any string that you wish to show to your users.
+-&#8962;sp
++.sp
+ It also sets what will appear in browse lists next to the machine name.
+-&#8962;sp
++.sp
+ A
+-&#9619;fI%v&#9619;fR
++\fI%v\fR
+ will be replaced with the Samba version number.
+-&#8962;sp
++.sp
+ A
+-&#9619;fI%h&#9619;fR
++\fI%h\fR
+ will be replaced with the hostname.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIserver string&#9619;fR = Samba %v \fR
+-&#8962;sp
++\fB\fIserver string\fR = Samba %v \fR
++.sp
+ Example:
+-\fB&#9619;fIserver string&#9619;fR = University of GNUs Samba Server \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIserver string\fR = University of GNUs Samba Server \fR
++.RE
++.PP
+ set directory (S)
+-&#8962;RS 4
++.RS 4
+ If
+ set directory = no, then users of the service may not use the setdir command to change directory.
+-&#8962;sp
++.sp
+ The
+ setdir
+ command is only implemented in the Digital Pathworks client. See the Pathworks documentation for details.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIset directory&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIset directory\fR = no \fR
++.RE
++.PP
+ set primary group script (G)
+-&#8962;RS 4
++.RS 4
+ Thanks to the Posix subsystem in NT a Windows User has a primary group in addition to the auxiliary groups. This script sets the primary group in the unix userdatase when an administrator sets the primary group from the windows user manager or when fetching a SAM with
+ net rpc vampire.
+-&#9619;fI%u&#9619;fR
++\fI%u\fR
+ will be replaced with the user whose primary group is to be set.
+-&#9619;fI%g&#9619;fR
++\fI%g\fR
+ will be replaced with the group to set.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIset primary group script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIset primary group script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIset primary group script&#9619;fR = /usr/sbin/usermod -g '%g' '%u' \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIset primary group script\fR = /usr/sbin/usermod -g '%g' '%u' \fR
++.RE
++.PP
+ set quota command (G)
+-&#8962;RS 4
++.RS 4
+ The
+ set quota command
+ should only be used whenever there is no operating system API available from the OS that samba can use.
+-&#8962;sp
++.sp
+ This option is only available if Samba was configured with the argument
+ --with-sys-quotas
+ or on linux when
+ ./configure --with-quotas
+ was used and a working quota api was found in the system. Most packages are configured with these options already.
+-&#8962;sp
++.sp
+ This parameter should specify the path to a script that can set quota for the specified arguments.
+-&#8962;sp
++.sp
+ The specified script should take the following arguments:
+ \(bu
+ 1 - quota type
+@@ -6309,7 +6309,7 @@
+ .TP
+ \(bu
+ 4 - group default quotas (gid = -1)
+-&#8962;IP "" 4
++.IP "" 4
+ 
+ .TP
+ \(bu
+@@ -6332,110 +6332,110 @@
+ .TP
+ \(bu
+ 8(optional) - block size, defaults to 1024
+-&#8962;IP "" 4
++.IP "" 4
+ The script should output at least one line of data on success. And nothing on failure.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIset quota command&#9619;fR = \fR
+-&#8962;sp
++\fB\fIset quota command\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIset quota command&#9619;fR = /usr/local/sbin/set_quota \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIset quota command\fR = /usr/local/sbin/set_quota \fR
++.RE
++.PP
+ share modes (S)
+-&#8962;RS 4
++.RS 4
+ This enables or disables the honoring of the
+-&#9619;fIshare modes&#9619;fR
++\fIshare modes\fR
+ during a file open. These modes are used by clients to gain exclusive read or write access to a file.
+-&#8962;sp
++.sp
+ These open modes are not directly supported by UNIX, so they are simulated using shared memory, or lock files if your UNIX doesn't support shared memory (almost all do).
+-&#8962;sp
++.sp
+ The share modes that are enabled by this option are
+-&#9619;fBDENY_DOS&#9619;fR,
+-&#9619;fBDENY_ALL&#9619;fR,
+-&#9619;fBDENY_READ&#9619;fR,
+-&#9619;fBDENY_WRITE&#9619;fR,
+-&#9619;fBDENY_NONE&#9619;fR
++\fBDENY_DOS\fR,
++\fBDENY_ALL\fR,
++\fBDENY_READ\fR,
++\fBDENY_WRITE\fR,
++\fBDENY_NONE\fR
+ and
+-&#9619;fBDENY_FCB&#9619;fR.
+-&#8962;sp
++\fBDENY_FCB\fR.
++.sp
+ This option gives full share compatibility and enabled by default.
+-&#8962;sp
++.sp
+ You should
+ \fBNEVER\fR
+ turn this parameter off as many Windows applications will break if you do so.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIshare modes&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIshare modes\fR = yes \fR
++.RE
++.PP
+ short preserve case (S)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls if new files 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
+ default case. This option can be use with
+ preserve case = yes to permit long filenames to retain their case, while short names are lowered.
+-&#8962;sp
++.sp
+ See the section on
+ NAME MANGLING.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIshort preserve case&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIshort preserve case\fR = yes \fR
++.RE
++.PP
+ show add printer wizard (G)
+-&#8962;RS 4
++.RS 4
+ With the introduction of MS-RPC based printing support for Windows NT/2000 client in Samba 2.2, a "Printers..." folder will appear on Samba hosts in the share listing. Normally this folder will contain an icon for the MS Add Printer Wizard (APW). However, it is possible to disable this feature regardless of the level of privilege of the connected user.
+-&#8962;sp
++.sp
+ Under normal circumstances, the Windows NT/2000 client will open a handle on the printer server with OpenPrinterEx() asking for Administrator privileges. If the user does not have administrative access on the print server (i.e is not root or a member of the
+-&#9619;fIprinter admin&#9619;fR
++\fIprinter admin\fR
+ group), the OpenPrinterEx() call fails and the client makes another open call with a request for a lower privilege level. This should succeed, however the APW icon will not be displayed.
+-&#8962;sp
++.sp
+ Disabling the
+-&#9619;fIshow add printer wizard&#9619;fR
++\fIshow add printer wizard\fR
+ parameter will always cause the OpenPrinterEx() on the server to fail. Thus the APW icon will never be displayed.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ This does not prevent the same user from having administrative privilege on an individual printer.
+ 
+ Default:
+-\fB&#9619;fIshow add printer wizard&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIshow add printer wizard\fR = yes \fR
++.RE
++.PP
+ shutdown script (G)
+-&#8962;RS 4
++.RS 4
+ This a full path name to a script called by
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ that should start a shutdown procedure.
+-&#8962;sp
++.sp
+ If the connected user posseses the
+-&#9619;fBSeRemoteShutdownPrivilege&#9619;fR, right, this command will be run as user.
+-&#8962;sp
++\fBSeRemoteShutdownPrivilege\fR, right, this command will be run as user.
++.sp
+ The %z %t %r %f variables are expanded as follows:
+ \(bu
+-&#9619;fI%z&#9619;fR
++\fI%z\fR
+ will be substituted with the shutdown message sent to the server.
+ .TP
+ \(bu
+-&#9619;fI%t&#9619;fR
++\fI%t\fR
+ will be substituted with the number of seconds to wait before effectively starting the shutdown procedure.
+ .TP
+ \(bu
+-&#9619;fI%r&#9619;fR
++\fI%r\fR
+ will be substituted with the switch
+ \fB-r\fR. It means reboot after shutdown for NT.
+ .TP
+ \(bu
+-&#9619;fI%f&#9619;fR
++\fI%f\fR
+ will be substituted with the switch
+ \fB-f\fR. It means force the shutdown even if applications do not respond for NT.
+-&#8962;IP "" 4
++.IP "" 4
+ Shutdown script example:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -6449,18 +6449,18 @@
+ 
+ .fi
+ Shutdown does not return so we need to launch it in background.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIshutdown script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIshutdown script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIshutdown script&#9619;fR = /usr/local/samba/sbin/shutdown %m %t %r %f \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIshutdown script\fR = /usr/local/samba/sbin/shutdown %m %t %r %f \fR
++.RE
++.PP
+ smb encrypt (S)
+-&#8962;RS 4
++.RS 4
+ This is a new feature introduced with Samba 3.2 and above. It is an extension to the SMB/CIFS protocol negotiated as part of the UNIX extensions. SMB encryption uses the GSSAPI (SSPI on Windows) ability to encrypt and sign every request/response in a SMB protocol stream. When enabled it provides a secure method of SMB/CIFS communication, similar to an ssh protected session, but using SMB/CIFS authentication to negotiate encryption and signing keys. Currently this is only supported by Samba 3.2 smbclient, and hopefully soon Linux CIFSFS and MacOS/X clients. Windows clients do not support this feature.
+-&#8962;sp
++.sp
+ This controls whether the server offers or requires the client it talks to to use SMB encryption. Possible values are
+ \fBauto\fR,
+ \fBmandatory\fR
+@@ -6468,23 +6468,23 @@
+ \fBdisabled\fR. This may be set on a per-share basis, but clients may chose to encrypt the entire session, not just traffic to a specific share. If this is set to mandatory then all traffic to a share
+ \fBmust\fR
+ must be encrypted once the connection has been made to the share. The server would return "access denied" to all non-encrypted requests on such a share. Selecting encrypted traffic reduces throughput as smaller packet sizes must be used (no huge UNIX style read/writes allowed) as well as the overhead of encrypting and signing all the data.
+-&#8962;sp
++.sp
+ If SMB encryption is selected, Windows style SMB signing (see the
+ server signing option) is no longer necessary, as the GSSAPI flags use select both signing and sealing of the data.
+-&#8962;sp
++.sp
+ When set to auto, SMB encryption is offered, but not enforced. When set to mandatory, SMB encryption is required and if set to disabled, SMB encryption can not be negotiated.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsmb encrypt&#9619;fR = auto \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsmb encrypt\fR = auto \fR
++.RE
++.PP
+ smb passwd file (G)
+-&#8962;RS 4
++.RS 4
+ This option sets the path to the encrypted smbpasswd file. By default the path to the smbpasswd file is compiled into Samba.
+-&#8962;sp
++.sp
+ An example of use is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -6492,47 +6492,47 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsmb passwd file&#9619;fR = ${prefix}/private/smbpasswd \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsmb passwd file\fR = ${prefix}/private/smbpasswd \fR
++.RE
++.PP
+ smb ports (G)
+-&#8962;RS 4
++.RS 4
+ Specifies which ports the server should listen on for SMB traffic.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsmb ports&#9619;fR = 445 139 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsmb ports\fR = 445 139 \fR
++.RE
++.PP
+ socket address (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to control what address Samba will listen for connections on. This is used to support multiple virtual interfaces on the one server, each with a different configuration.
+-&#8962;sp
++.sp
+ By default Samba will accept connections on any address.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsocket address&#9619;fR = \fR
+-&#8962;sp
++\fB\fIsocket address\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIsocket address&#9619;fR = 192.168.2.20 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsocket address\fR = 192.168.2.20 \fR
++.RE
++.PP
+ socket options (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to set socket options to be used when talking with the client.
+-&#8962;sp
++.sp
+ Socket options are controls on the networking layer of the operating systems which allow the connection to be tuned.
+-&#8962;sp
++.sp
+ This option will typically be used to tune your Samba server for optimal performance for your local network. There is no way that Samba can know what the optimal parameters are for your net, so you must experiment and choose them yourself. We strongly suggest you read the appropriate documentation for your operating system first (perhaps
+ man setsockopt
+ will help).
+-&#8962;sp
++.sp
+ You may find that on some systems Samba will say "Unknown socket option" when you supply an option. This means you either incorrectly typed it or you need to add an include file to includes.h for your OS. If the latter is the case please send the patch to
+ samba-technical at samba.org.
+-&#8962;sp
++.sp
+ Any of the supported socket options may be combined in any way you like, as long as your OS allows it.
+-&#8962;sp
++.sp
+ This is the list of socket options currently settable using this option:
+ \(bu
+ SO_KEEPALIVE
+@@ -6563,45 +6563,45 @@
+ .TP
+ \(bu
+ SO_RCVLOWAT *
+-&#8962;IP "" 4
++.IP "" 4
+ Those marked with a
+ \fB'*'\fR
+ take an integer argument. The others can optionally take a 1 or 0 argument to enable or disable the option, by default they will be enabled if you don't specify 1 or 0.
+-&#8962;sp
++.sp
+ To specify an argument use the syntax SOME_OPTION = VALUE for example
+ SO_SNDBUF = 8192. Note that you must not have any spaces before or after the = sign.
+-&#8962;sp
++.sp
+ If you are on a local network then a sensible option might be:
+-&#8962;sp
++.sp
+ socket options = IPTOS_LOWDELAY
+-&#8962;sp
++.sp
+ If you have a local network then you could try:
+-&#8962;sp
++.sp
+ socket options = IPTOS_LOWDELAY TCP_NODELAY
+-&#8962;sp
++.sp
+ If you are on a wide area network then perhaps try setting IPTOS_THROUGHPUT.
+-&#8962;sp
++.sp
+ Note that several of the options may cause your Samba server to fail completely. Use these options with caution!
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsocket options&#9619;fR = TCP_NODELAY \fR
+-&#8962;sp
++\fB\fIsocket options\fR = TCP_NODELAY \fR
++.sp
+ Example:
+-\fB&#9619;fIsocket options&#9619;fR = IPTOS_LOWDELAY \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsocket options\fR = IPTOS_LOWDELAY \fR
++.RE
++.PP
+ stat cache (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines if
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ will use a cache in order to speed up case insensitive name mappings. You should never need to change this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIstat cache&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIstat cache\fR = yes \fR
++.RE
++.PP
+ store dos attributes (S)
+-&#8962;RS 4
++.RS 4
+ If this parameter is set Samba attempts to first read DOS attributes (SYSTEM, HIDDEN, ARCHIVE or READ-ONLY) from a filesystem extended attribute, before mapping DOS attributes to UNIX permission bits (such as occurs with
+ map hidden and
+ map readonly). When set, DOS attributes will be stored onto an extended attribute in the UNIX filesystem, associated with the file or directory. For no other mapping to occur as a fall-back, the parameters
+@@ -6609,245 +6609,245 @@
+ map system,
+ map archive and
+ map readonly must be set to off. This parameter writes the DOS attributes as a string into the extended attribute named "user.DOSATTRIB". This extended attribute is explicitly hidden from smbd clients requesting an EA list. On Linux the filesystem must have been mounted with the mount option user_xattr in order for extended attributes to work, also extended attributes must be compiled into the Linux kernel.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIstore dos attributes&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIstore dos attributes\fR = no \fR
++.RE
++.PP
+ strict allocate (S)
+-&#8962;RS 4
++.RS 4
+ This is a boolean that controls the handling of disk space allocation in the server. When this is set to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ the server will change from UNIX behaviour of not committing real disk storage blocks when a file is extended to the Windows behaviour of actually forcing the disk system to allocate real storage blocks when a file is created or extended to be a given size. In UNIX terminology this means that Samba will stop creating sparse files. This can be slow on some systems.
+-&#8962;sp
++.sp
+ When strict allocate is
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ the server does sparse disk block allocation when a file is extended.
+-&#8962;sp
++.sp
+ Setting this to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ can help Samba return out of quota messages on systems that are restricting the disk quota of users.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIstrict allocate&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIstrict allocate\fR = no \fR
++.RE
++.PP
+ strict locking (S)
+-&#8962;RS 4
++.RS 4
+ This is an enumerated type that controls the handling of file locking in the server. When this is set to
+-&#9619;fByes&#9619;fR, the server will check every read and write access for file locks, and deny access if locks exist. This can be slow on some systems.
+-&#8962;sp
++\fByes\fR, the server will check every read and write access for file locks, and deny access if locks exist. This can be slow on some systems.
++.sp
+ When strict locking is set to Auto (the default), the server performs file lock checks only on non-oplocked files. As most Windows redirectors perform file locking checks locally on oplocked files this is a good trade off for inproved performance.
+-&#8962;sp
++.sp
+ When strict locking is disabled, the server performs file lock checks only when the client explicitly asks for them.
+-&#8962;sp
++.sp
+ Well-behaved clients always ask for lock checks when it is important. So in the vast majority of cases,
+ strict locking = Auto
+ or
+ strict locking = no
+ is acceptable.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIstrict locking&#9619;fR = Auto \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIstrict locking\fR = Auto \fR
++.RE
++.PP
+ strict sync (S)
+-&#8962;RS 4
++.RS 4
+ Many Windows applications (including the Windows 98 explorer shell) seem to confuse flushing buffer contents to disk with doing a sync to disk. Under UNIX, a sync call forces the process to be suspended until the kernel has ensured that all outstanding data in kernel disk buffers has been safely stored onto stable storage. This is very slow and should only be done rarely. Setting this parameter to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ (the default) means that
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ ignores the Windows applications requests for a sync call. There is only a possibility of losing data if the operating system itself that Samba is running on crashes, so there is little danger in this default setting. In addition, this fixes many performance problems that people have reported with the new Windows98 explorer shell file copies.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIstrict sync&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIstrict sync\fR = no \fR
++.RE
++.PP
+ svcctl list (G)
+-&#8962;RS 4
++.RS 4
+ This option defines a list of init scripts that smbd will use for starting and stopping Unix services via the Win32 ServiceControl API. This allows Windows administrators to utilize the MS Management Console plug-ins to manage a Unix server running Samba.
+-&#8962;sp
++.sp
+ The administrator must create a directory name
+-&#9619;fIsvcctl&#9619;fR
++\fIsvcctl\fR
+ in Samba's $(libdir) and create symbolic links to the init scripts in
+-&#9619;fI/etc/init.d/&#9619;fR. The name of the links must match the names given as part of the
+-&#9619;fIsvcctl list&#9619;fR.
+-&#8962;sp
+-Default:
+-\fB&#9619;fIsvcctl list&#9619;fR = \fR
+-&#8962;sp
+-Example:
+-\fB&#9619;fIsvcctl list&#9619;fR = cups postfix portmap httpd \fR
+-&#8962;RE
+-&#8962;PP
++\fI/etc/init.d/\fR. The name of the links must match the names given as part of the
++\fIsvcctl list\fR.
++.sp
++Default:
++\fB\fIsvcctl list\fR = \fR
++.sp
++Example:
++\fB\fIsvcctl list\fR = cups postfix portmap httpd \fR
++.RE
++.PP
+ sync always (S)
+-&#8962;RS 4
++.RS 4
+ This is a boolean parameter that controls whether writes will always be written to stable storage before the write call returns. If this is
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ 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
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ then every write will be followed by a
+ fsync()
+ call to ensure the data is written to disk. Note that the
+-&#9619;fIstrict sync&#9619;fR
++\fIstrict sync\fR
+ parameter must be set to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ in order for this parameter to have any affect.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsync always&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsync always\fR = no \fR
++.RE
++.PP
+ syslog (G)
+-&#8962;RS 4
++.RS 4
+ This parameter maps how Samba debug messages are logged onto the system syslog logging levels. Samba debug level zero maps onto syslog
+-&#9619;fBLOG_ERR&#9619;fR, debug level one maps onto
+-&#9619;fBLOG_WARNING&#9619;fR, debug level two maps onto
+-&#9619;fBLOG_NOTICE&#9619;fR, debug level three maps onto LOG_INFO. All higher levels are mapped to
+-&#9619;fBLOG_DEBUG&#9619;fR.
+-&#8962;sp
++\fBLOG_ERR\fR, debug level one maps onto
++\fBLOG_WARNING\fR, debug level two maps onto
++\fBLOG_NOTICE\fR, debug level three maps onto LOG_INFO. All higher levels are mapped to
++\fBLOG_DEBUG\fR.
++.sp
+ This parameter sets the threshold for sending messages to syslog. Only messages with debug level less than this value will be sent to syslog. There still will be some logging to log.[sn]mbd even if
+ \fBsyslog only\fR
+ is enabled.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsyslog&#9619;fR = 1 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsyslog\fR = 1 \fR
++.RE
++.PP
+ syslog only (G)
+-&#8962;RS 4
++.RS 4
+ If this parameter is set then Samba debug messages are logged into the system syslog only, and not to the debug log files. There still will be some logging to log.[sn]mbd even if
+ \fBsyslog only\fR
+ is enabled.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIsyslog only&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIsyslog only\fR = no \fR
++.RE
++.PP
+ template homedir (G)
+-&#8962;RS 4
++.RS 4
+ When filling out the user information for a Windows NT user, the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon uses this parameter to fill in the home directory for that user. If the string
+-&#9619;fI%D&#9619;fR
++\fI%D\fR
+ is present it is substituted with the user's Windows NT domain name. If the string
+-&#9619;fI%U&#9619;fR
++\fI%U\fR
+ is present it is substituted with the user's Windows NT user name.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fItemplate homedir&#9619;fR = /home/%D/%U \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fItemplate homedir\fR = /home/%D/%U \fR
++.RE
++.PP
+ template shell (G)
+-&#8962;RS 4
++.RS 4
+ When filling out the user information for a Windows NT user, the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon uses this parameter to fill in the login shell for that user.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ time offset (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is a setting in minutes to add to the normal GMT to local time conversion. This is useful if you are serving a lot of PCs that have incorrect daylight saving time handling.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fItime offset&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fItime offset\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fItime offset&#9619;fR = 60 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fItime offset\fR = 60 \fR
++.RE
++.PP
+ time server (G)
+-&#8962;RS 4
++.RS 4
+ This parameter determines if
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ advertises itself as a time server to Windows clients.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fItime server&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fItime server\fR = no \fR
++.RE
++.PP
+ unix charset (G)
+-&#8962;RS 4
++.RS 4
+ Specifies the charset the unix machine Samba runs on uses. Samba needs to know this in order to be able to convert text to the charsets other SMB clients use.
+-&#8962;sp
++.sp
+ This is also the charset Samba will use when specifying arguments to scripts that it invokes.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIunix charset&#9619;fR = UTF8 \fR
+-&#8962;sp
++\fB\fIunix charset\fR = UTF8 \fR
++.sp
+ Example:
+-\fB&#9619;fIunix charset&#9619;fR = ASCII \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIunix charset\fR = ASCII \fR
++.RE
++.PP
+ unix extensions (G)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter controls whether Samba implments 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.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIunix extensions&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIunix extensions\fR = yes \fR
++.RE
++.PP
+ unix password sync (G)
+-&#8962;RS 4
++.RS 4
+ 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
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ the program specified in the
+-&#9619;fIpasswd program&#9619;fRparameter is called
++\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 access to the old password cleartext, only the new).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIunix password sync&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIunix password sync\fR = no \fR
++.RE
++.PP
+ update encrypted (G)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter allows a user logging on with a plaintext password to have their encrypted (hashed) password in the smbpasswd file to be updated automatically as they log on. This option allows a site to migrate from plaintext password authentication (users authenticate with plaintext password over the wire, and are checked against a UNIX account atabase) to encrypted password authentication (the SMB challenge/response authentication mechanism) without forcing all users to re-enter their passwords via smbpasswd at the time the change is made. This is a convenience option to allow the change over to encrypted passwords to be made over a longer period. Once all users have encrypted representations of their passwords in the smbpasswd file this parameter should be set to
+-&#9619;fBno&#9619;fR.
+-&#8962;sp
++\fBno\fR.
++.sp
+ In order for this parameter to be operative the
+ encrypt passwords parameter must be set to
+-&#9619;fBno&#9619;fR. The default value of
++\fBno\fR. The default value of
+ encrypt passwords = Yes. Note: This must be set to
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ for this
+ update encrypted to work.
+-&#8962;sp
++.sp
+ Note that even when this parameter is set a user authenticating to
+ smbd
+ must still enter a valid password in order to connect correctly, and to update their hashed (smbpasswd) passwords.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIupdate encrypted&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIupdate encrypted\fR = no \fR
++.RE
++.PP
+ use client driver (S)
+-&#8962;RS 4
++.RS 4
+ This parameter applies only to Windows NT/2000 clients. It has no effect on Windows 95/98/ME clients. When serving a printer to Windows NT/2000 clients without first installing a valid printer driver on the Samba host, the client will be required to install a local printer driver. From this point on, the client will treat the print as a local printer and not a network printer connection. This is much the same behavior that will occur when
+ disable spoolss = yes.
+-&#8962;sp
++.sp
+ The differentiating factor is that under normal circumstances, the NT/2000 client will attempt to open the network printer using MS-RPC. The problem is that because the client considers the printer to be local, it will attempt to issue the OpenPrinterEx() call requesting access rights associated with the logged on user. If the user possesses local administator rights but not root privilege on the Samba host (often the case), the OpenPrinterEx() call will fail. The result is that the client will now display an "Access Denied; Unable to connect" message in the printer queue window (even though jobs may successfully be printed).
+-&#8962;sp
++.sp
+ If this parameter is enabled for a printer, then any attempt to open the printer with the PRINTER_ACCESS_ADMINISTER right is mapped to PRINTER_ACCESS_USE instead. Thus allowing the OpenPrinterEx() call to succeed.
+ \fBThis parameter MUST not be able enabled on a print share which has valid print driver installed on the Samba server.\fR
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIuse client driver&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIuse client driver\fR = no \fR
++.RE
++.PP
+ use kerberos keytab (G)
+-&#8962;RS 4
++.RS 4
+ Specifies whether Samba should attempt to maintain service principals in the systems keytab file for
+-&#9619;fBhost/FQDN&#9619;fR
++\fBhost/FQDN\fR
+ and
+-&#9619;fBcifs/FQDN&#9619;fR.
+-&#8962;sp
++\fBcifs/FQDN\fR.
++.sp
+ When you are using the heimdal Kerberos libraries, you must also specify the following in
+-&#9619;fI/etc/krb5.conf&#9619;fR:
++\fI/etc/krb5.conf\fR:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -6856,108 +6856,108 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIuse kerberos keytab&#9619;fR = False \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIuse kerberos keytab\fR = False \fR
++.RE
++.PP
+ use mmap (G)
+-&#8962;RS 4
++.RS 4
+ 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
+-&#9619;fBno&#9619;fR
++\fBno\fR
+ 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.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIuse mmap&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIuse mmap\fR = yes \fR
++.RE
++.PP
+ user
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for username.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ users
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for username.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ username (S)
+-&#8962;RS 4
++.RS 4
+ Multiple users may be specified in a comma-delimited list, in which case the supplied password will be tested against each username in turn (left to right).
+-&#8962;sp
++.sp
+ The
+-&#9619;fIusername&#9619;fR
++\fIusername\fR
+ line is needed only when the PC is unable to supply its own username. This is the case for the COREPLUS protocol or where your users have different WfWg usernames to UNIX usernames. In both these cases you may also be better using the \\server\share%user syntax instead.
+-&#8962;sp
++.sp
+ The
+-&#9619;fIusername&#9619;fR
++\fIusername\fR
+ line is not a great solution in many cases as it means Samba will try to validate the supplied password against each of the usernames in the
+-&#9619;fIusername&#9619;fR
++\fIusername\fR
+ line in turn. This is slow and a bad idea for lots of users in case of duplicate passwords. You may get timeouts or security breaches using this parameter unwisely.
+-&#8962;sp
++.sp
+ Samba relies on the underlying UNIX security. This parameter does not restrict who can login, it just offers hints to the Samba server as to what usernames might correspond to the supplied password. Users can login as whoever they please and they will be able to do no more damage than if they started a telnet session. The daemon runs as the user that they log in as, so they cannot do anything that user cannot do.
+-&#8962;sp
++.sp
+ To restrict a service to a particular set of users you can use the
+ valid users parameter.
+-&#8962;sp
++.sp
+ If any of the usernames begin with a '@' then the name will be looked up first in the NIS netgroups list (if Samba is compiled with netgroup support), followed by a lookup in the UNIX groups database and will expand to a list of all users in the group of that name.
+-&#8962;sp
++.sp
+ If any of the usernames begin with a '+' then the name will be looked up only in the UNIX groups database and will expand to a list of all users in the group of that name.
+-&#8962;sp
++.sp
+ If any of the usernames begin with a '&' then the name will be looked up only in the NIS netgroups database (if Samba is compiled with netgroup support) and will expand to a list of all users in the netgroup group of that name.
+-&#8962;sp
++.sp
+ Note that searching though a groups database can take quite some time, and some clients may time out during the search.
+-&#8962;sp
++.sp
+ See the section
+ NOTE ABOUT USERNAME/PASSWORD VALIDATION
+ for more information on how this parameter determines access to the services.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusername&#9619;fR = # The guest account if a guest service, else <empty string>. \fR
+-&#8962;sp
++\fB\fIusername\fR = # The guest account if a guest service, else <empty string>. \fR
++.sp
+ Example:
+-\fB&#9619;fIusername&#9619;fR = fred, mary, jack, jane, @users, @pcgroup \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusername\fR = fred, mary, jack, jane, @users, @pcgroup \fR
++.RE
++.PP
+ username level (G)
+-&#8962;RS 4
++.RS 4
+ This option helps Samba to try and 'guess' at the real UNIX username, as many DOS clients send an all-uppercase username. By default Samba tries all lowercase, followed by the username with the first letter capitalized, and fails if the username is not found on the UNIX machine.
+-&#8962;sp
++.sp
+ If this parameter is set to non-zero the behavior changes. This parameter is a number that specifies the number of uppercase combinations to try while trying to determine the UNIX user name. The higher the number the more combinations will be tried, but the slower the discovery of usernames will be. Use this parameter when you have strange usernames on your UNIX machine, such as
+-&#9619;fBAstrangeUser &#9619;fR.
+-&#8962;sp
++\fBAstrangeUser \fR.
++.sp
+ This parameter is needed only on UNIX systems that have case sensitive usernames.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusername level&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIusername level\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIusername level&#9619;fR = 5 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusername level\fR = 5 \fR
++.RE
++.PP
+ username map (G)
+-&#8962;RS 4
++.RS 4
+ This option allows you to specify a file containing a mapping of usernames from the clients to the server. This can be used for several purposes. The most common is to map usernames that users use on DOS or Windows machines to those that the UNIX box uses. The other is to map multiple users to a single username so that they can more easily share files.
+-&#8962;sp
++.sp
+ Please note that for user or share mode security, the username map is applied prior to validating the user credentials. Domain member servers (domain or ads) apply the username map after the user has been successfully authenticated by the domain controller and require fully qualified enties in the map table (e.g. biddle = DOMAIN\foo).
+-&#8962;sp
++.sp
+ The map file is parsed line by line. Each line should contain a single UNIX username on the left then a '=' followed by a list of usernames on the right. The list of usernames on the right may contain names of the form @group in which case they will match any UNIX username in that group. The special client name '*' is a wildcard and matches any name. Each line of the map file may be up to 1023 characters long.
+-&#8962;sp
++.sp
+ The file is processed on each line by taking the supplied username and comparing it with each username on the right hand side of the '=' signs. If the supplied name matches any of the names on the right hand side then it is replaced with the name on the left. Processing then continues with the next line.
+-&#8962;sp
++.sp
+ If any line begins with a '#' or a ';' then it is ignored.
+-&#8962;sp
++.sp
+ 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.
+-&#8962;sp
++.sp
+ For example to map from the name
+-&#9619;fBadmin&#9619;fR
++\fBadmin\fR
+ or
+-&#9619;fBadministrator&#9619;fR
++\fBadministrator\fR
+ to the UNIX name
+-&#9619;fB root&#9619;fR
++\fB root\fR
+ you would use:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -6965,12 +6965,12 @@
+ 
+ .fi
+ Or to map anyone in the UNIX group
+-&#9619;fBsystem&#9619;fR
++\fBsystem\fR
+ to the UNIX name
+-&#9619;fBsys&#9619;fR
++\fBsys\fR
+ you would use:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -6978,16 +6978,16 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ You can have as many mappings as you like in a username map file.
+-&#8962;sp
++.sp
+ If your system supports the NIS NETGROUP option then the netgroup database is checked before the
+-&#9619;fI/etc/group &#9619;fR
++\fI/etc/group \fR
+ database for matching groups.
+-&#8962;sp
++.sp
+ You can map Windows usernames that have spaces in them by using double quotes around the name. For example:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -6995,10 +6995,10 @@
+ 
+ .fi
+ would map the windows username "Andrew Tridgell" to the unix username "tridge".
+-&#8962;sp
++.sp
+ 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:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -7007,30 +7007,30 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Note that the remapping is applied to all occurrences of usernames. Thus if you connect to \\server\fred and
+-&#9619;fBfred&#9619;fR
++\fBfred\fR
+ is remapped to
+-&#9619;fBmary&#9619;fR
++\fBmary\fR
+ then you will actually be connecting to \\server\mary and will need to supply a password suitable for
+-&#9619;fBmary&#9619;fR
++\fBmary\fR
+ not
+-&#9619;fBfred&#9619;fR. The only exception to this is the username passed to the
++\fBfred\fR. The only exception to this is the username passed to the
+ password server (if you have one). The password server will receive whatever username the client supplies without modification.
+-&#8962;sp
++.sp
+ 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.
+-&#8962;sp
++.sp
+ Samba versions prior to 3.0.8 would only support reading the fully qualified username (e.g.: DOMAIN\user) 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.
+-&#8962;sp
++.sp
+ The following functionality is obeyed in version 3.0.8 and later:
+-&#8962;sp
++.sp
+ When performing local authentication, the username map is applied to the login name before attempting to authenticate the connection.
+-&#8962;sp
++.sp
+ When relying upon a external domain controller for validating authentication requests, smbd will apply the username map to the fully qualified username (i.e. DOMAIN\user) only after the user has been successfully authenticated.
+-&#8962;sp
++.sp
+ An example of use is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -7038,58 +7038,58 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusername map&#9619;fR = # no username map \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusername map\fR = # no username map \fR
++.RE
++.PP
+ username map script (G)
+-&#8962;RS 4
++.RS 4
+ This script is a mutually exclusive alternative to the
+ username map parameter. This parameter specifies and external program or script that must accept a single command line option (the username transmitted in the authentication request) and return a line line on standard output (the name to which the account should mapped). In this way, it is possible to store username map tables in an LDAP or NIS directory services.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusername map script&#9619;fR = \fR
+-&#8962;sp
++\fB\fIusername map script\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIusername map script&#9619;fR = /etc/samba/scripts/mapusers.sh \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusername map script\fR = /etc/samba/scripts/mapusers.sh \fR
++.RE
++.PP
+ usershare allow guests (G)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether user defined shares are allowed to be accessed by non-authenticated users or not. It is the equivalent of allowing people who can create a share the option of setting
+-&#9619;fIguest ok = yes&#9619;fR
++\fIguest ok = yes\fR
+ in a share definition. Due to the security sensitive nature of this the default is set to off.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare allow guests&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare allow guests\fR = no \fR
++.RE
++.PP
+ usershare max shares (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the number of user defined shares that are allowed to be created by users belonging to the group owning the usershare directory. If set to zero (the default) user defined shares are ignored.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare max shares&#9619;fR = 0 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare max shares\fR = 0 \fR
++.RE
++.PP
+ usershare owner only (G)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether the pathname exported by a user defined shares must be owned by the user creating the user defined share or not. If set to True (the default) then smbd checks that the directory path being shared is owned by the user who owns the usershare file defining this share and refuses to create the share if not. If set to False then no such check is performed and any directory path may be exported regardless of who owns it.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare owner only&#9619;fR = True \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare owner only\fR = True \fR
++.RE
++.PP
+ usershare path (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the absolute path of the directory on the filesystem used to store the user defined share definition files. This directory must be owned by root, and have no access for other, and be writable only by the group owner. In addition the "sticky" bit must also be set, restricting rename and delete to owners of a file (in the same way the /tmp directory is usually configured). Members of the group owner of this directory are the users allowed to create usershares. If this parameter is undefined then no user defined shares are allowed.
+-&#8962;sp
++.sp
+ For example, a valid usershare directory might be /usr/local/samba/lib/usershares, set up as follows.
+-&#8962;sp
++.sp
+ 
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -7098,152 +7098,152 @@
+ 	
+ .fi
+ 
+-&#8962;sp
++.sp
+ In this case, only members of the group "power_users" can create user defined shares.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare path&#9619;fR = NULL \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare path\fR = NULL \fR
++.RE
++.PP
+ usershare prefix allow list (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies a list of absolute pathnames the root of which are allowed to be exported by user defined share definitions. If the pathname exported doesn't start with one of the strings in this list the user defined share will not be allowed. This allows the Samba administrator to restrict the directories on the system that can be exported by user defined shares.
+-&#8962;sp
++.sp
+ If there is a "usershare prefix deny list" and also a "usershare prefix allow list" the deny list is processed first, followed by the allow list, thus leading to the most restrictive interpretation.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare prefix allow list&#9619;fR = NULL \fR
+-&#8962;sp
++\fB\fIusershare prefix allow list\fR = NULL \fR
++.sp
+ Example:
+-\fB&#9619;fIusershare prefix allow list&#9619;fR = /home /data /space \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare prefix allow list\fR = /home /data /space \fR
++.RE
++.PP
+ usershare prefix deny list (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies a list of absolute pathnames the root of which are NOT allowed to be exported by user defined share definitions. If the pathname exported starts with one of the strings in this list the user defined share will not be allowed. Any pathname not starting with one of these strings will be allowed to be exported as a usershare. This allows the Samba administrator to restrict the directories on the system that can be exported by user defined shares.
+-&#8962;sp
++.sp
+ If there is a "usershare prefix deny list" and also a "usershare prefix allow list" the deny list is processed first, followed by the allow list, thus leading to the most restrictive interpretation.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare prefix deny list&#9619;fR = NULL \fR
+-&#8962;sp
++\fB\fIusershare prefix deny list\fR = NULL \fR
++.sp
+ Example:
+-\fB&#9619;fIusershare prefix deny list&#9619;fR = /etc /dev /private \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare prefix deny list\fR = /etc /dev /private \fR
++.RE
++.PP
+ usershare template share (G)
+-&#8962;RS 4
++.RS 4
+ User defined shares only have limited possible parameters such as path, guest ok etc. This parameter allows usershares to "cloned" from an existing share. If "usershare template share" is set to the name of an existing share, then all usershares created have their defaults set from the parameters set on this share.
+-&#8962;sp
++.sp
+ The target share may be set to be invalid for real file sharing by setting the parameter "-valid = False" on the template share definition. This causes it not to be seen as a real exported share but to be able to be used as a template for usershares.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIusershare template share&#9619;fR = NULL \fR
+-&#8962;sp
++\fB\fIusershare template share\fR = NULL \fR
++.sp
+ Example:
+-\fB&#9619;fIusershare template share&#9619;fR = template_share \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIusershare template share\fR = template_share \fR
++.RE
++.PP
+ use sendfile (S)
+-&#8962;RS 4
++.RS 4
+ If this parameter is
+-&#9619;fByes&#9619;fR, and the
+-&#9619;fBsendfile()&#9619;fR
++\fByes\fR, and the
++\fBsendfile()\fR
+ system call is supported by the underlying operating system, 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. Samba automatically turns this off for clients that use protocol levels lower than NT LM 0.12 and when it detects a client is Windows 9x (using sendfile from Linux will cause these clients to fail).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIuse sendfile&#9619;fR = false \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIuse sendfile\fR = false \fR
++.RE
++.PP
+ use spnego (G)
+-&#8962;RS 4
++.RS 4
+ This variable controls controls whether samba will try to use Simple and Protected NEGOciation (as specified by rfc2478) with WindowsXP and Windows2000 clients to agree upon an authentication mechanism.
+-&#8962;sp
++.sp
+ Unless further issues are discovered with our SPNEGO implementation, there is no reason this should ever be disabled.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIuse spnego&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIuse spnego\fR = yes \fR
++.RE
++.PP
+ utmp (G)
+-&#8962;RS 4
++.RS 4
+ This boolean parameter is only available if Samba has been configured and compiled with the option
+ --with-utmp. If set to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ 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.
+-&#8962;sp
++.sp
+ Due to the requirements of the utmp record, we are required to create a unique identifier for the incoming user. Enabling this option creates an n^2 algorithm to find this number. This may impede performance on large installations.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIutmp&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIutmp\fR = no \fR
++.RE
++.PP
+ utmp directory (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is only available if Samba has been configured and compiled with the option
+ --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
+-&#9619;fI/var/run/utmp&#9619;fR
++\fI/var/run/utmp\fR
+ on Linux).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIutmp directory&#9619;fR = # Determined automatically \fR
+-&#8962;sp
++\fB\fIutmp directory\fR = # Determined automatically \fR
++.sp
+ Example:
+-\fB&#9619;fIutmp directory&#9619;fR = /var/run/utmp \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIutmp directory\fR = /var/run/utmp \fR
++.RE
++.PP
+ -valid (S)
+-&#8962;RS 4
++.RS 4
+ This parameter indicates whether a share is valid and thus can be used. When this parameter is set to false, the share will be in no way visible nor accessible.
+-&#8962;sp
++.sp
+ This option should not be used by regular users but might be of help to developers. Samba uses this option internally to mark shares as deleted.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fI-valid&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fI-valid\fR = yes \fR
++.RE
++.PP
+ valid users (S)
+-&#8962;RS 4
++.RS 4
+ This is a list of users that should be allowed to login to this service. Names starting with '@', '+' and '&' are interpreted using the same rules as described in the
+-&#9619;fIinvalid users&#9619;fR
++\fIinvalid users\fR
+ parameter.
+-&#8962;sp
++.sp
+ If this is empty (the default) then any user can login. If a username is in both this list and the
+-&#9619;fIinvalid users&#9619;fR
++\fIinvalid users\fR
+ list then access is denied for that user.
+-&#8962;sp
++.sp
+ The current servicename is substituted for
+-&#9619;fI%S&#9619;fR. This is useful in the [homes] section.
+-&#8962;sp
++\fI%S\fR. This is useful in the [homes] section.
++.sp
+ Default:
+-\fB&#9619;fIvalid users&#9619;fR = # No valid users list (anyone can login) \fR
+-&#8962;sp
++\fB\fIvalid users\fR = # No valid users list (anyone can login) \fR
++.sp
+ Example:
+-\fB&#9619;fIvalid users&#9619;fR = greg, @pcusers \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIvalid users\fR = greg, @pcusers \fR
++.RE
++.PP
+ veto files (S)
+-&#8962;RS 4
++.RS 4
+ This is a list of files and directories that are neither visible nor accessible. Each entry in the list must be separated by a '/', which allows spaces to be included in the entry. '*' and '?' can be used to specify multiple files or directories as in DOS wildcards.
+-&#8962;sp
++.sp
+ Each entry must be a unix path, not a DOS path and must
+ \fBnot\fR
+ include the unix directory separator '/'.
+-&#8962;sp
++.sp
+ Note that the
+ case sensitive option is applicable in vetoing files.
+-&#8962;sp
++.sp
+ One feature of the veto files parameter that it is important to be aware of is Samba's behaviour when trying to delete a directory. If a directory that is to be deleted contains nothing but veto files this deletion will
+ \fBfail\fR
+ unless you also set the
+ delete veto files parameter to
+-&#9619;fIyes&#9619;fR.
+-&#8962;sp
++\fIyes\fR.
++.sp
+ Setting this parameter will affect the performance of Samba, as it will be forced to check all files and directories for a match as they are scanned.
+-&#8962;sp
++.sp
+ Examples of use include:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -7258,23 +7258,23 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIveto files&#9619;fR = No files or directories are vetoed. \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIveto files\fR = No files or directories are vetoed. \fR
++.RE
++.PP
+ veto oplock files (S)
+-&#8962;RS 4
++.RS 4
+ This parameter is only valid when the
+ oplocks parameter is turned on for a share. It allows the Samba administrator to selectively turn off the granting of oplocks on selected files that match a wildcarded list, similar to the wildcarded list used in the
+ veto files parameter.
+-&#8962;sp
++.sp
+ You might want to do this on files that you know will be heavily contended for by clients. A good example of this is in the NetBench SMB benchmark program, which causes heavy client contention for files ending in
+-&#9619;fI.SEM&#9619;fR. 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.
+-&#8962;sp
++\fI.SEM\fR. 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.
++.sp
+ An example of use is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -7282,257 +7282,257 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIveto oplock files&#9619;fR = # No files are vetoed for oplock grants \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIveto oplock files\fR = # No files are vetoed for oplock grants \fR
++.RE
++.PP
+ vfs object
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for vfs objects.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ vfs objects (S)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the backend names which are used for Samba VFS I/O operations. By default, normal disk I/O operations are used but these can be overloaded with one or more VFS objects.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIvfs objects&#9619;fR = \fR
+-&#8962;sp
++\fB\fIvfs objects\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIvfs objects&#9619;fR = extd_audit recycle \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIvfs objects\fR = extd_audit recycle \fR
++.RE
++.PP
+ volume (S)
+-&#8962;RS 4
++.RS 4
+ This allows you to override the volume label returned for a share. Useful for CDROMs with installation programs that insist on a particular volume label.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIvolume&#9619;fR = # the name of the share \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIvolume\fR = # the name of the share \fR
++.RE
++.PP
+ wide links (S)
+-&#8962;RS 4
++.RS 4
+ This 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.
+-&#8962;sp
++.sp
+ 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.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwide links&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwide links\fR = yes \fR
++.RE
++.PP
+ winbind cache time (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the number of seconds the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon will cache user and group information before querying a Windows NT server again.
+-&#8962;sp
++.sp
+ This does not apply to authentication requests, these are always evaluated in real time unless the
+ winbind offline logon option has been enabled.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind cache time&#9619;fR = 300 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind cache time\fR = 300 \fR
++.RE
++.PP
+ winbind enum groups (G)
+-&#8962;RS 4
++.RS 4
+ On large installations using
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ it may be necessary to suppress the enumeration of groups through the
+ setgrent(),
+ getgrent()
+ and
+ endgrent()
+ group of system calls. If the
+-&#9619;fIwinbind enum groups&#9619;fR
++\fIwinbind enum groups\fR
+ parameter is
+-&#9619;fBno&#9619;fR, calls to the
++\fBno\fR, calls to the
+ getgrent()
+ system call will not return any data.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ Turning off group enumeration may cause some programs to behave oddly.
+ 
+ Default:
+-\fB&#9619;fIwinbind enum groups&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind enum groups\fR = no \fR
++.RE
++.PP
+ winbind enum users (G)
+-&#8962;RS 4
++.RS 4
+ On large installations using
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ it may be necessary to suppress the enumeration of users through the
+ setpwent(),
+ getpwent()
+ and
+ endpwent()
+ group of system calls. If the
+-&#9619;fIwinbind enum users&#9619;fR
++\fIwinbind enum users\fR
+ parameter is
+-&#9619;fBno&#9619;fR, calls to the
++\fBno\fR, calls to the
+ getpwent
+ system call will not return any data.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBWarning&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBWarning\fR
+ Turning off user enumeration may cause some programs to behave oddly. For example, the finger program relies on having access to the full user list when searching for matching usernames.
+ 
+ Default:
+-\fB&#9619;fIwinbind enum users&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind enum users\fR = no \fR
++.RE
++.PP
+ winbind expand groups (G)
+-&#8962;RS 4
++.RS 4
+ This option controls the maximum depth that winbindd will traverse when flattening nested group memberships of Windows domain groups. This is different from the
+ winbind nested groups option which implements the Windows NT4 model of local group nesting. The "winbind expand groups" parameter specifically applies to the membership of domain groups.
+-&#8962;sp
++.sp
+ Be aware that a high value for this parameter can result in system slowdown as the main parent winbindd daemon must perform the group unrolling and will be unable to answer incoming NSS or authentication requests during this time.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind expand groups&#9619;fR = 1 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind expand groups\fR = 1 \fR
++.RE
++.PP
+ winbind nested groups (G)
+-&#8962;RS 4
++.RS 4
+ If set to yes, this parameter activates the support for nested groups. Nested groups are also called local groups or aliases. They work like their counterparts in Windows: Nested groups are defined locally on any machine (they are shared between DC's through their SAM) and can contain users and global groups from any trusted SAM. To be able to use nested groups, you need to run nss_winbind.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind nested groups&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind nested groups\fR = yes \fR
++.RE
++.PP
+ winbind normalize names (G)
+-&#8962;RS 4
++.RS 4
+ This 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. Do not enable this option if the underscore character is used in account names within your domain
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind normalize names&#9619;fR = no \fR
+-&#8962;sp
++\fB\fIwinbind normalize names\fR = no \fR
++.sp
+ Example:
+-\fB&#9619;fIwinbind normalize names&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind normalize names\fR = yes \fR
++.RE
++.PP
+ winbind nss info (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is designed to control how Winbind retrieves Name Service Information to construct a user's home directory and login shell. Currently the following settings are available:
+ \(bu
+-&#9619;fItemplate&#9619;fR
++\fItemplate\fR
+ - The default, using the parameters of
+-&#9619;fItemplate shell&#9619;fR
++\fItemplate shell\fR
+ and
+-&#9619;fItemplate homedir&#9619;fR)
++\fItemplate homedir\fR)
+ .TP
+ \(bu
+-&#9619;fIsfu&#9619;fR
++\fIsfu\fR
+ - When Samba is running in security = ads and your Active Directory Domain Controller does support the Microsoft "Services for Unix" (SFU) LDAP schema, winbind can retrieve the login shell and the home directory attributes directly from your Directory Server. Note that retrieving UID and GID from your ADS-Server requires to use
+-&#9619;fIidmap backend&#9619;fR
++\fIidmap backend\fR
+ = ad or
+-&#9619;fIidmap config DOMAIN:backend&#9619;fR
++\fIidmap config DOMAIN:backend\fR
+ = ad as well.
+-&#8962;IP "" 4
++.IP "" 4
+ 
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind nss info&#9619;fR = template \fR
+-&#8962;sp
++\fB\fIwinbind nss info\fR = template \fR
++.sp
+ Example:
+-\fB&#9619;fIwinbind nss info&#9619;fR = template sfu \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind nss info\fR = template sfu \fR
++.RE
++.PP
+ winbind offline logon (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is designed to control whether Winbind should allow to login with the
+-&#9619;fIpam_winbind&#9619;fR
++\fIpam_winbind\fR
+ module using Cached Credentials. If enabled, winbindd will store user credentials from successful logins encrypted in a local cache.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind offline logon&#9619;fR = false \fR
+-&#8962;sp
++\fB\fIwinbind offline logon\fR = false \fR
++.sp
+ Example:
+-\fB&#9619;fIwinbind offline logon&#9619;fR = true \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind offline logon\fR = true \fR
++.RE
++.PP
+ winbind refresh tickets (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is designed to control whether Winbind should refresh Kerberos Tickets retrieved using the
+-&#9619;fIpam_winbind&#9619;fR
++\fIpam_winbind\fR
+ module.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind refresh tickets&#9619;fR = false \fR
+-&#8962;sp
++\fB\fIwinbind refresh tickets\fR = false \fR
++.sp
+ Example:
+-\fB&#9619;fIwinbind refresh tickets&#9619;fR = true \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind refresh tickets\fR = true \fR
++.RE
++.PP
+ winbind rpc only (G)
+-&#8962;RS 4
++.RS 4
+ Setting this parameter to
+ yes
+ forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind rpc only&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind rpc only\fR = no \fR
++.RE
++.PP
+ winbind separator (G)
+-&#8962;RS 4
++.RS 4
+ This parameter allows an admin to define the character used when listing a username of the form of
+-&#9619;fIDOMAIN &#9619;fR\&#9619;fIuser&#9619;fR. This parameter is only applicable when using the
+-&#9619;fIpam_winbind.so&#9619;fR
++\fIDOMAIN \fR\\fIuser\fR. This parameter is only applicable when using the
++\fIpam_winbind.so\fR
+ and
+-&#9619;fInss_winbind.so&#9619;fR
++\fInss_winbind.so\fR
+ modules for UNIX services.
+-&#8962;sp
++.sp
+ Please note that setting this parameter to + causes problems with group membership at least on glibc systems, as the character + is used as a special character for NIS in /etc/group.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind separator&#9619;fR = '\\' \fR
+-&#8962;sp
++\fB\fIwinbind separator\fR = '\\' \fR
++.sp
+ Example:
+-\fB&#9619;fIwinbind separator&#9619;fR = + \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind separator\fR = + \fR
++.RE
++.PP
+ winbind trusted domains only (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is designed to allow Samba servers that are members of a Samba controlled domain to use UNIX accounts distributed via NIS, rsync, or LDAP as the uid's for winbindd users in the hosts primary domain. Therefore, the user
+ DOMAIN\\user1
+ would be mapped to the account user1 in /etc/passwd instead of allocating a new uid for him or her.
+-&#8962;sp
++.sp
+ This parameter is now deprecated in favor of the newer idmap_nss backend. Refer to the
+ idmap domains smb.conf option and the
+-&#9619;fBidmap_nss&#9619;fR(8)
++\fBidmap_nss\fR(8)
+ man page for more information.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind trusted domains only&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind trusted domains only\fR = no \fR
++.RE
++.PP
+ winbind use default domain (G)
+-&#8962;RS 4
++.RS 4
+ This parameter specifies whether the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon should operate on users without domain component in their username. 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.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwinbind use default domain&#9619;fR = no \fR
+-&#8962;sp
++\fB\fIwinbind use default domain\fR = no \fR
++.sp
+ Example:
+-\fB&#9619;fIwinbind use default domain&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwinbind use default domain\fR = yes \fR
++.RE
++.PP
+ wins hook (G)
+-&#8962;RS 4
++.RS 4
+ When Samba is running as a WINS server this allows you to call an external program for all changes to the WINS database. The primary use for this option is to allow the dynamic update of external name resolution databases such as dynamic DNS.
+-&#8962;sp
++.sp
+ The wins hook parameter specifies the name of a script or executable that will be called as follows:
+-&#8962;sp
++.sp
+ wins_hook operation name nametype ttl IP_list
+ \(bu
+ The first argument is the operation and is one of "add", "delete", or "refresh". In most cases the operation can be ignored as the rest of the parameters provide sufficient information. Note that "refresh" may sometimes be called when the name has not previously been added, in that case it should be treated as an add.
+@@ -7548,187 +7548,187 @@
+ .TP
+ \(bu
+ The fifth and subsequent arguments are the IP addresses currently registered for that name. If this list is empty then the name should be deleted.
+-&#8962;IP "" 4
++.IP "" 4
+ An example script that calls the BIND dynamic DNS update program
+ nsupdate
+ is provided in the examples directory of the Samba source code.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ wins proxy (G)
+-&#8962;RS 4
++.RS 4
+ This is a boolean that controls if
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ will respond to broadcast name queries on behalf of other hosts. You may need to set this to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ for some older clients.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwins proxy&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwins proxy\fR = no \fR
++.RE
++.PP
+ wins server (G)
+-&#8962;RS 4
++.RS 4
+ This specifies the IP address (or DNS name: IP address for preference) of the WINS server that
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ should register with. If you have a WINS server on your network then you should set this to the WINS server's IP.
+-&#8962;sp
++.sp
+ You should point this at your WINS server if you have a multi-subnetted network.
+-&#8962;sp
++.sp
+ If you want to work in multiple namespaces, you can give every wins server a 'tag'. For each tag, only one (working) server will be queried for a name. The tag should be separated from the ip address by a colon.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ You need to set up Samba to point to a WINS server if you have multiple subnets and wish cross-subnet browsing to work correctly.
+ 
+ See the chapter in the Samba3-HOWTO on Network Browsing.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwins server&#9619;fR = \fR
+-&#8962;sp
++\fB\fIwins server\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIwins server&#9619;fR = mary: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
+-&#8962;sp
++\fB\fIwins server\fR = mary: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
++.sp
+ Example:
+-\fB&#9619;fIwins server&#9619;fR = 192.9.200.1 192.168.2.61 \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwins server\fR = 192.9.200.1 192.168.2.61 \fR
++.RE
++.PP
+ wins support (G)
+-&#8962;RS 4
++.RS 4
+ This boolean controls if the
+-&#9619;fBnmbd&#9619;fR(8)
++\fBnmbd\fR(8)
+ process in Samba will act as a WINS server. You should not set this to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ unless you have a multi-subnetted network and you wish a particular
+ nmbd
+ to be your WINS server. Note that you should
+ \fBNEVER\fR
+ set this to
+-&#9619;fByes&#9619;fR
++\fByes\fR
+ on more than one machine in your network.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwins support&#9619;fR = no \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwins support\fR = no \fR
++.RE
++.PP
+ workgroup (G)
+-&#8962;RS 4
++.RS 4
+ This controls what workgroup your server will appear to be in when queried by clients. Note that this parameter also controls the Domain name used with the
+ security = domain setting.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIworkgroup&#9619;fR = WORKGROUP \fR
+-&#8962;sp
++\fB\fIworkgroup\fR = WORKGROUP \fR
++.sp
+ Example:
+-\fB&#9619;fIworkgroup&#9619;fR = MYGROUP \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIworkgroup\fR = MYGROUP \fR
++.RE
++.PP
+ writable
+-&#8962;RS 4
++.RS 4
+ This parameter is a synonym for writeable.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ writeable (S)
+-&#8962;RS 4
++.RS 4
+ Inverted synonym for
+ read only.
+-&#8962;sp
++.sp
+ \fBNo default\fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ write cache size (S)
+-&#8962;RS 4
++.RS 4
+ If this integer parameter is set to non-zero value, Samba will create an in-memory cache for each oplocked file (it does
+ \fBnot\fR
+ do this for non-oplocked files). All writes that the client does not request to be flushed directly to disk will be stored in this cache if possible. The cache is flushed onto disk when a write comes in whose offset would not fit into the cache or when the file is closed by the client. Reads for the file are also served from this cache if the data is stored within it.
+-&#8962;sp
++.sp
+ This cache allows Samba to batch client writes into a more efficient write size for RAID disks (i.e. writes may be tuned to be the RAID stripe size) and can improve performance on systems where the disk subsystem is a bottleneck but there is free memory for userspace programs.
+-&#8962;sp
++.sp
+ The integer parameter specifies the size of this cache (per oplocked file) in bytes.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwrite cache size&#9619;fR = 0 \fR
+-&#8962;sp
++\fB\fIwrite cache size\fR = 0 \fR
++.sp
+ Example:
+-\fB&#9619;fIwrite cache size&#9619;fR = 262144 # for a 256k cache size per file \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwrite cache size\fR = 262144 # for a 256k cache size per file \fR
++.RE
++.PP
+ write list (S)
+-&#8962;RS 4
++.RS 4
+ 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
+ read only option is set to. The list can include group names using the @group syntax.
+-&#8962;sp
++.sp
+ Note that if a user is in both the read list and the write list then they will be given write access.
+-&#8962;sp
++.sp
+ By design, this parameter will not work with the
+ security = share in Samba 3.0.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwrite list&#9619;fR = \fR
+-&#8962;sp
++\fB\fIwrite list\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIwrite list&#9619;fR = admin, root, @staff \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwrite list\fR = admin, root, @staff \fR
++.RE
++.PP
+ write raw (G)
+-&#8962;RS 4
++.RS 4
+ This parameter controls whether or not the server will support raw write SMB's when transferring data from clients. You should never need to change this parameter.
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwrite raw&#9619;fR = yes \fR
+-&#8962;RE
+-&#8962;PP
++\fB\fIwrite raw\fR = yes \fR
++.RE
++.PP
+ wtmp directory (G)
+-&#8962;RS 4
++.RS 4
+ This parameter is only available if Samba has been configured and compiled with the option
+ --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.
+-&#8962;sp
++.sp
+ By default this is not set, meaning the system will use whatever utmp file the native system is set to use (usually
+-&#9619;fI/var/run/wtmp&#9619;fR
++\fI/var/run/wtmp\fR
+ on Linux).
+-&#8962;sp
++.sp
+ Default:
+-\fB&#9619;fIwtmp directory&#9619;fR = \fR
+-&#8962;sp
++\fB\fIwtmp directory\fR = \fR
++.sp
+ Example:
+-\fB&#9619;fIwtmp directory&#9619;fR = /var/log/wtmp \fR
+-&#8962;RE
+-&#8962;SH "WARNINGS"
+-&#8962;PP
++\fB\fIwtmp directory\fR = /var/log/wtmp \fR
++.RE
++.SH "WARNINGS"
++.PP
+ Although the configuration file permits service names to contain spaces, your client software may not. Spaces will be ignored in comparisons anyway, so it shouldn't be a problem - but be aware of the possibility.
+-&#8962;PP
++.PP
+ On a similar note, many clients - especially DOS clients - limit service names to eight characters.
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ has no such limitation, but attempts to connect from such clients will fail if they truncate the service names. For this reason you should probably keep your service names down to eight characters in length.
+-&#8962;PP
++.PP
+ Use of the
+ [homes]
+ and
+ [printers]
+ special sections make life for an administrator easy, but the various combinations of default attributes can be tricky. Take extreme care when designing these sections. In particular, ensure that the permissions on spool directories are correct.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ 
+-&#9619;fBsamba&#9619;fR(7),
+-&#9619;fBsmbpasswd&#9619;fR(8),
+-&#9619;fBswat&#9619;fR(8),
+-&#9619;fBsmbd&#9619;fR(8),
+-&#9619;fBnmbd&#9619;fR(8),
+-&#9619;fBsmbclient&#9619;fR(1),
+-&#9619;fBnmblookup&#9619;fR(1),
+-&#9619;fBtestparm&#9619;fR(1),
+-&#9619;fBtestprns&#9619;fR(1).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBsamba\fR(7),
++\fBsmbpasswd\fR(8),
++\fBswat\fR(8),
++\fBsmbd\fR(8),
++\fBnmbd\fR(8),
++\fBsmbclient\fR(1),
++\fBnmblookup\fR(1),
++\fBtestparm\fR(1),
++\fBtestprns\fR(1).
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbcacls.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbcacls.1
++++ samba-3.2.0~pre2/docs/manpages/smbcacls.1
+@@ -18,126 +18,126 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBCACLS" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbcacls - Set or get ACLs on an NT file or directory names
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbcacls {//server/share} {filename} [-D&#9600;acls] [-M&#9600;acls] [-a&#9600;acls] [-S&#9600;acls] [-C&#9600;name] [-G&#9600;name] [--numeric] [-t] [-U&#9600;username] [-h] [-d]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbcacls {//server/share} {filename} [-D acls] [-M acls] [-a acls] [-S acls] [-C name] [-G name] [--numeric] [-t] [-U username] [-h] [-d]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ smbcacls
+ program manipulates NT Access Control Lists (ACLs) on SMB file shares.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ The following options are available to the
+ smbcacls
+ program. The format of ACLs is described in the section ACL FORMAT
+-&#8962;PP
++.PP
+ -a acls
+-&#8962;RS 4
++.RS 4
+ Add the ACLs specified to the ACL list. Existing access control entries are unchanged.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -M acls
+-&#8962;RS 4
++.RS 4
+ Modify the mask value (permissions) for the ACLs specified on the command line. An error will be printed for each ACL specified that was not already present in the ACL list
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D acls
+-&#8962;RS 4
++.RS 4
+ Delete any ACLs specified on the command line. An error will be printed for each ACL specified that was not already present in the ACL list.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S acls
+-&#8962;RS 4
++.RS 4
+ This command sets the ACLs on the file with only the ones specified on the command line. All other ACLs are erased. Note that the ACL specified must contain at least a revision, type, owner and group for the call to succeed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U username
+-&#8962;RS 4
++.RS 4
+ Specifies a username used to connect to the specified service. The username may be of the form "username" in which case the user is prompted to enter in a password and the workgroup specified in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file is used, or "username%password" or "DOMAIN\username%password" and the password and workgroup names are used as provided.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -C name
+-&#8962;RS 4
++.RS 4
+ The owner of a file or directory can be changed to the name given using the
+-&#9619;fI-C&#9619;fR
++\fI-C\fR
+ option. The name can be a sid in the form S-1-x-y-z or a name resolved against the server specified in the first argument.
+-&#8962;sp
++.sp
+ This command is a shortcut for -M OWNER:name.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -G name
+-&#8962;RS 4
++.RS 4
+ The group owner of a file or directory can be changed to the name given using the
+-&#9619;fI-G&#9619;fR
++\fI-G\fR
+ option. The name can be a sid in the form S-1-x-y-z or a name resolved against the server specified n the first argument.
+-&#8962;sp
++.sp
+ This command is a shortcut for -M GROUP:name.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --numeric
+-&#8962;RS 4
++.RS 4
+ This option displays all ACL information in numeric format. The default is to convert SIDs to names and ACE types and masks to a readable string format.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t
+-&#8962;RS 4
++.RS 4
+ Don't actually do anything, only validate the correctness of the arguments.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;SH "ACL FORMAT"
+-&#8962;PP
++.RE
++.SH "ACL FORMAT"
++.PP
+ The format of an ACL is one or more ACL entries separated by either commas or newlines. An ACL entry is one of the following:
+-&#8962;PP
++.PP
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+  
+@@ -148,28 +148,28 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ The revision of the ACL specifies the internal Windows NT ACL revision for the security descriptor. If not specified it defaults to 1. Using values other than 1 may cause strange behaviour.
+-&#8962;PP
++.PP
+ The owner and group specify the owner and group sids for the object. If a SID in the format S-1-x-y-z is specified this is used, otherwise the name specified is resolved using the server on which the file or directory resides.
+-&#8962;PP
++.PP
+ ACLs specify permissions granted to the SID. This SID again can be specified in S-1-x-y-z format or as a name in which case it is resolved against the server on which the file or directory resides. The type, flags and mask values determine the type of access granted to the SID.
+-&#8962;PP
++.PP
+ The type can be either 0 or 1 corresponding to ALLOWED or DENIED access to the SID. The flags values are generally zero for file ACLs and either 9 or 2 for directory ACLs. Some common flags are:
+ \(bu
+-&#9619;fB#define SEC_ACE_FLAG_OBJECT_INHERIT 0x1&#9619;fR
++\fB#define SEC_ACE_FLAG_OBJECT_INHERIT 0x1\fR
+ .TP
+ \(bu
+-&#9619;fB#define SEC_ACE_FLAG_CONTAINER_INHERIT 0x2&#9619;fR
++\fB#define SEC_ACE_FLAG_CONTAINER_INHERIT 0x2\fR
+ .TP
+ \(bu
+-&#9619;fB#define SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0x4&#9619;fR
++\fB#define SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0x4\fR
+ .TP
+ \(bu
+-&#9619;fB#define SEC_ACE_FLAG_INHERIT_ONLY 0x8&#9619;fR
+-&#8962;PP
++\fB#define SEC_ACE_FLAG_INHERIT_ONLY 0x8\fR
++.PP
+ At present flags can only be specified as decimal or hexadecimal values.
+-&#8962;PP
++.PP
+ The mask is a value which expresses the access right granted to the SID. It can be given as a decimal or hexadecimal value, or by using one of the following text strings which map to the NT file permissions of the same name.
+ \(bu
+ \fBR\fR
+@@ -194,7 +194,7 @@
+ \(bu
+ \fBO\fR
+ - Take ownership
+-&#8962;PP
++.PP
+ The following combined permissions can be specified:
+ \(bu
+ \fBREAD\fR
+@@ -207,24 +207,24 @@
+ \(bu
+ \fBFULL\fR
+ - Equivalent to 'RWXDPO' permissions
+-&#8962;SH "EXIT STATUS"
+-&#8962;PP
++.SH "EXIT STATUS"
++.PP
+ The
+ smbcacls
+ program sets the exit status depending on the success or otherwise of the operations performed. The exit status may be one of the following values.
+-&#8962;PP
++.PP
+ If the operation succeeded, smbcacls returns and exit status of 0. If
+ smbcacls
+ couldn't connect to the specified server, or there was an error getting or setting the ACLs, an exit status of 1 is returned. If there was an error parsing any command line arguments, an exit status of 2 is returned.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ smbcacls
+ was written by Andrew Tridgell and Tim Potter.
+-&#8962;PP
++.PP
+ The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbclient.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbclient.1
++++ samba-3.2.0~pre2/docs/manpages/smbclient.1
+@@ -18,173 +18,173 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBCLIENT" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbclient - ftp-like client to access SMB/CIFS resources on servers
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbclient [-b&#9600;<buffer&#9600;size>] [-d&#9600;debuglevel] [-e] [-L&#9600;<netbios&#9600;name>] [-U&#9600;username] [-I&#9600;destinationIP] [-M&#9600;<netbios&#9600;name>] [-m&#9600;maxprotocol] [-A&#9600;authfile] [-N] [-i&#9600;scope] [-O&#9600;<socket&#9600;options>] [-p&#9600;port] [-R&#9600;<name&#9600;resolve&#9600;order>] [-s&#9600;<smb&#9600;config&#9600;file>] [-k] [-P] [-c&#9600;<command>]
+-&#8962;HP 1
+-smbclient {servicename} [password] [-b&#9600;<buffer&#9600;size>] [-d&#9600;debuglevel] [-e] [-D&#9600;Directory] [-U&#9600;username] [-W&#9600;workgroup] [-M&#9600;<netbios&#9600;name>] [-m&#9600;maxprotocol] [-A&#9600;authfile] [-N] [-l&#9600;log-basename] [-I&#9600;destinationIP] [-E] [-c&#9600;<command&#9600;string>] [-i&#9600;scope] [-O&#9600;<socket&#9600;options>] [-p&#9600;port] [-R&#9600;<name&#9600;resolve&#9600;order>] [-s&#9600;<smb&#9600;config&#9600;file>] [-T<c|x>IXFqgbNan] [-k]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbclient [-b <buffer size>] [-d debuglevel] [-e] [-L <netbios name>] [-U username] [-I destinationIP] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-k] [-P] [-c <command>]
++.HP 1
++smbclient {servicename} [password] [-b <buffer size>] [-d debuglevel] [-e] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l log-basename] [-I destinationIP] [-E] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan] [-k]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbclient
+ is a client that can 'talk' to an SMB/CIFS server. It offers an interface similar to that of the ftp program (see
+-&#9619;fBftp&#9619;fR(1)). Operations include things like getting files from the server to the local machine, putting files from the local machine to the server, retrieving directory information from the server and so on.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++\fBftp\fR(1)). Operations include things like getting files from the server to the local machine, putting files from the local machine to the server, retrieving directory information from the server and so on.
++.SH "OPTIONS"
++.PP
+ servicename
+-&#8962;RS 4
++.RS 4
+ servicename is the name of the service you want to use on the server. A service name takes the form
+-&#9619;fI//server/service&#9619;fR
++\fI//server/service\fR
+ where
+-&#9619;fIserver &#9619;fR
++\fIserver \fR
+ is the NetBIOS name of the SMB/CIFS server offering the desired service and
+-&#9619;fIservice&#9619;fR
++\fIservice\fR
+ is the name of the service offered. Thus to connect to the service "printer" on the SMB/CIFS server "smbserver", you would use the servicename
+-&#9619;fI//smbserver/printer &#9619;fR
+-&#8962;sp
++\fI//smbserver/printer \fR
++.sp
+ Note that the server name required is NOT necessarily the IP (DNS) host name of the server ! The name required is a NetBIOS server name, which may or may not be the same as the IP hostname of the machine running the server.
+-&#8962;sp
++.sp
+ The server name is looked up according to either the
+-&#9619;fI-R&#9619;fR
++\fI-R\fR
+ parameter to
+ smbclient
+ or using the name resolve order parameter in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file, allowing an administrator to change the order and methods by which server names are looked up.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ password
+-&#8962;RS 4
++.RS 4
+ The password required to access the specified service on the specified server. If this parameter is supplied, the
+-&#9619;fI-N&#9619;fR
++\fI-N\fR
+ option (suppress password prompt) is assumed.
+-&#8962;sp
++.sp
+ There is no default password. If no password is supplied on the command line (either by using this parameter or adding a password to the
+-&#9619;fI-U&#9619;fR
++\fI-U\fR
+ option (see below)) and the
+-&#9619;fI-N&#9619;fR
++\fI-N\fR
+ option is not specified, the client will prompt for a password, even if the desired service does not require one. (If no password is required, simply press ENTER to provide a null password.)
+-&#8962;sp
++.sp
+ Note: Some servers (including OS/2 and Windows for Workgroups) insist on an uppercase password. Lowercase or mixed case passwords may be rejected by these servers.
+-&#8962;sp
++.sp
+ Be cautious about including passwords in scripts.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -R <name resolve order>
+-&#8962;RS 4
++.RS 4
+ This option is used by the programs in the Samba suite to determine what naming services and in what order to resolve host names to IP addresses. The option takes a space-separated string of different name resolution options.
+-&#8962;sp
++.sp
+ The options are :"lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows:
+ \(bu
+-&#9619;fBlmhosts&#9619;fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
+-&#9619;fBlmhosts&#9619;fR(5)
++\fBlmhosts\fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
++\fBlmhosts\fR(5)
+ for details) then any name type matches for lookup.
+ .TP
+ \(bu
+-&#9619;fBhost&#9619;fR: Do a standard host name to IP address resolution, using the system
+-&#9619;fI/etc/hosts &#9619;fR, NIS, or DNS lookups. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fBhost\fR: Do a standard host name to IP address resolution, using the system
++\fI/etc/hosts \fR, NIS, or DNS lookups. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the
++\fI/etc/nsswitch.conf\fR
+ file). Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored.
+ .TP
+ \(bu
+-&#9619;fBwins&#9619;fR: Query a name with the IP address listed in the
+-&#9619;fIwins server&#9619;fR
++\fBwins\fR: Query a name with the IP address listed in the
++\fIwins server\fR
+ parameter. If no WINS server has been specified this method will be ignored.
+ .TP
+ \(bu
+-&#9619;fBbcast&#9619;fR: Do a broadcast on each of the known local interfaces listed in the
+-&#9619;fIinterfaces&#9619;fR
++\fBbcast\fR: Do a broadcast on each of the known local interfaces listed in the
++\fIinterfaces\fR
+ parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.
+-&#8962;IP "" 4
++.IP "" 4
+ If this parameter is not set then the name resolve order defined in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file parameter (name resolve order) will be used.
+-&#8962;sp
++.sp
+ The default order is lmhosts, host, wins, bcast and without this parameter or any entry in the
+-&#9619;fIname resolve order &#9619;fR
++\fIname resolve order \fR
+ parameter of the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file the name resolution methods will be attempted in this order.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -M NetBIOS name
+-&#8962;RS 4
++.RS 4
+ This options allows you to send messages, using the "WinPopup" protocol, to another computer. Once a connection is established you then type your message, pressing ^D (control-D) to end.
+-&#8962;sp
++.sp
+ If the receiving computer is running WinPopup the user will receive the message and probably a beep. If they are not running WinPopup the message will be lost, and no error message will occur.
+-&#8962;sp
++.sp
+ The message is also automatically truncated if the message is over 1600 bytes, as this is the limit of the protocol.
+-&#8962;sp
++.sp
+ One useful trick is to pipe the message through
+ smbclient. For example: smbclient -M FRED < mymessage.txt will send the message in the file
+-&#9619;fImymessage.txt&#9619;fR
++\fImymessage.txt\fR
+ to the machine FRED.
+-&#8962;sp
++.sp
+ You may also find the
+-&#9619;fI-U&#9619;fR
++\fI-U\fR
+ and
+-&#9619;fI-I&#9619;fR
++\fI-I\fR
+ options useful, as they allow you to control the FROM and TO parts of the message.
+-&#8962;sp
++.sp
+ See the
+-&#9619;fImessage command&#9619;fR
++\fImessage command\fR
+ parameter in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ for a description of how to handle incoming WinPopup messages in Samba.
+-&#8962;sp
++.sp
+ \fBNote\fR: Copy WinPopup into the startup group on your WfWg PCs if you want them to always be able to receive messages.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p port
+-&#8962;RS 4
++.RS 4
+ This number is the TCP port number that will be used when making connections to the server. The standard (well-known) TCP port number for an SMB/CIFS server is 139, which is the default.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P
+-&#8962;RS 4
++.RS 4
+ Make queries to the external server using the machine account of the local server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -I IP-address
+-&#8962;RS 4
+-&#9619;fIIP address&#9619;fR
++.RS 4
++\fIIP address\fR
+ is the address of the server to connect to. It should be specified in standard "a.b.c.d" notation.
+-&#8962;sp
++.sp
+ Normally the client would attempt to locate a named SMB/CIFS server by looking it up via the NetBIOS name resolution mechanism described above in the
+-&#9619;fIname resolve order&#9619;fR
++\fIname resolve order\fR
+ parameter above. Using this parameter will force the client to assume that the server is on the machine with the specified IP address and the NetBIOS name component of the resource being connected to will be ignored.
+-&#8962;sp
++.sp
+ There is no default for this parameter. If not supplied, it will be determined automatically by the client as described above.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -E
+-&#8962;RS 4
++.RS 4
+ This parameter causes the client to write messages to the standard error stream (stderr) rather than to the standard output stream.
+-&#8962;sp
++.sp
+ By default, the client writes messages to standard output - typically the user's tty.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -L
+-&#8962;RS 4
++.RS 4
+ This option allows you to look at what services are available on a server. You use it as
+ smbclient -L host
+ and a list should appear. The
+-&#9619;fI-I &#9619;fR
++\fI-I \fR
+ option may be useful if your NetBIOS names don't match your TCP/IP DNS host names or if you are trying to reach a host on another network.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t terminal code
+-&#8962;RS 4
++.RS 4
+ This option tells
+ smbclient
+ how to interpret filenames coming from the remote server. Usually Asian language multibyte UNIX implementations use different character sets than SMB/CIFS servers (\fBEUC\fR
+@@ -193,75 +193,75 @@
+ for example). Setting this parameter will let
+ smbclient
+ convert between the UNIX filenames and the SMB filenames correctly. This option has not been seriously tested and may have some problems.
+-&#8962;sp
++.sp
+ The terminal codes include CWsjis, CWeuc, CWjis7, CWjis8, CWjunet, CWhex, CWcap. This is not a complete list, check the Samba source code for the complete list.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b buffersize
+-&#8962;RS 4
++.RS 4
+ This option changes the transmit/send buffer size when getting or putting a file from/to the server. The default is 65520 bytes. Setting this value smaller (to 1200 bytes) has been observed to speed up file transfers to and from a Win9x server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -e
+-&#8962;RS 4
++.RS 4
+ This command line parameter requires the remote server support the UNIX extensions. Request that the connection be encrypted. This is new for Samba 3.2 and will only work with Samba 3.2 or above servers. Negotiates SMB encryption using GSSAPI. Uses the given credentials for the encryption negotiaion (either kerberos or NTLMv1/v2 if given domain/username/password triple. Fails the connection if encryption cannot be negotiated.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 1.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -N
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password.
+-&#8962;sp
++.sp
+ Unless a password is specified on the command line or this parameter is specified, the client will request a password.
+-&#8962;sp
++.sp
+ If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -k
+-&#8962;RS 4
++.RS 4
+ Try to authenticate with kerberos. Only useful in an Active Directory environment.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -A|--authentication-file=filename
+-&#8962;RS 4
++.RS 4
+ This option allows you to specify a file from which to read the username and password used in the connection. The format of the file is
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -271,623 +271,623 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Make certain that the permissions on the file restrict access from unwanted users.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U|--user=username[%password]
+-&#8962;RS 4
++.RS 4
+ Sets the SMB username or username and password.
+-&#8962;sp
++.sp
+ If %password is not specified, the user will be prompted. The client will first check the
+-&#9619;fBUSER&#9619;fR
++\fBUSER\fR
+ environment variable, then the
+-&#9619;fBLOGNAME&#9619;fR
++\fBLOGNAME\fR
+ variable and if either exists, the string is uppercased. If these environmental variables are not found, the username
+-&#9619;fBGUEST&#9619;fR
++\fBGUEST\fR
+ is used.
+-&#8962;sp
++.sp
+ A third option is to use a credentials file which contains the plaintext of the username and password. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the
+-&#9619;fI-A&#9619;fR
++\fI-A\fR
+ for more details.
+-&#8962;sp
++.sp
+ Be cautious about including passwords in scripts. Also, on many systems the command line of a running process may be seen via the
+ ps
+ command. To be safe always allow
+ rpcclient
+ to prompt for a password and type it in directly.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n <primary NetBIOS name>
+-&#8962;RS 4
++.RS 4
+ This option allows you to override the NetBIOS name that Samba uses for itself. This is identical to setting the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file. However, a command line setting will take precedence over settings in
+-&#9619;fIsmb.conf&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fIsmb.conf\fR.
++.RE
++.PP
+ -i <scope>
+-&#8962;RS 4
++.RS 4
+ This specifies a NetBIOS scope that
+ nmblookup
+ will use to communicate with when generating NetBIOS names. For details on the use of NetBIOS scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
+ \fBvery\fR
+ rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -W|--workgroup=domain
+-&#8962;RS 4
++.RS 4
+ Set the SMB domain of the username. This overrides the default domain which is the domain defined in smb.conf. If the domain specified is the same as the servers NetBIOS name, it causes the client to log on using the servers local SAM (as opposed to the Domain SAM).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -O socket options
+-&#8962;RS 4
++.RS 4
+ TCP socket options to set on the client socket. See the socket options parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ manual page for the list of valid options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -T tar options
+-&#8962;RS 4
++.RS 4
+ smbclient may be used to create
+ tar(1)
+ compatible backups of all the files on an SMB/CIFS share. The secondary tar flags that can be given to this option are :
+ \(bu
+-&#9619;fIc&#9619;fR
++\fIc\fR
+ - Create a tar file on UNIX. Must be followed by the name of a tar file, tape device or "-" for standard output. If using standard output you must turn the log level to its lowest value -d0 to avoid corrupting your tar file. This flag is mutually exclusive with the
+-&#9619;fIx&#9619;fR
++\fIx\fR
+ flag.
+ .TP
+ \(bu
+-&#9619;fIx&#9619;fR
++\fIx\fR
+ - Extract (restore) a local tar file back to a share. Unless the -D option is given, the tar files will be restored from the top level of the share. Must be followed by the name of the tar file, device or "-" for standard input. Mutually exclusive with the
+-&#9619;fIc&#9619;fR
++\fIc\fR
+ flag. Restored files have their creation times (mtime) set to the date saved in the tar file. Directories currently do not get their creation dates restored properly.
+ .TP
+ \(bu
+-&#9619;fII&#9619;fR
++\fII\fR
+ - Include files and directories. Is the default behavior when filenames are specified above. Causes files to be included in an extract or create (and therefore everything else to be excluded). See example below. Filename globbing works in one of two ways. See
+-&#9619;fIr&#9619;fR
++\fIr\fR
+ below.
+ .TP
+ \(bu
+-&#9619;fIX&#9619;fR
++\fIX\fR
+ - Exclude files and directories. Causes files to be excluded from an extract or create. See example below. Filename globbing works in one of two ways now. See
+-&#9619;fIr&#9619;fR
++\fIr\fR
+ below.
+ .TP
+ \(bu
+-&#9619;fIF&#9619;fR
++\fIF\fR
+ - File containing a list of files and directories. The
+-&#9619;fIF&#9619;fR
++\fIF\fR
+ causes the name following the tarfile to create to be read as a filename that contains a list of files and directories to be included in an extract or create (and therefore everything else to be excluded). See example below. Filename globbing works in one of two ways. See
+-&#9619;fIr&#9619;fR
++\fIr\fR
+ below.
+ .TP
+ \(bu
+-&#9619;fIb&#9619;fR
++\fIb\fR
+ - Blocksize. Must be followed by a valid (greater than zero) blocksize. Causes tar file to be written out in blocksize*TBLOCK (usually 512 byte) blocks.
+ .TP
+ \(bu
+-&#9619;fIg&#9619;fR
++\fIg\fR
+ - Incremental. Only back up files that have the archive bit set. Useful only with the
+-&#9619;fIc&#9619;fR
++\fIc\fR
+ flag.
+ .TP
+ \(bu
+-&#9619;fIq&#9619;fR
++\fIq\fR
+ - Quiet. Keeps tar from printing diagnostics as it works. This is the same as tarmode quiet.
+ .TP
+ \(bu
+-&#9619;fIr&#9619;fR
++\fIr\fR
+ - Regular expression include or exclude. Uses regular expression matching for excluding or excluding files if compiled with HAVE_REGEX_H. However this mode can be very slow. If not compiled with HAVE_REGEX_H, does a limited wildcard match on '*' and '?'.
+ .TP
+ \(bu
+-&#9619;fIN&#9619;fR
++\fIN\fR
+ - Newer than. Must be followed by the name of a file whose date is compared against files found on the share during a create. Only files newer than the file specified are backed up to the tar file. Useful only with the
+-&#9619;fIc&#9619;fR
++\fIc\fR
+ flag.
+ .TP
+ \(bu
+-&#9619;fIa&#9619;fR
++\fIa\fR
+ - Set archive bit. Causes the archive bit to be reset when a file is backed up. Useful with the
+-&#9619;fIg&#9619;fR
++\fIg\fR
+ and
+-&#9619;fIc&#9619;fR
++\fIc\fR
+ flags.
+-&#8962;IP "" 4
++.IP "" 4
+ \fBTar Long File Names\fR
+-&#8962;sp
++.sp
+ smbclient's tar option now supports long file names both on backup and restore. However, the full path name of the file must be less than 1024 bytes. Also, when a tar archive is created,
+ smbclient's tar option places all files in the archive with relative names, not absolute names.
+-&#8962;sp
++.sp
+ \fBTar Filenames\fR
+-&#8962;sp
++.sp
+ All file names can be given as DOS path names (with '\\' as the component separator) or as UNIX path names (with '/' as the component separator).
+-&#8962;sp
++.sp
+ \fBExamples\fR
+-&#8962;sp
++.sp
+ Restore from tar file
+-&#9619;fIbackup.tar&#9619;fR
++\fIbackup.tar\fR
+ into myshare on mypc (no password on share).
+-&#8962;sp
++.sp
+ smbclient //mypc/yshare "" -N -Tx backup.tar
+-&#8962;sp
++.sp
+ Restore everything except
+-&#9619;fIusers/docs&#9619;fR
+-&#8962;sp
++\fIusers/docs\fR
++.sp
+ smbclient //mypc/myshare "" -N -TXx backup.tar users/docs
+-&#8962;sp
++.sp
+ Create a tar file of the files beneath
+-&#9619;fI users/docs&#9619;fR.
+-&#8962;sp
++\fI users/docs\fR.
++.sp
+ smbclient //mypc/myshare "" -N -Tc backup.tar users/docs
+-&#8962;sp
++.sp
+ Create the same tar file as above, but now use a DOS path name.
+-&#8962;sp
++.sp
+ smbclient //mypc/myshare "" -N -tc backup.tar users\\edocs
+-&#8962;sp
++.sp
+ Create a tar file of the files listed in the file
+-&#9619;fItarlist&#9619;fR.
+-&#8962;sp
++\fItarlist\fR.
++.sp
+ smbclient //mypc/myshare "" -N -TcF backup.tar tarlist
+-&#8962;sp
++.sp
+ Create a tar file of all the files and directories in the share.
+-&#8962;sp
++.sp
+ smbclient //mypc/myshare "" -N -Tc backup.tar *
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D initial directory
+-&#8962;RS 4
++.RS 4
+ Change to initial directory before starting. Probably only of any use with the tar -T option.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -c command string
+-&#8962;RS 4
++.RS 4
+ command string is a semicolon-separated list of commands to be executed instead of prompting from stdin.
+-&#9619;fI -N&#9619;fR
++\fI -N\fR
+ is implied by
+-&#9619;fI-c&#9619;fR.
+-&#8962;sp
++\fI-c\fR.
++.sp
+ This is particularly useful in scripts and for printing stdin to the server, e.g.
+ -c 'print -'.
+-&#8962;RE
+-&#8962;SH "OPERATIONS"
+-&#8962;PP
++.RE
++.SH "OPERATIONS"
++.PP
+ Once the client is running, the user is presented with a prompt :
+-&#8962;PP
++.PP
+ smb:\>
+-&#8962;PP
++.PP
+ The backslash ("\\") indicates the current working directory on the server, and will change if the current working directory is changed.
+-&#8962;PP
++.PP
+ The prompt indicates that the client is ready and waiting to carry out a user command. Each command is a single word, optionally followed by parameters specific to that command. Command and parameters are space-delimited unless these notes specifically state otherwise. All commands are case-insensitive. Parameters to commands may or may not be case sensitive, depending on the command.
+-&#8962;PP
++.PP
+ You can specify file names which have spaces in them by quoting the name with double quotes, for example "a long file name".
+-&#8962;PP
++.PP
+ Parameters shown in square brackets (e.g., "[parameter]") are optional. If not given, the command will use suitable defaults. Parameters shown in angle brackets (e.g., "<parameter>") are required.
+-&#8962;PP
++.PP
+ Note that all commands operating on the server are actually performed by issuing a request to the server. Thus the behavior may vary from server to server, depending on how the server was implemented.
+-&#8962;PP
++.PP
+ The commands available are given here in alphabetical order.
+-&#8962;PP
++.PP
+ ? [command]
+-&#8962;RS 4
++.RS 4
+ If
+-&#9619;fIcommand&#9619;fR
++\fIcommand\fR
+ is specified, the ? command will display a brief informative message about the specified command. If no command is specified, a list of available commands will be displayed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ! [shell command]
+-&#8962;RS 4
++.RS 4
+ If
+-&#9619;fIshell command&#9619;fR
++\fIshell command\fR
+ is specified, the ! command will execute a shell locally and run the specified shell command. If no command is specified, a local shell will be run.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ allinfo file
+-&#8962;RS 4
++.RS 4
+ The client will request that the server return all known information about a file or directory (including streams).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ altname file
+-&#8962;RS 4
++.RS 4
+ The client will request that the server return the "alternate" name (the 8.3 name) for a file or directory.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ archive <number>
+-&#8962;RS 4
++.RS 4
+ Sets the archive level when operating on files. 0 means ignore the archive bit, 1 means only operate on files with this bit set, 2 means only operate on files with this bit set and reset it after operation, 3 means operate on all files and reset it after operation. The default is 0.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ blocksize <number>
+-&#8962;RS 4
++.RS 4
+ Sets the blocksize parameter for a tar operation. The default is 20. Causes tar file to be written out in blocksize*TBLOCK (normally 512 byte) units.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ cancel jobid0 [jobid1] ... [jobidN]
+-&#8962;RS 4
++.RS 4
+ The client will request that the server cancel the printjobs identified by the given numeric print job ids.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ case_sensitive
+-&#8962;RS 4
++.RS 4
+ Toggles the setting of the flag in SMB packets that tells the server to treat filenames as case sensitive. Set to OFF by default (tells file server to treat filenames as case insensitive). Only currently affects Samba 3.0.5 and above file servers with the case sensitive parameter set to auto in the smb.conf.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ cd <directory name>
+-&#8962;RS 4
++.RS 4
+ If "directory name" is specified, the current working directory on the server will be changed to the directory specified. This operation will fail if for any reason the specified directory is inaccessible.
+-&#8962;sp
++.sp
+ If no directory name is specified, the current working directory on the server will be reported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ chmod file mode in octal
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. The client requests that the server change the UNIX permissions to the given octal mode, in standard UNIX format.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ chown file uid gid
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. The client requests that the server change the UNIX user and group ownership to the given decimal values. Note there is currently no way to remotely look up the UNIX uid and gid values for a given name. This may be addressed in future versions of the CIFS UNIX extensions.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ close <fileid>
+-&#8962;RS 4
++.RS 4
+ Closes a file explicitly opened by the open command. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ del <mask>
+-&#8962;RS 4
++.RS 4
+ The client will request that the server attempt to delete all files matching
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ from the current working directory on the server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dir <mask>
+-&#8962;RS 4
++.RS 4
+ A list of the files matching
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ in the current working directory on the server will be retrieved from the server and displayed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ du <filename>
+-&#8962;RS 4
++.RS 4
+ Does a directory listing and then prints out the current disk useage and free space on a share.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ echo <number> <data>
+-&#8962;RS 4
++.RS 4
+ Does an SMBecho request to ping the server. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ exit
+-&#8962;RS 4
++.RS 4
+ Terminate the connection with the server and exit from the program.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ get <remote file name> [local file name]
+-&#8962;RS 4
++.RS 4
+ Copy the file called
+-&#9619;fIremote file name&#9619;fR
++\fIremote file name\fR
+ from the server to the machine running the client. If specified, name the local copy
+-&#9619;fIlocal file name&#9619;fR. Note that all transfers in
++\fIlocal file name\fR. Note that all transfers in
+ smbclient
+ are binary. See also the lowercase command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ getfacl <filename>
+-&#8962;RS 4
++.RS 4
+ Requires the server support the UNIX extensions. Requests and prints the POSIX ACL on a file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hardlink <src> <dest<
+-&#8962;RS 4
++.RS 4
+ Creates a hardlink on the server using Windows CIFS semantics. the POSIX ACL on a file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ help [command]
+-&#8962;RS 4
++.RS 4
+ See the ? command above.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ history
+-&#8962;RS 4
++.RS 4
+ Displays the command history.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ iosize <bytes>
+-&#8962;RS 4
++.RS 4
+ When sending or receiving files, smbclient uses an internal memory buffer by default of size 64512 bytes. This command allows this size to be set to any range between 16384 (0x4000) bytes and 16776960 (0xFFFF00) bytes. Larger sizes may mean more efficient data transfer as smbclient will try and use the most efficient read and write calls for the connected server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lcd [directory name]
+-&#8962;RS 4
++.RS 4
+ If
+-&#9619;fIdirectory name&#9619;fR
++\fIdirectory name\fR
+ is specified, the current working directory on the local machine will be changed to the directory specified. This operation will fail if for any reason the specified directory is inaccessible.
+-&#8962;sp
++.sp
+ If no directory name is specified, the name of the current working directory on the local machine will be reported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ link target linkname
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. The client requests that the server create a hard link between the linkname and target files. The linkname file must not exist.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ listconnect
+-&#8962;RS 4
++.RS 4
+ Show the current connections held for DFS purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lock <filenum> <r|w> <hex-start> <hex-len>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Tries to set a POSIX fcntl lock of the given type on the given range. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ logon <username> <password>
+-&#8962;RS 4
++.RS 4
+ Establishes a new vuid for this session by logging on again. Replaces the current vuid. Prints out the new vuid. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ lowercase
+-&#8962;RS 4
++.RS 4
+ Toggle lowercasing of filenames for the get and mget commands.
+-&#8962;sp
++.sp
+ When lowercasing is toggled ON, local filenames are converted to lowercase when using the get and mget commands. This is often useful when copying (say) MSDOS files from a server, because lowercase filenames are the norm on UNIX systems.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ls <mask>
+-&#8962;RS 4
++.RS 4
+ See the dir command above.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ mask <mask>
+-&#8962;RS 4
++.RS 4
+ This command allows the user to set up a mask which will be used during recursive operation of the mget and mput commands.
+-&#8962;sp
++.sp
+ The masks specified to the mget and mput commands act as filters for directories rather than files when recursion is toggled ON.
+-&#8962;sp
++.sp
+ The mask specified with the mask command is necessary to filter files within those directories. For example, if the mask specified in an mget command is "source*" and the mask specified with the mask command is "*.c" and recursion is toggled ON, the mget command will retrieve all files matching "*.c" in all directories below and including all directories matching "source*" in the current working directory.
+-&#8962;sp
++.sp
+ Note that the value for mask defaults to blank (equivalent to "*") and remains so until the mask command is used to change it. It retains the most recently specified value indefinitely. To avoid unexpected results it would be wise to change the value of mask back to "*" after using the mget or mput commands.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ md <directory name>
+-&#8962;RS 4
++.RS 4
+ See the mkdir command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ mget <mask>
+-&#8962;RS 4
++.RS 4
+ Copy all files matching
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ from the server to the machine running the client.
+-&#8962;sp
++.sp
+ Note that
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ is interpreted differently during recursive operation and non-recursive operation - refer to the recurse and mask commands for more information. Note that all transfers in
+ smbclient
+ are binary. See also the lowercase command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ mkdir <directory name>
+-&#8962;RS 4
++.RS 4
+ Create a new directory on the server (user access privileges permitting) with the specified name.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ more <file name>
+-&#8962;RS 4
++.RS 4
+ Fetch a remote file and view it with the contents of your PAGER environment variable.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ mput <mask>
+-&#8962;RS 4
++.RS 4
+ Copy all files matching
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ in the current working directory on the local machine to the current working directory on the server.
+-&#8962;sp
++.sp
+ Note that
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ is interpreted differently during recursive operation and non-recursive operation - refer to the recurse and mask commands for more information. Note that all transfers in
+ smbclient
+ are binary.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ posix
+-&#8962;RS 4
++.RS 4
+ Query the remote server to see if it supports the CIFS UNIX extensions and prints out the list of capabilities supported. If so, turn on POSIX pathname processing and large file read/writes (if available),.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ posix_encrypt <domain> <username> <password>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Attempt to negotiate SMB encryption on this connection. If smbclient connected with kerberos credentials (-k) the arguments to this command are ignored and the kerberos credentials are used to negotiate GSSAPI signing and sealing instead. See also the -e option to smbclient to force encryption on initial connection. This command is new with Samba 3.2.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ posix_open <filename> <octal mode>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Opens a remote file using the CIFS UNIX extensions and prints a fileid. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ posix_mkdir <directoryname> <octal mode>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Creates a remote directory using the CIFS UNIX extensions with the given mode.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ posix_rmdir <directoryname>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Deletes a remote directory using the CIFS UNIX extensions.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ posix_unlink <filename>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Deletes a remote file using the CIFS UNIX extensions.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ print <file name>
+-&#8962;RS 4
++.RS 4
+ Print the specified file from the local machine through a printable service on the server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ prompt
+-&#8962;RS 4
++.RS 4
+ Toggle prompting for filenames during operation of the mget and mput commands.
+-&#8962;sp
++.sp
+ When toggled ON, the user will be prompted to confirm the transfer of each file during these commands. When toggled OFF, all specified files will be transferred without prompting.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ put <local file name> [remote file name]
+-&#8962;RS 4
++.RS 4
+ Copy the file called
+-&#9619;fIlocal file name&#9619;fR
++\fIlocal file name\fR
+ from the machine running the client to the server. If specified, name the remote copy
+-&#9619;fIremote file name&#9619;fR. Note that all transfers in
++\fIremote file name\fR. Note that all transfers in
+ smbclient
+ are binary. See also the lowercase command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ queue
+-&#8962;RS 4
++.RS 4
+ Displays the print queue, showing the job id, name, size and current status.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ quit
+-&#8962;RS 4
++.RS 4
+ See the exit command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ rd <directory name>
+-&#8962;RS 4
++.RS 4
+ See the rmdir command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recurse
+-&#8962;RS 4
++.RS 4
+ Toggle directory recursion for the commands mget and mput.
+-&#8962;sp
++.sp
+ When toggled ON, these commands will process all directories in the source directory (i.e., the directory they are copying from ) and will recurse into any that match the mask specified to the command. Only files that match the mask specified using the mask command will be retrieved. See also the mask command.
+-&#8962;sp
++.sp
+ When recursion is toggled OFF, only files from the current working directory on the source machine that match the mask specified to the mget or mput commands will be copied, and any mask specified using the mask command will be ignored.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ rm <mask>
+-&#8962;RS 4
++.RS 4
+ Remove all files matching
+-&#9619;fImask&#9619;fR
++\fImask\fR
+ from the current working directory on the server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ rmdir <directory name>
+-&#8962;RS 4
++.RS 4
+ Remove the specified directory (user access privileges permitting) from the server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ setmode <filename> <perm=[+|\-]rsha>
+-&#8962;RS 4
++.RS 4
+ A version of the DOS attrib command to set file permissions. For example:
+-&#8962;sp
++.sp
+ setmode myfile +r
+-&#8962;sp
++.sp
+ would make myfile read only.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ showconnect
+-&#8962;RS 4
++.RS 4
+ Show the currently active connection held for DFS purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ stat file
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. The client requests the UNIX basic info level and prints out the same info that the Linux stat command would about the file. This includes the size, blocks used on disk, file type, permissions, inode number, number of links and finally the three timestamps (access, modify and change). If the file is a special file (symlink, character or block device, fifo or socket) then extra information may also be printed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ symlink target linkname
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. The client requests that the server create a symbolic hard link between the target and linkname files. The linkname file must not exist. Note that the server will not create a link to any path that lies outside the currently connected share. This is enforced by the Samba server.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ tar <c|x>[IXbgNa]
+-&#8962;RS 4
++.RS 4
+ Performs a tar operation - see the
+-&#9619;fI-T &#9619;fR
++\fI-T \fR
+ command line option above. Behavior may be affected by the tarmode command (see below). Using g (incremental) and N (newer) will affect tarmode settings. Note that using the "-" option with tar x may not work - use the command line option instead.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ blocksize <blocksize>
+-&#8962;RS 4
++.RS 4
+ Blocksize. Must be followed by a valid (greater than zero) blocksize. Causes tar file to be written out in
+-&#9619;fIblocksize&#9619;fR*TBLOCK (usually 512 byte) blocks.
+-&#8962;RE
+-&#8962;PP
++\fIblocksize\fR*TBLOCK (usually 512 byte) blocks.
++.RE
++.PP
+ tarmode <full|inc|reset|noreset>
+-&#8962;RS 4
++.RS 4
+ Changes tar's behavior with regard to archive bits. In full mode, tar will back up everything regardless of the archive bit setting (this is the default mode). In incremental mode, tar will only back up files with the archive bit set. In reset mode, tar will reset the archive bit on all files it backs up (implies read/write share).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ unlock <filenum> <hex-start> <hex-len>
+-&#8962;RS 4
++.RS 4
+ This command depends on the server supporting the CIFS UNIX extensions and will fail if the server does not. Tries to unlock a POSIX fcntl lock on the given range. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ volume
+-&#8962;RS 4
++.RS 4
+ Prints the current volume name of the share.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ vuid <number>
+-&#8962;RS 4
++.RS 4
+ Changes the currently used vuid in the protocol to the given arbitrary number. Without an argument prints out the current vuid being used. Used for internal Samba testing purposes.
+-&#8962;RE
+-&#8962;SH "NOTES"
+-&#8962;PP
++.RE
++.SH "NOTES"
++.PP
+ Some servers are fussy about the case of supplied usernames, passwords, share names (AKA service names) and machine names. If you fail to connect try giving all parameters in uppercase.
+-&#8962;PP
++.PP
+ It is often necessary to use the -n option when connecting to some types of servers. For example OS/2 LanManager insists on a valid NetBIOS name being used, so you need to supply a valid name that would be known to the server.
+-&#8962;PP
++.PP
+ smbclient supports long file names where the server supports the LANMAN2 protocol or above.
+-&#8962;SH "ENVIRONMENT VARIABLES"
+-&#8962;PP
++.SH "ENVIRONMENT VARIABLES"
++.PP
+ The variable
+-&#9619;fBUSER&#9619;fR
++\fBUSER\fR
+ may contain the username of the person using the client. This information is used only if the protocol level is high enough to support session-level passwords.
+-&#8962;PP
++.PP
+ The variable
+-&#9619;fBPASSWD&#9619;fR
++\fBPASSWD\fR
+ may contain the password of the person using the client. This information is used only if the protocol level is high enough to support session-level passwords.
+-&#8962;PP
++.PP
+ The variable
+-&#9619;fBLIBSMB_PROG&#9619;fR
++\fBLIBSMB_PROG\fR
+ may contain the path, executed with system(), which the client should connect to instead of connecting to a server. This functionality is primarily intended as a development aid, and works best when using a LMHOSTS file
+-&#8962;SH "INSTALLATION"
+-&#8962;PP
++.SH "INSTALLATION"
++.PP
+ The location of the client program is a matter for individual system administrators. The following are thus suggestions only.
+-&#8962;PP
++.PP
+ It is recommended that the smbclient software be installed in the
+-&#9619;fI/usr/local/samba/bin/&#9619;fR
++\fI/usr/local/samba/bin/\fR
+ or
+-&#9619;fI /usr/samba/bin/&#9619;fR
++\fI /usr/samba/bin/\fR
+ directory, this directory readable by all, writeable only by root. The client program itself should be executable by all. The client should
+ \fBNOT\fR
+ be setuid or setgid!
+-&#8962;PP
++.PP
+ The client log files should be put in a directory readable and writeable only by the user.
+-&#8962;PP
++.PP
+ To test the client, you will need to know the name of a running SMB/CIFS server. It is possible to run
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ as an ordinary user - running that server as a daemon on a user-accessible port (typically any port number over 1024) would provide a suitable test server.
+-&#8962;SH "DIAGNOSTICS"
+-&#8962;PP
++.SH "DIAGNOSTICS"
++.PP
+ Most diagnostics issued by the client are logged in a specified log file. The log file name is specified at compile time, but may be overridden on the command line.
+-&#8962;PP
++.PP
+ The number and nature of diagnostics available depends on the debug level used by the client. If you have problems, set the debug level to 3 and peruse the log files.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.2 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbcontrol.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbcontrol.1
++++ samba-3.2.0~pre2/docs/manpages/smbcontrol.1
+@@ -18,216 +18,216 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBCONTROL" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbcontrol - send messages to smbd, nmbd or winbindd processes
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ smbcontrol [-i] [-s]
+-&#8962;HP 1
++.HP 1
+ smbcontrol [destination] [message-type] [parameter]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbcontrol
+ is a very small program, which sends messages to a
+-&#9619;fBsmbd&#9619;fR(8), a
+-&#9619;fBnmbd&#9619;fR(8), or a
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBsmbd\fR(8), a
++\fBnmbd\fR(8), or a
++\fBwinbindd\fR(8)
+ daemon running on the system.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ Run interactively. Individual commands of the form destination message-type parameters can be entered on STDIN. An empty command line or a "q" will quit the program.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ destination
+-&#8962;RS 4
++.RS 4
+ One of
+-&#9619;fInmbd&#9619;fR,
+-&#9619;fIsmbd&#9619;fR
++\fInmbd\fR,
++\fIsmbd\fR
+ or a process ID.
+-&#8962;sp
++.sp
+ The
+-&#9619;fIsmbd&#9619;fR
++\fIsmbd\fR
+ destination causes the message to "broadcast" to all smbd daemons.
+-&#8962;sp
++.sp
+ The
+-&#9619;fInmbd&#9619;fR
++\fInmbd\fR
+ destination causes the message to be sent to the nmbd daemon specified in the
+-&#9619;fInmbd.pid&#9619;fR
++\fInmbd.pid\fR
+ file.
+-&#8962;sp
++.sp
+ If a single process ID is given, the message is sent to only that process.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ message-type
+-&#8962;RS 4
++.RS 4
+ Type of message to send. See the section
+-&#9619;fBMESSAGE-TYPES&#9619;fR
++\fBMESSAGE-TYPES\fR
+ for details.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ parameters
+-&#8962;RS 4
++.RS 4
+ any parameters required for the message-type
+-&#8962;RE
+-&#8962;SH "MESSAGE-TYPES"
+-&#8962;PP
++.RE
++.SH "MESSAGE-TYPES"
++.PP
+ Available message types are:
+-&#8962;PP
++.PP
+ close-share
+-&#8962;RS 4
++.RS 4
+ Order smbd to close the client connections to the named share. Note that this doesn't affect client connections to any other shares. This message-type takes an argument of the share name for which client connections will be closed, or the "*" character which will close all currently open shares. This may be useful if you made changes to the access controls on the share. This message can only be sent to
+-&#9619;fBsmbd&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fBsmbd\fR.
++.RE
++.PP
+ debug
+-&#8962;RS 4
++.RS 4
+ Set debug level to the value specified by the parameter. This can be sent to any of the destinations.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ force-election
+-&#8962;RS 4
++.RS 4
+ This message causes the
+ nmbd
+ daemon to force a new browse master election.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ping
+-&#8962;RS 4
++.RS 4
+ Send specified number of "ping" messages and wait for the same number of reply "pong" messages. This can be sent to any of the destinations.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ profile
+-&#8962;RS 4
++.RS 4
+ Change profile settings of a daemon, based on the parameter. The parameter can be "on" to turn on profile stats collection, "off" to turn off profile stats collection, "count" to enable only collection of count stats (time stats are disabled), and "flush" to zero the current profile stats. This can be sent to any smbd or nmbd destinations.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ debuglevel
+-&#8962;RS 4
++.RS 4
+ Request debuglevel of a certain daemon and write it to stdout. This can be sent to any of the destinations.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ profilelevel
+-&#8962;RS 4
++.RS 4
+ Request profilelevel of a certain daemon and write it to stdout. This can be sent to any smbd or nmbd destinations.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ printnotify
+-&#8962;RS 4
++.RS 4
+ Order smbd to send a printer notify message to any Windows NT clients connected to a printer. This message-type takes the following arguments:
+-&#8962;PP
++.PP
+ queuepause printername
+-&#8962;RS 4
++.RS 4
+ Send a queue pause change notify message to the printer specified.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ queueresume printername
+-&#8962;RS 4
++.RS 4
+ Send a queue resume change notify message for the printer specified.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ jobpause printername unixjobid
+-&#8962;RS 4
++.RS 4
+ Send a job pause change notify message for the printer and unix jobid specified.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ jobresume printername unixjobid
+-&#8962;RS 4
++.RS 4
+ Send a job resume change notify message for the printer and unix jobid specified.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ jobdelete printername unixjobid
+-&#8962;RS 4
++.RS 4
+ Send a job delete change notify message for the printer and unix jobid specified.
+-&#8962;RE
+-&#8962;sp
++.RE
++.sp
+ Note that this message only sends notification that an event has occured. It doesn't actually cause the event to happen.
+-&#8962;sp
++.sp
+ This message can only be sent to
+-&#9619;fBsmbd&#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fBsmbd\fR.
++.RE
++.PP
+ samsync
+-&#8962;RS 4
++.RS 4
+ Order smbd to synchronise sam database from PDC (being BDC). Can only be sent to
+-&#9619;fBsmbd&#9619;fR.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++\fBsmbd\fR.
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Not working at the moment
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ samrepl
+-&#8962;RS 4
++.RS 4
+ Send sam replication message, with specified serial. Can only be sent to
+-&#9619;fBsmbd&#9619;fR. Should not be used manually.
+-&#8962;RE
+-&#8962;PP
++\fBsmbd\fR. Should not be used manually.
++.RE
++.PP
+ dmalloc-mark
+-&#8962;RS 4
++.RS 4
+ Set a mark for dmalloc. Can be sent to both smbd and nmbd. Only available if samba is built with dmalloc support.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dmalloc-log-changed
+-&#8962;RS 4
++.RS 4
+ Dump the pointers that have changed since the mark set by dmalloc-mark. Can be sent to both smbd and nmbd. Only available if samba is built with dmalloc support.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ shutdown
+-&#8962;RS 4
++.RS 4
+ Shut down specified daemon. Can be sent to both smbd and nmbd.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ pool-usage
+-&#8962;RS 4
++.RS 4
+ Print a human-readable description of all talloc(pool) memory usage by the specified daemon/process. Available for both smbd and nmbd.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ drvupgrade
+-&#8962;RS 4
++.RS 4
+ Force clients of printers using specified driver to update their local version of the driver. Can only be sent to smbd.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ reload-config
+-&#8962;RS 4
++.RS 4
+ Force daemon to reload smb.conf configuration file. Can be sent to
+-&#9619;fBsmbd&#9619;fR,
+-&#9619;fBnmbd&#9619;fR, or
+-&#9619;fBwinbindd&#9619;fR.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++\fBsmbd\fR,
++\fBnmbd\fR, or
++\fBwinbindd\fR.
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBnmbd&#9619;fR(8)
++.SH "SEE ALSO"
++.PP
++\fBnmbd\fR(8)
+ and
+-&#9619;fBsmbd&#9619;fR(8).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBsmbd\fR(8).
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbcquotas.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbcquotas.1
++++ samba-3.2.0~pre2/docs/manpages/smbcquotas.1
+@@ -18,121 +18,121 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBCQUOTAS" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbcquotas - Set or get QUOTAs of NTFS 5 shares
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbcquotas {//server/share} [-u&#9600;user] [-L] [-F] [-S&#9600;QUOTA_SET_COMMAND] [-n] [-t] [-v] [-d&#9600;debuglevel] [-s&#9600;configfile] [-l&#9600;logdir] [-V] [-U&#9600;username] [-N] [-k] [-A]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbcquotas {//server/share} [-u user] [-L] [-F] [-S QUOTA_SET_COMMAND] [-n] [-t] [-v] [-d debuglevel] [-s configfile] [-l logdir] [-V] [-U username] [-N] [-k] [-A]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ smbcquotas
+ program manipulates NT Quotas on SMB file shares.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ The following options are available to the
+ smbcquotas
+ program.
+-&#8962;PP
++.PP
+ -u user
+-&#8962;RS 4
++.RS 4
+ Specifies the user of whom the quotas are get or set. By default the current user's username will be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -L
+-&#8962;RS 4
++.RS 4
+ Lists all quota records of the share.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -F
+-&#8962;RS 4
++.RS 4
+ Show the share quota status and default limits.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S QUOTA_SET_COMMAND
+-&#8962;RS 4
++.RS 4
+ This command sets/modifies quotas for a user or on the share, depending on the QUOTA_SET_COMMAND parameter which is described later.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n
+-&#8962;RS 4
++.RS 4
+ This option displays all QUOTA information in numeric format. The default is to convert SIDs to names and QUOTA limits to a readable string format.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t
+-&#8962;RS 4
++.RS 4
+ Don't actually do anything, only validate the correctness of the arguments.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v
+-&#8962;RS 4
++.RS 4
+ Be verbose.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -N
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password.
+-&#8962;sp
++.sp
+ Unless a password is specified on the command line or this parameter is specified, the client will request a password.
+-&#8962;sp
++.sp
+ If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -k
+-&#8962;RS 4
++.RS 4
+ Try to authenticate with kerberos. Only useful in an Active Directory environment.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -A|--authentication-file=filename
+-&#8962;RS 4
++.RS 4
+ This option allows you to specify a file from which to read the username and password used in the connection. The format of the file is
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -142,65 +142,65 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Make certain that the permissions on the file restrict access from unwanted users.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U|--user=username[%password]
+-&#8962;RS 4
++.RS 4
+ Sets the SMB username or username and password.
+-&#8962;sp
++.sp
+ If %password is not specified, the user will be prompted. The client will first check the
+-&#9619;fBUSER&#9619;fR
++\fBUSER\fR
+ environment variable, then the
+-&#9619;fBLOGNAME&#9619;fR
++\fBLOGNAME\fR
+ variable and if either exists, the string is uppercased. If these environmental variables are not found, the username
+-&#9619;fBGUEST&#9619;fR
++\fBGUEST\fR
+ is used.
+-&#8962;sp
++.sp
+ A third option is to use a credentials file which contains the plaintext of the username and password. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the
+-&#9619;fI-A&#9619;fR
++\fI-A\fR
+ for more details.
+-&#8962;sp
++.sp
+ Be cautious about including passwords in scripts. Also, on many systems the command line of a running process may be seen via the
+ ps
+ command. To be safe always allow
+ rpcclient
+ to prompt for a password and type it in directly.
+-&#8962;RE
+-&#8962;SH "QUOTA_SET_COMAND"
+-&#8962;PP
++.RE
++.SH "QUOTA_SET_COMAND"
++.PP
+ The format of an the QUOTA_SET_COMMAND is an operation name followed by a set of parameters specific to that operation.
+-&#8962;PP
++.PP
+ To set user quotas for the user specified by -u or for the current username:
+-&#8962;PP
+-&#9619;fB UQLIM:<username>:<softlimit>/<hardlimit> &#9619;fR
+-&#8962;PP
++.PP
++\fB UQLIM:<username>:<softlimit>/<hardlimit> \fR
++.PP
+ To set the default quotas for a share:
+-&#8962;PP
+-&#9619;fB FSQLIM:<softlimit>/<hardlimit> &#9619;fR
+-&#8962;PP
++.PP
++\fB FSQLIM:<softlimit>/<hardlimit> \fR
++.PP
+ To change the share quota settings:
+-&#8962;PP
+-&#9619;fB FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT &#9619;fR
+-&#8962;PP
++.PP
++\fB FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT \fR
++.PP
+ All limits are specified as a number of bytes.
+-&#8962;SH "EXIT STATUS"
+-&#8962;PP
++.SH "EXIT STATUS"
++.PP
+ The
+ smbcquotas
+ program sets the exit status depending on the success or otherwise of the operations performed. The exit status may be one of the following values.
+-&#8962;PP
++.PP
+ If the operation succeeded, smbcquotas returns an exit status of 0. If
+ smbcquotas
+ couldn't connect to the specified server, or when there was an error getting or setting the quota(s), an exit status of 1 is returned. If there was an error parsing any command line arguments, an exit status of 2 is returned.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ smbcquotas
+ was written by Stefan Metzmacher.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbd.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbd.8
++++ samba-3.2.0~pre2/docs/manpages/smbd.8
+@@ -18,45 +18,45 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBD" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbd - server to provide SMB/CIFS services to clients
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbd [-D] [-F] [-S] [-i] [-h] [-V] [-b] [-d&#9600;<debug&#9600;level>] [-l&#9600;<log&#9600;directory>] [-p&#9600;<port&#9600;number(s)>] [-P&#9600;<profiling&#9600;level>] [-O&#9600;<socket&#9600;option>] [-s&#9600;<configuration&#9600;file>]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbd [-D] [-F] [-S] [-i] [-h] [-V] [-b] [-d <debug level>] [-l <log directory>] [-p <port number(s)>] [-P <profiling level>] [-O <socket option>] [-s <configuration file>]
++.SH "DESCRIPTION"
++.PP
+ This program is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbd
+ is the server daemon that provides filesharing and printing services to Windows clients. The server provides filespace and printer services to clients using the SMB (or CIFS) protocol. This is compatible with the LanManager protocol, and can service LanManager clients. These include MSCLIENT 3.0 for DOS, Windows for Workgroups, Windows 95/98/ME, Windows NT, Windows 2000, OS/2, DAVE for Macintosh, and smbfs for Linux.
+-&#8962;PP
++.PP
+ An extensive description of the services that the server can provide is given in the man page for the configuration file controlling the attributes of those services (see
+-&#9619;fBsmb.conf&#9619;fR(5). This man page will not describe the services, but will concentrate on the administrative aspects of running the server.
+-&#8962;PP
++\fBsmb.conf\fR(5). This man page will not describe the services, but will concentrate on the administrative aspects of running the server.
++.PP
+ Please note that there are significant security implications to running this server, and the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ manual page should be regarded as mandatory reading before proceeding with installation.
+-&#8962;PP
++.PP
+ A session is created whenever a client requests one. Each client gets a copy of the server for each session. This copy then services all connections made by the client during that session. When all connections from its client are closed, the copy of the server for that client terminates.
+-&#8962;PP
++.PP
+ The configuration file, and any files that it includes, are automatically reloaded every minute, if they change. You can force a reload by sending a SIGHUP to the server. Reloading the configuration file will not affect connections to any service that is already established. Either the user will have to disconnect from the service, or
+ smbd
+ killed and restarted.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -D
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes the server to operate as a daemon. That is, it detaches itself and runs in the background, fielding requests on the appropriate port. Operating the server as a daemon is the recommended way of running
+ smbd
+ for servers that provide more than casual use file and print services. This switch is assumed if
+ smbd
+ is executed on the command line of a shell.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -F
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes the main
+ smbd
+ process to not daemonize, i.e. double-fork and disassociate with the terminal. Child processes are still created as normal to service each connection request, but the main process does not exit. This operation mode is suitable for running
+@@ -68,267 +68,267 @@
+ from Daniel J. Bernstein's
+ daemontools
+ package, or the AIX process monitor.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes
+ smbd
+ to log to standard output rather than a file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit deamon mode when run from the command line.
+ smbd
+ also logs to standard output, as if the
+ -S
+ parameter had been given.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b
+-&#8962;RS 4
++.RS 4
+ Prints information about how Samba was built.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p|--port<port number(s)>
+-&#8962;RS 4
+-&#9619;fIport number(s)&#9619;fR
++.RS 4
++\fIport number(s)\fR
+ is a space or comma-separated list of TCP ports smbd should listen on. The default value is taken from the
+ ports parameter in
+-&#9619;fIsmb.conf&#9619;fR
+-&#8962;sp
++\fIsmb.conf\fR
++.sp
+ The default ports are 139 (used for SMB over NetBIOS over TCP) and port 445 (used for plain SMB over TCP).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P|--profiling-level<profiling level>
+-&#8962;RS 4
+-&#9619;fIprofiling level&#9619;fR
++.RS 4
++\fIprofiling level\fR
+ is a number specifying the level of profiling data to be collected. 0 turns off profiling, 1 turns on counter profiling only, 2 turns on complete profiling, and 3 resets all profiling data.
+-&#8962;RE
+-&#8962;SH "FILES"
+-&#8962;PP
+-&#9619;fI/etc/inetd.conf&#9619;fR
+-&#8962;RS 4
++.RE
++.SH "FILES"
++.PP
++\fI/etc/inetd.conf\fR
++.RS 4
+ If the server is to be run by the
+ inetd
+ meta-daemon, this file must contain suitable startup information for the meta-daemon.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/etc/rc&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/etc/rc\fR
++.RS 4
+ or whatever initialization script your system uses).
+-&#8962;sp
++.sp
+ If running the server as a daemon at startup, this file will need to contain an appropriate startup sequence for the server.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/etc/services&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/etc/services\fR
++.RS 4
+ If running the server via the meta-daemon
+ inetd, this file must contain a mapping of service name (e.g., netbios-ssn) to service port (e.g., 139) and protocol type (e.g., tcp).
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/usr/local/samba/lib/smb.conf&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/usr/local/samba/lib/smb.conf\fR
++.RS 4
+ This is the default location of the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ server configuration file. Other common places that systems install this file are
+-&#9619;fI/usr/samba/lib/smb.conf&#9619;fR
++\fI/usr/samba/lib/smb.conf\fR
+ and
+-&#9619;fI/etc/samba/smb.conf&#9619;fR.
+-&#8962;sp
++\fI/etc/samba/smb.conf\fR.
++.sp
+ This file describes all the services the server is to make available to clients. See
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ for more information.
+-&#8962;RE
+-&#8962;SH "LIMITATIONS"
+-&#8962;PP
++.RE
++.SH "LIMITATIONS"
++.PP
+ On some systems
+ smbd
+ cannot change uid back to root after a setuid() call. Such systems are called trapdoor uid systems. If you have such a system, you will be unable to connect from a client (such as a PC) as two different users at once. Attempts to connect the second user will result in access denied or similar.
+-&#8962;SH "ENVIRONMENT VARIABLES"
+-&#8962;PP
+-&#9619;fBPRINTER&#9619;fR
+-&#8962;RS 4
++.SH "ENVIRONMENT VARIABLES"
++.PP
++\fBPRINTER\fR
++.RS 4
+ If no printer name is specified to printable services, most systems will use the value of this variable (or
+-&#9619;fBlp&#9619;fR
++\fBlp\fR
+ if this variable is not defined) as the name of the printer to use. This is not specific to the server, however.
+-&#8962;RE
+-&#8962;SH "PAM INTERACTION"
+-&#8962;PP
++.RE
++.SH "PAM INTERACTION"
++.PP
+ Samba uses PAM for authentication (when presented with a plaintext password), for account checking (is this account disabled?) and for session management. The degree too which samba supports PAM is restricted by the limitations of the SMB protocol and the
+ obey pam restrictions
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ paramater. When this is set, the following restrictions apply:
+ \(bu
+ \fBAccount Validation\fR: All accesses to a samba server are checked against PAM to see if the account is vaild, not disabled and is permitted to login at this time. This also applies to encrypted logins.
+ .TP
+ \(bu
+ \fBSession Management\fR: When not using share level secuirty, users must pass PAM's session checks before access is granted. Note however, that this is bypassed in share level secuirty. Note also that some older pam configuration files may need a line added for session support.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "DIAGNOSTICS"
+-&#8962;PP
++.SH "DIAGNOSTICS"
++.PP
+ Most diagnostics issued by the server are logged in a specified log file. The log file name is specified at compile time, but may be overridden on the command line.
+-&#8962;PP
++.PP
+ The number and nature of diagnostics available depends on the debug level used by the server. If you have problems, set the debug level to 3 and peruse the log files.
+-&#8962;PP
++.PP
+ Most messages are reasonably self-explanatory. Unfortunately, at the time this man page was created, there are too many diagnostics available in the source code to warrant describing each and every diagnostic. At this stage your best bet is still to grep the source code and inspect the conditions that gave rise to the diagnostics you are seeing.
+-&#8962;SH "TDB FILES"
+-&#8962;PP
++.SH "TDB FILES"
++.PP
+ Samba stores it's data in several TDB (Trivial Database) files, usually located in
+-&#9619;fI/var/lib/samba&#9619;fR.
+-&#8962;PP
++\fI/var/lib/samba\fR.
++.PP
+ (*) information persistent across restarts (but not necessarily important to backup).
+-&#8962;PP
++.PP
+ account_policy.tdb*
+-&#8962;RS 4
++.RS 4
+ NT account policy settings such as pw expiration, etc...
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ brlock.tdb
+-&#8962;RS 4
++.RS 4
+ byte range locks
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ browse.dat
+-&#8962;RS 4
++.RS 4
+ browse lists
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ connections.tdb
+-&#8962;RS 4
++.RS 4
+ share connections (used to enforce max connections, etc...)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ gencache.tdb
+-&#8962;RS 4
++.RS 4
+ generic caching db
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ group_mapping.tdb*
+-&#8962;RS 4
++.RS 4
+ group mapping information
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ locking.tdb
+-&#8962;RS 4
++.RS 4
+ share modes & oplocks
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ login_cache.tdb*
+-&#8962;RS 4
++.RS 4
+ bad pw attempts
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ messages.tdb
+-&#8962;RS 4
++.RS 4
+ Samba messaging system
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ netsamlogon_cache.tdb*
+-&#8962;RS 4
++.RS 4
+ cache of user net_info_3 struct from net_samlogon() request (as a domain member)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ntdrivers.tdb*
+-&#8962;RS 4
++.RS 4
+ installed printer drivers
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ntforms.tdb*
+-&#8962;RS 4
++.RS 4
+ installed printer forms
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ntprinters.tdb*
+-&#8962;RS 4
++.RS 4
+ installed printer information
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ printing/
+-&#8962;RS 4
++.RS 4
+ directory containing tdb per print queue of cached lpq output
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ registry.tdb
+-&#8962;RS 4
++.RS 4
+ Windows registry skeleton (connect via regedit.exe)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ sessionid.tdb
+-&#8962;RS 4
++.RS 4
+ session information (e.g. support for 'utmp = yes')
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ share_info.tdb*
+-&#8962;RS 4
++.RS 4
+ share acls
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ winbindd_cache.tdb
+-&#8962;RS 4
++.RS 4
+ winbindd's cache of user lists, etc...
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ winbindd_idmap.tdb*
+-&#8962;RS 4
++.RS 4
+ winbindd's local idmap db
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ wins.dat*
+-&#8962;RS 4
++.RS 4
+ wins database when 'wins support = yes'
+-&#8962;RE
+-&#8962;SH "SIGNALS"
+-&#8962;PP
++.RE
++.SH "SIGNALS"
++.PP
+ Sending the
+ smbd
+ a SIGHUP will cause it to reload its
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ configuration file within a short period of time.
+-&#8962;PP
++.PP
+ To shut down a user's
+ smbd
+ process it is recommended that
+@@ -337,33 +337,33 @@
+ be used, except as a last resort, as this may leave the shared memory area in an inconsistent state. The safe way to terminate an
+ smbd
+ is to send it a SIGTERM (-15) signal and wait for it to die on its own.
+-&#8962;PP
++.PP
+ The debug log level of
+ smbd
+ may be raised or lowered using
+-&#9619;fBsmbcontrol&#9619;fR(1)
++\fBsmbcontrol\fR(1)
+ program (SIGUSR[1|2] signals are no longer used since Samba 2.2). This is to allow transient problems to be diagnosed, whilst still running at a normally low log level.
+-&#8962;PP
++.PP
+ Note that as the signal handlers send a debug write, they are not re-entrant in
+ smbd. This you should wait until
+ smbd
+ is in a state of waiting for an incoming SMB before issuing them. It is possible to make the signal handlers safe by un-blocking the signals before the select call and re-blocking them after, however this would affect performance.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBhosts_access&#9619;fR(5),
+-&#9619;fBinetd&#9619;fR(8),
+-&#9619;fBnmbd&#9619;fR(8),
+-&#9619;fBsmb.conf&#9619;fR(5),
+-&#9619;fBsmbclient&#9619;fR(1),
+-&#9619;fBtestparm&#9619;fR(1),
+-&#9619;fBtestprns&#9619;fR(1), and the Internet RFC's
+-&#9619;fIrfc1001.txt&#9619;fR,
+-&#9619;fIrfc1002.txt&#9619;fR. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
++.SH "SEE ALSO"
++.PP
++\fBhosts_access\fR(5),
++\fBinetd\fR(8),
++\fBnmbd\fR(8),
++\fBsmb.conf\fR(5),
++\fBsmbclient\fR(1),
++\fBtestparm\fR(1),
++\fBtestprns\fR(1), and the Internet RFC's
++\fIrfc1001.txt\fR,
++\fIrfc1002.txt\fR. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
+ http://samba.org/cifs/.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbget.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbget.1
++++ samba-3.2.0~pre2/docs/manpages/smbget.1
+@@ -18,113 +18,113 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBGET" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbget - wget-like utility for download files over SMB
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbget [-a,&#9600;--guest] [-r,&#9600;--resume] [-R,&#9600;--recursive] [-u,&#9600;--username=STRING] [-p,&#9600;--password=STRING] [-w,&#9600;--workgroup=STRING] [-n,&#9600;--nonprompt] [-d,&#9600;--debuglevel=INT] [-D,&#9600;--dots] [-P,&#9600;--keep-permissions] [-o,&#9600;--outputfile] [-f,&#9600;--rcfile] [-q,&#9600;--quiet] [-v,&#9600;--verbose] [-b,&#9600;--blocksize] [-?,&#9600;--help] [--usage] {smb://host/share/path/to/file} [smb://url2/] [...]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbget [-a, --guest] [-r, --resume] [-R, --recursive] [-u, --username=STRING] [-p, --password=STRING] [-w, --workgroup=STRING] [-n, --nonprompt] [-d, --debuglevel=INT] [-D, --dots] [-P, --keep-permissions] [-o, --outputfile] [-f, --rcfile] [-q, --quiet] [-v, --verbose] [-b, --blocksize] [-?, --help] [--usage] {smb://host/share/path/to/file} [smb://url2/] [...]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbget is a simple utility with wget-like semantics, that can download files from SMB servers. You can specify the files you would like to download on the command-line.
+-&#8962;PP
++.PP
+ The files should be in the smb-URL standard, e.g. use smb://host/share/file for the UNC path
+ \fB\\\\HOST\\SHARE\\file\fR.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -a, --guest
+-&#8962;RS 4
++.RS 4
+ Work as user guest
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -r, --resume
+-&#8962;RS 4
++.RS 4
+ Automatically resume aborted files
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -R, --recursive
+-&#8962;RS 4
++.RS 4
+ Recursively download files
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -u, --username=STRING
+-&#8962;RS 4
++.RS 4
+ Username to use
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p, --password=STRING
+-&#8962;RS 4
++.RS 4
+ Password to use
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -w, --workgroup=STRING
+-&#8962;RS 4
++.RS 4
+ Workgroup to use (optional)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n, --nonprompt
+-&#8962;RS 4
++.RS 4
+ Don't ask anything (non-interactive)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d, --debuglevel=INT
+-&#8962;RS 4
++.RS 4
+ Debuglevel to use
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D, --dots
+-&#8962;RS 4
++.RS 4
+ Show dots as progress indication
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P, --keep-permissions
+-&#8962;RS 4
++.RS 4
+ Set same permissions on local file as are set on remote file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -o, --outputfile
+-&#8962;RS 4
++.RS 4
+ Write the file that is being download to the specified file. Can not be used together with -R.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -f, --rcfile
+-&#8962;RS 4
++.RS 4
+ Use specified rcfile. This will be loaded in the order it was specified - e.g. if you specify any options before this one, they might get overriden by the contents of the rcfile.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -q, --quiet
+-&#8962;RS 4
++.RS 4
+ Be quiet
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v, --verbose
+-&#8962;RS 4
++.RS 4
+ Be verbose
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b, --blocksize
+-&#8962;RS 4
++.RS 4
+ Number of bytes to download in a block. Defaults to 64000.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -?, --help
+-&#8962;RS 4
++.RS 4
+ Show help message
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --usage
+-&#8962;RS 4
++.RS 4
+ Display brief usage message
+-&#8962;RE
+-&#8962;SH "SMB URLS"
+-&#8962;PP
++.RE
++.SH "SMB URLS"
++.PP
+ SMB URL's should be specified in the following format:
+-&#8962;PP
++.PP
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -132,9 +132,9 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -142,17 +142,17 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-smb://name/ means, if &#9619;fIname&#9619;fR is a workgroup, all the servers in this workgroup, or if &#9619;fIname&#9619;fR is a server, all the shares on this server.
++smb://name/ means, if \fIname\fR is a workgroup, all the servers in this workgroup, or if \fIname\fR is a server, all the shares on this server.
+ 
+ .fi
+ 
+-&#8962;SH "EXAMPLES"
++.SH "EXAMPLES"
+ 
+ .nf
+ 
+@@ -166,15 +166,15 @@
+ smbget -Rr smb://rhonwyn/
+ 
+ .fi
+-&#8962;SH "BUGS"
+-&#8962;PP
++.SH "BUGS"
++.PP
+ Permission denied is returned in some cases where the cause of the error is unknown (such as an illegally formatted smb:// url or trying to get a directory without -R turned on).
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The smbget manpage was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbgetrc.5
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbgetrc.5
++++ samba-3.2.0~pre2/docs/manpages/smbgetrc.5
+@@ -18,80 +18,80 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBGETRC" 5 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbgetrc - configuration file for smbget
+-&#8962;SH "SYNOPSIS"
+-&#8962;PP
+-&#9619;fIsmbgetrc&#9619;fR
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.PP
++\fIsmbgetrc\fR
++.SH "DESCRIPTION"
++.PP
+ This manual page documents the format and options of the
+ \fBsmbgetrc\fR
+ file. This is the configuration file used by the
+-&#9619;fBsmbget&#9619;fR(1)
++\fBsmbget\fR(1)
+ utility. The file contains of key-value pairs, one pair on each line. The key and value should be separated by a space.
+-&#8962;PP
++.PP
+ By default, smbget reads its configuration from
+ \fB$HOME/.smbgetrc\fR, though other locations can be specified using the command-line options.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ The following keys can be set:
+-&#8962;PP
++.PP
+ resume on|off
+-&#8962;RS 4
++.RS 4
+ Whether aborted downloads should be automatically resumed.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recursive on|off
+-&#8962;RS 4
++.RS 4
+ Whether directories should be downloaded recursively
+-&#8962;RE
+-&#8962;PP
+-username &#9619;fIname&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++username \fIname\fR
++.RS 4
+ Username to use when logging in to the remote server. Use an empty string for anonymous access.
+-&#8962;RE
+-&#8962;PP
+-password &#9619;fIpass&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++password \fIpass\fR
++.RS 4
+ Password to use when logging in.
+-&#8962;RE
+-&#8962;PP
+-workgroup &#9619;fIwg&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++workgroup \fIwg\fR
++.RS 4
+ Workgroup to use when logging in
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nonprompt on|off
+-&#8962;RS 4
++.RS 4
+ Turns off asking for username and password. Useful for scripts.
+-&#8962;RE
+-&#8962;PP
+-debuglevel &#9619;fIint&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++debuglevel \fIint\fR
++.RS 4
+ (Samba) debuglevel to run at. Useful for tracking down protocol level problems.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dots on|off
+-&#8962;RS 4
++.RS 4
+ Whether a single dot should be printed for each block that has been downloaded, instead of the default progress indicator.
+-&#8962;RE
+-&#8962;PP
+-blocksize &#9619;fIint&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++blocksize \fIint\fR
++.RS 4
+ Number of bytes to put in a block.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbget&#9619;fR(1)
++.SH "SEE ALSO"
++.PP
++\fBsmbget\fR(1)
+ and
+-&#9619;fBSamba&#9619;fR(7).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBSamba\fR(7).
++.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.
+-&#8962;PP
++.PP
+ This manual page was written by Jelmer Vernooij
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbmnt.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbmnt.8
++++ samba-3.2.0~pre2/docs/manpages/smbmnt.8
+@@ -18,66 +18,66 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBMNT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbmnt - helper utility for mounting SMB filesystems
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbmnt {mount-point} [-s&#9600;<share>] [-r] [-u&#9600;<uid>] [-g&#9600;<gid>] [-f&#9600;<mask>] [-d&#9600;<mask>] [-o&#9600;<options>] [-h]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbmnt {mount-point} [-s <share>] [-r] [-u <uid>] [-g <gid>] [-f <mask>] [-d <mask>] [-o <options>] [-h]
++.SH "DESCRIPTION"
++.PP
+ smbmnt
+ is a helper application used by the smbmount program to do the actual mounting of SMB shares.
+ smbmnt
+ can be installed setuid root if you want normal users to be able to mount their SMB shares.
+-&#8962;PP
++.PP
+ A setuid smbmnt will only allow mounts on directories owned by the user, and that the user has write permission on.
+-&#8962;PP
++.PP
+ The
+ smbmnt
+ program is normally invoked by
+-&#9619;fBsmbmount&#9619;fR(8). It should not be invoked directly by users.
+-&#8962;PP
++\fBsmbmount\fR(8). It should not be invoked directly by users.
++.PP
+ smbmount searches the normal PATH for smbmnt. You must ensure that the smbmnt version in your path matches the smbmount used.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -r
+-&#8962;RS 4
++.RS 4
+ mount the filesystem read-only
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -u uid
+-&#8962;RS 4
++.RS 4
+ specify the uid that the files will be owned by
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -g gid
+-&#8962;RS 4
++.RS 4
+ specify the gid that the files will be owned by
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -f mask
+-&#8962;RS 4
++.RS 4
+ specify the octal file mask applied
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d mask
+-&#8962;RS 4
++.RS 4
+ specify the octal directory mask applied
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -o options
+-&#8962;RS 4
++.RS 4
+ list of options that are passed as-is to smbfs, if this command is run on a 2.4 or higher Linux kernel.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.RE
++.SH "AUTHOR"
++.PP
+ Volker Lendecke, Andrew Tridgell, Michael H. Warfield and others.
+-&#8962;PP
++.PP
+ The current maintainer of smbfs and the userspace tools
+ smbmount,
+ smbumount, and
+@@ -86,6 +86,6 @@
+ Urban Widmark. The
+ SAMBA Mailing list
+ is the preferred place to ask questions regarding these programs.
+-&#8962;PP
++.PP
+ The conversion of this manpage for Samba 2.2 was performed by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbmount.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbmount.8
++++ samba-3.2.0~pre2/docs/manpages/smbmount.8
+@@ -18,76 +18,76 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBMOUNT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbmount - mount an smbfs filesystem
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbmount {service} {mount-point} [-o&#9600;options]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbmount {service} {mount-point} [-o options]
++.SH "DESCRIPTION"
++.PP
+ smbmount
+ mounts a Linux SMB filesystem. It is usually invoked as
+ mount.smbfs
+ by the
+-&#9619;fBmount&#9619;fR(8)
++\fBmount\fR(8)
+ command when using the "-t smbfs" option. This command only works in Linux, and the kernel must support the smbfs filesystem.
+-&#8962;PP
++.PP
+ WARNING:
+ smbmount
+ is deprecated and not maintained any longer.
+ mount.cifs
+ (mount -t cifs) should be used instead of
+ smbmount.
+-&#8962;PP
++.PP
+ Options to
+ smbmount
+ are specified as a comma-separated list of key=value pairs. It is possible to send options other than those listed here, assuming that smbfs supports them. If you get mount failures, check your kernel log for errors on unknown options.
+-&#8962;PP
++.PP
+ smbmount
+ is a daemon. After mounting it keeps running until the mounted smbfs is umounted. It will log things that happen when in daemon mode using the "machine name" smbmount, so typically this output will end up in
+-&#9619;fIlog.smbmount&#9619;fR. The
++\fIlog.smbmount\fR. The
+ smbmount
+ process may also be called mount.smbfs.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ 
+ smbmount
+ calls
+-&#9619;fBsmbmnt&#9619;fR(8)
++\fBsmbmnt\fR(8)
+ to do the actual mount. You must make sure that
+ smbmnt
+ is in the path so that it can be found.
+ 
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ username=<arg>
+-&#8962;RS 4
++.RS 4
+ specifies the username to connect as. If this is not given, then the environment variable
+-&#9619;fB USER&#9619;fR
++\fB USER\fR
+ is used. This option can also take the form "user%password" or "user/workgroup" or "user/workgroup%password" to allow the password and workgroup to be specified as part of the username.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ password=<arg>
+-&#8962;RS 4
++.RS 4
+ specifies the SMB password. If this option is not given then the environment variable
+ PASSWD
+ is used. If it can find no password
+ smbmount
+ will prompt for a password, unless the guest option is given.
+-&#8962;sp
++.sp
+ Note that passwords which contain the argument delimiter character (i.e. a comma ',') will failed to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or a credentials file (see below) will be read correctly.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ credentials=<filename>
+-&#8962;RS 4
++.RS 4
+ specifies a file that contains a username and/or password. The format of the file is:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -96,118 +96,118 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ This is preferred over having passwords in plaintext in a shared file, such as
+-&#9619;fI/etc/fstab&#9619;fR. Be sure to protect any credentials file properly.
+-&#8962;RE
+-&#8962;PP
++\fI/etc/fstab\fR. Be sure to protect any credentials file properly.
++.RE
++.PP
+ krb
+-&#8962;RS 4
++.RS 4
+ Use kerberos (Active Directory).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ netbiosname=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the source NetBIOS name. It defaults to the local hostname.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ uid=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the uid that will own all files on the mounted filesystem. It may be specified as either a username or a numeric uid.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ gid=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the gid that will own all files on the mounted filesystem. It may be specified as either a groupname or a numeric gid.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ port=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the remote SMB port number. The default is 445, fallback is 139.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ fmask=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the file mask. This determines the permissions that remote files have in the local filesystem. This is not a umask, but the actual permissions for the files. The default is based on the current umask.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ dmask=<arg>
+-&#8962;RS 4
++.RS 4
+ Sets the directory mask. This determines the permissions that remote directories have in the local filesystem. This is not a umask, but the actual permissions for the directories. The default is based on the current umask.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ debug=<arg>
+-&#8962;RS 4
++.RS 4
+ Sets the debug level. This is useful for tracking down SMB connection problems. A suggested value to start with is 4. If set too high there will be a lot of output, possibly hiding the useful output.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ip=<arg>
+-&#8962;RS 4
++.RS 4
+ Sets the destination host or IP address.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ workgroup=<arg>
+-&#8962;RS 4
++.RS 4
+ Sets the workgroup on the destination
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ sockopt=<arg>
+-&#8962;RS 4
++.RS 4
+ Sets the TCP socket options. See the
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#9619;fIsocket options&#9619;fR
++\fBsmb.conf\fR(5)
++\fIsocket options\fR
+ option.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ scope=<arg>
+-&#8962;RS 4
++.RS 4
+ Sets the NetBIOS scope
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ guest
+-&#8962;RS 4
++.RS 4
+ Don't prompt for a password
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ro
+-&#8962;RS 4
++.RS 4
+ mount read-only
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ rw
+-&#8962;RS 4
++.RS 4
+ mount read-write
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ iocharset=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the charset used by the Linux side for codepage to charset translations (NLS). Argument should be the name of a charset, like iso8859-1. (Note: only kernel 2.4.0 or later)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ codepage=<arg>
+-&#8962;RS 4
++.RS 4
+ sets the codepage the server uses. See the iocharset option. Example value cp850. (Note: only kernel 2.4.0 or later)
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ ttl=<arg>
+-&#8962;RS 4
++.RS 4
+ sets how long a directory listing is cached in milliseconds (also affects visibility of file size and date changes). A higher value means that changes on the server take longer to be noticed but it can give better performance on large directories, especially over long distances. Default is 1000ms but something like 10000ms (10 seconds) is probably more reasonable in many cases. (Note: only kernel 2.4.2 or later)
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT VARIABLES"
+-&#8962;PP
++.RE
++.SH "ENVIRONMENT VARIABLES"
++.PP
+ The variable
+-&#9619;fBUSER&#9619;fR
++\fBUSER\fR
+ may contain the username of the person using the client. This information is used only if the protocol level is high enough to support session-level passwords. The variable can be used to set both username and password by using the format username%password.
+-&#8962;PP
++.PP
+ The variable
+-&#9619;fBPASSWD&#9619;fR
++\fBPASSWD\fR
+ may contain the password of the person using the client. This information is used only if the protocol level is high enough to support session-level passwords.
+-&#8962;PP
++.PP
+ The variable
+-&#9619;fBPASSWD_FILE&#9619;fR
++\fBPASSWD_FILE\fR
+ may contain the pathname of a file to read the password from. A single line of input is read and used as the password.
+-&#8962;SH "OTHER COMMANDS"
+-&#8962;PP
++.SH "OTHER COMMANDS"
++.PP
+ File systems that have been mounted using the
+ smbmount
+ can be unmounted using the
+@@ -215,30 +215,30 @@
+ or the UNIX system
+ umount
+ command.
+-&#8962;SH "BUGS"
+-&#8962;PP
++.SH "BUGS"
++.PP
+ Passwords and other options containing , can not be handled. For passwords an alternative way of passing them is in a credentials file or in the PASSWD environment.
+-&#8962;PP
++.PP
+ The credentials file does not handle usernames or passwords with leading space.
+-&#8962;PP
++.PP
+ One smbfs bug is important enough to mention here, even if it is a bit misplaced:
+ \(bu
+ Mounts sometimes stop working. This is usually caused by smbmount terminating. Since smbfs needs smbmount to reconnect when the server disconnects, the mount will eventually go dead. An umount/mount normally fixes this. At least 2 ways to trigger this bug are known.
+-&#8962;PP
++.PP
+ Note that the typical response to a bug report is suggestion to try the latest version first. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: samba, kernel, distribution)
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ Documentation/filesystems/smbfs.txt in the linux kernel source tree may contain additional options and information.
+-&#8962;PP
++.PP
+ FreeBSD also has a smbfs, but it is not related to smbmount
+-&#8962;PP
++.PP
+ For Solaris, HP-UX and others you may want to look at
+-&#9619;fBsmbsh&#9619;fR(1)
++\fBsmbsh\fR(1)
+ or at other solutions, such as Sharity or perhaps replacing the SMB server with a NFS server.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "AUTHOR"
++.PP
+ Volker Lendecke, Andrew Tridgell, Michael H. Warfield and others.
+-&#8962;PP
++.PP
+ The current maintainer of smbfs and the userspace tools
+ smbmount,
+ smbumount, and
+@@ -247,6 +247,6 @@
+ Urban Widmark. The
+ SAMBA Mailing list
+ is the preferred place to ask questions regarding these programs.
+-&#8962;PP
++.PP
+ The conversion of this manpage for Samba 2.2 was performed by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbpasswd.5
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbpasswd.5
++++ samba-3.2.0~pre2/docs/manpages/smbpasswd.5
+@@ -18,63 +18,63 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBPASSWD" 5 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbpasswd - The Samba encrypted password file
+-&#8962;SH "SYNOPSIS"
+-&#8962;PP
+-&#9619;fIsmbpasswd&#9619;fR
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.PP
++\fIsmbpasswd\fR
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbpasswd is the Samba encrypted password file. It contains the username, Unix user id and the SMB hashed passwords of the user, as well as account flag information and the time the password was last changed. This file format has been evolving with Samba and has had several different formats in the past.
+-&#8962;SH "FILE FORMAT"
+-&#8962;PP
++.SH "FILE FORMAT"
++.PP
+ The format of the smbpasswd file used by Samba 2.2 is very similar to the familiar Unix
+-&#9619;fIpasswd(5)&#9619;fR
++\fIpasswd(5)\fR
+ file. It is an ASCII file containing one line for each user. Each field ithin each line is separated from the next by a colon. Any entry beginning with '#' is ignored. The smbpasswd file contains the following information for each user:
+-&#8962;PP
++.PP
+ name
+-&#8962;RS 4
++.RS 4
+ This is the user name. It must be a name that already exists in the standard UNIX passwd file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ uid
+-&#8962;RS 4
++.RS 4
+ This is the UNIX uid. It must match the uid field for the same user entry in the standard UNIX passwd file. If this does not match then Samba will refuse to recognize this smbpasswd file entry as being valid for a user.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ Lanman Password Hash
+-&#8962;RS 4
++.RS 4
+ This is the LANMAN hash of the user's password, encoded as 32 hex digits. The LANMAN hash is created by DES encrypting a well known string with the user's password as the DES key. This is the same password used by Windows 95/98 machines. Note that this password hash is regarded as weak as it is vulnerable to dictionary attacks and if two users choose the same password this entry will be identical (i.e. the password is not "salted" as the UNIX password is). If the user has a null password this field will contain the characters "NO PASSWORD" as the start of the hex string. If the hex string is equal to 32 'X' characters then the user's account is marked as
+-&#9619;fBdisabled&#9619;fR
++\fBdisabled\fR
+ and the user will not be able to log onto the Samba server.
+-&#8962;sp
++.sp
+ \fBWARNING !!\fR
+ Note that, due to the challenge-response nature of the SMB/CIFS authentication protocol, anyone with a knowledge of this password hash will be able to impersonate the user on the network. For this reason these hashes are known as
+ \fBplain text equivalents\fR
+ and must
+ \fBNOT\fR
+ be made available to anyone but the root user. To protect these passwords the smbpasswd file is placed in a directory with read and traverse access only to the root user and the smbpasswd file itself must be set to be read/write only by root, with no other access.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ NT Password Hash
+-&#8962;RS 4
++.RS 4
+ This is the Windows NT hash of the user's password, encoded as 32 hex digits. The Windows NT hash is created by taking the user's password as represented in 16-bit, little-endian UNICODE and then applying the MD4 (internet rfc1321) hashing algorithm to it.
+-&#8962;sp
++.sp
+ This password hash is considered more secure than the LANMAN Password Hash as it preserves the case of the password and uses a much higher quality hashing algorithm. However, it is still the case that if two users choose the same password this entry will be identical (i.e. the password is not "salted" as the UNIX password is).
+-&#8962;sp
++.sp
+ \fBWARNING !!\fR. Note that, due to the challenge-response nature of the SMB/CIFS authentication protocol, anyone with a knowledge of this password hash will be able to impersonate the user on the network. For this reason these hashes are known as
+ \fBplain text equivalents\fR
+ and must
+ \fBNOT\fR
+ be made available to anyone but the root user. To protect these passwords the smbpasswd file is placed in a directory with read and traverse access only to the root user and the smbpasswd file itself must be set to be read/write only by root, with no other access.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ Account Flags
+-&#8962;RS 4
++.RS 4
+ This section contains flags that describe the attributes of the users account. This field is bracketed by '[' and ']' characters and is always 13 characters in length (including the '[' and ']' characters). The contents of this field may be any of the following characters:
+ \(bu
+ \fBU\fR
+@@ -83,9 +83,9 @@
+ \(bu
+ \fBN\fR
+ - This means the account has no password (the passwords in the fields LANMAN Password Hash and NT Password Hash are ignored). Note that this will only allow users to log on with no password if the
+-&#9619;fI null passwords&#9619;fR
++\fI null passwords\fR
+ parameter is set in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ config file.
+ .TP
+ \(bu
+@@ -99,29 +99,29 @@
+ \(bu
+ \fBW\fR
+ - This means this account is a "Workstation Trust" account. This kind of account is used in the Samba PDC code stream to allow Windows NT Workstations and Servers to join a Domain hosted by a Samba PDC.
+-&#8962;IP "" 4
++.IP "" 4
+ Other flags may be added as the code is extended in future. The rest of this field space is filled in with spaces. For further information regarding the flags that are supported please refer to the man page for the
+ pdbedit
+ command.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ Last Change Time
+-&#8962;RS 4
++.RS 4
+ This field consists of the time the account was last modified. It consists of the characters 'LCT-' (standing for "Last Change Time") followed by a numeric encoding of the UNIX time in seconds since the epoch (1970) that the last change was made.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ All other colon separated fields are ignored at this time.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbpasswd&#9619;fR(8),
+-&#9619;fBSamba&#9619;fR(7), and the Internet RFC1321 for details on the MD4 algorithm.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmbpasswd\fR(8),
++\fBSamba\fR(7), and the Internet RFC1321 for details on the MD4 algorithm.
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbpasswd.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbpasswd.8
++++ samba-3.2.0~pre2/docs/manpages/smbpasswd.8
+@@ -18,21 +18,21 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBPASSWD" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbpasswd - change a user's SMB password
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbpasswd [-a] [-c&#9600;<config&#9600;file>] [-x] [-d] [-e] [-D&#9600;debuglevel] [-n] [-r&#9600;<remote&#9600;machine>] [-R&#9600;<name&#9600;resolve&#9600;order>] [-m] [-U&#9600;username[%password]] [-h] [-s] [-w&#9600;pass] [-W] [-i] [-L] [username]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbpasswd [-a] [-c <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The smbpasswd program has several different functions, depending on whether it is run by the
+ \fBroot\fR
+ user or not. When run as a normal user it allows the user to change the password used for their SMB sessions on any machines that store SMB passwords.
+-&#8962;PP
++.PP
+ By default (when run with no arguments) it will attempt to change the current user's SMB password on the local machine. This is similar to the way the
+ passwd(1)
+ program works.
+@@ -40,247 +40,247 @@
+ differs from how the passwd program works however in that it is not
+ \fBsetuid root\fR
+ but works in a client-server mode and communicates with a locally running
+-&#9619;fBsmbd&#9619;fR(8). As a consequence in order for this to succeed the smbd daemon must be running on the local machine. On a UNIX machine the encrypted SMB passwords are usually stored in the
+-&#9619;fBsmbpasswd&#9619;fR(5)
++\fBsmbd\fR(8). As a consequence in order for this to succeed the smbd daemon must be running on the local machine. On a UNIX machine the encrypted SMB passwords are usually stored in the
++\fBsmbpasswd\fR(5)
+ file.
+-&#8962;PP
++.PP
+ When run by an ordinary user with no options, smbpasswd will prompt them for their old SMB password and then ask them for their new password twice, to ensure that the new password was typed correctly. No passwords will be echoed on the screen whilst being typed. If you have a blank SMB password (specified by the string "NO PASSWORD" in the smbpasswd file) then just press the <Enter> key when asked for your old password.
+-&#8962;PP
+-smbpasswd can also be used by a normal user to change their SMB password on remote machines, such as Windows NT Primary Domain Controllers. See the (&#9619;fI-r&#9619;fR) and
+-&#9619;fI-U&#9619;fR
++.PP
++smbpasswd can also be used by a normal user to change their SMB password on remote machines, such as Windows NT Primary Domain Controllers. See the (\fI-r\fR) and
++\fI-U\fR
+ options below.
+-&#8962;PP
++.PP
+ When run by root, smbpasswd allows new users to be added and deleted in the smbpasswd file, as well as allows changes to the attributes of the user in this file to be made. When run by root,
+ smbpasswd
+ accesses the local smbpasswd file directly, thus enabling changes to be made even if smbd is not running.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -a
+-&#8962;RS 4
++.RS 4
+ This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type <Enter> for the old password). This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password command. Note that the default passdb backends require the user to already exist in the system password file (usually
+-&#9619;fI/etc/passwd&#9619;fR), else the request to add the user will fail.
+-&#8962;sp
++\fI/etc/passwd\fR), else the request to add the user will fail.
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -c
+-&#8962;RS 4
++.RS 4
+ This option can be used to specify the path and file name of the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ configuration file when it is important to use other than the default file and / or location.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -x
+-&#8962;RS 4
++.RS 4
+ This option specifies that the username following should be deleted from the local smbpasswd file.
+-&#8962;sp
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d
+-&#8962;RS 4
++.RS 4
+ This option specifies that the username following should be
+-&#9619;fBdisabled&#9619;fR
++\fBdisabled\fR
+ in the local smbpasswd file. This is done by writing a
+-&#9619;fB'D'&#9619;fR
++\fB'D'\fR
+ flag into the account control space in the smbpasswd file. Once this is done all attempts to authenticate via SMB using this username will fail.
+-&#8962;sp
++.sp
+ If the smbpasswd file is in the 'old' format (pre-Samba 2.0 format) there is no space in the user's password entry to write this information and the command will FAIL. See
+-&#9619;fBsmbpasswd&#9619;fR(5)
++\fBsmbpasswd\fR(5)
+ for details on the 'old' and new password file formats.
+-&#8962;sp
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -e
+-&#8962;RS 4
++.RS 4
+ This option specifies that the username following should be
+-&#9619;fBenabled&#9619;fR
++\fBenabled\fR
+ in the local smbpasswd file, if the account was previously disabled. If the account was not disabled this option has no effect. Once the account is enabled then the user will be able to authenticate via SMB once again.
+-&#8962;sp
++.sp
+ If the smbpasswd file is in the 'old' format, then
+ smbpasswd
+ will FAIL to enable the account. See
+-&#9619;fBsmbpasswd&#9619;fR(5)
++\fBsmbpasswd\fR(5)
+ for details on the 'old' and new password file formats.
+-&#8962;sp
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D debuglevel
+-&#8962;RS 4
+-&#9619;fIdebuglevel&#9619;fR
++.RS 4
++\fIdebuglevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is zero.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of smbpasswd. At level 0, only critical errors and serious warnings will be logged.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n
+-&#8962;RS 4
++.RS 4
+ This option specifies that the username following should have their password set to null (i.e. a blank password) in the local smbpasswd file. This is done by writing the string "NO PASSWORD" as the first part of the first password stored in the smbpasswd file.
+-&#8962;sp
++.sp
+ Note that to allow users to logon to a Samba server once the password has been set to "NO PASSWORD" in the smbpasswd file the administrator must set the following parameter in the [global] section of the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file :
+-&#8962;sp
++.sp
+ null passwords = yes
+-&#8962;sp
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -r remote machine name
+-&#8962;RS 4
++.RS 4
+ This option allows a user to specify what machine they wish to change their password on. Without this parameter smbpasswd defaults to the local host. The
+-&#9619;fIremote machine name&#9619;fR
++\fIremote machine name\fR
+ is the NetBIOS name of the SMB/CIFS server to contact to attempt the password change. This name is resolved into an IP address using the standard name resolution mechanism in all programs of the Samba suite. See the
+-&#9619;fI-R name resolve order&#9619;fR
++\fI-R name resolve order\fR
+ parameter for details on changing this resolving mechanism.
+-&#8962;sp
++.sp
+ The username whose password is changed is that of the current UNIX logged on user. See the
+-&#9619;fI-U username&#9619;fR
++\fI-U username\fR
+ parameter for details on changing the password for a different username.
+-&#8962;sp
++.sp
+ Note that if changing a Windows NT Domain password the remote machine specified must be the Primary Domain Controller for the domain (Backup Domain Controllers only have a read-only copy of the user account database and will not allow the password change).
+-&#8962;sp
++.sp
+ \fBNote\fR
+ that Windows 95/98 do not have a real password database so it is not possible to change passwords specifying a Win95/98 machine as remote machine target.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -R name resolve order
+-&#8962;RS 4
++.RS 4
+ This option allows the user of smbpasswd to determine what name resolution services to use when looking up the NetBIOS name of the host being connected to.
+-&#8962;sp
++.sp
+ The options are :"lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows:
+ \(bu
+-&#9619;fBlmhosts&#9619;fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
+-&#9619;fBlmhosts&#9619;fR(5)
++\fBlmhosts\fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
++\fBlmhosts\fR(5)
+ for details) then any name type matches for lookup.
+ .TP
+ \(bu
+-&#9619;fBhost&#9619;fR: Do a standard host name to IP address resolution, using the system
+-&#9619;fI/etc/hosts &#9619;fR, 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
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fBhost\fR: Do a standard host name to IP address resolution, using the system
++\fI/etc/hosts \fR, 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
++\fI/etc/nsswitch.conf\fR
+ file). Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored.
+ .TP
+ \(bu
+-&#9619;fBwins&#9619;fR: Query a name with the IP address listed in the
+-&#9619;fIwins server&#9619;fR
++\fBwins\fR: Query a name with the IP address listed in the
++\fIwins server\fR
+ parameter. If no WINS server has been specified this method will be ignored.
+ .TP
+ \(bu
+-&#9619;fBbcast&#9619;fR: Do a broadcast on each of the known local interfaces listed in the
+-&#9619;fIinterfaces&#9619;fR
++\fBbcast\fR: Do a broadcast on each of the known local interfaces listed in the
++\fIinterfaces\fR
+ parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.
+-&#8962;IP "" 4
++.IP "" 4
+ The default order is
+ lmhosts, host, wins, bcast
+ and without this parameter or any entry in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file the name resolution methods will be attempted in this order.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -m
+-&#8962;RS 4
++.RS 4
+ This option tells smbpasswd that the account being changed is a MACHINE account. Currently this is used when Samba is being used as an NT Primary Domain Controller.
+-&#8962;sp
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U username
+-&#8962;RS 4
++.RS 4
+ This option may only be used in conjunction with the
+-&#9619;fI-r&#9619;fR
++\fI-r\fR
+ option. When changing a password on a remote machine it allows the user to specify the user name on that machine whose password will be changed. It is present to allow users who have different user names on different systems to change these passwords.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h
+-&#8962;RS 4
++.RS 4
+ This option prints the help string for
+ smbpasswd, selecting the correct one for running as root or as an ordinary user.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s
+-&#8962;RS 4
++.RS 4
+ This option causes smbpasswd to be silent (i.e. not issue prompts) and to read its old and new passwords from standard input, rather than from
+-&#9619;fI/dev/tty&#9619;fR
++\fI/dev/tty\fR
+ (like the
+ passwd(1)
+ program does). This option is to aid people writing scripts to drive smbpasswd
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -w password
+-&#8962;RS 4
++.RS 4
+ This parameter is only available if Samba has been compiled with LDAP support. The
+-&#9619;fI-w&#9619;fR
++\fI-w\fR
+ switch is used to specify the password to be used with the
+ ldap admin dn. Note that the password is stored in the
+-&#9619;fIsecrets.tdb&#9619;fR
++\fIsecrets.tdb\fR
+ and is keyed off of the admin's DN. This means that if the value of
+-&#9619;fIldap admin dn&#9619;fR
++\fIldap admin dn\fR
+ ever changes, the password will need to be manually updated as well.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -W
+-&#8962;RS 4
++.RS 4
+ NOTE:
+ This option is same as "-w" except that the password should be entered using stdin.
+-&#8962;sp
++.sp
+ This parameter is only available if Samba has been compiled with LDAP support. The
+-&#9619;fI-W&#9619;fR
++\fI-W\fR
+ switch is used to specify the password to be used with the
+ ldap admin dn. Note that the password is stored in the
+-&#9619;fIsecrets.tdb&#9619;fR
++\fIsecrets.tdb\fR
+ and is keyed off of the admin's DN. This means that if the value of
+-&#9619;fIldap admin dn&#9619;fR
++\fIldap admin dn\fR
+ ever changes, the password will need to be manually updated as well.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ This option tells smbpasswd that the account being changed is an interdomain trust account. Currently this is used when Samba is being used as an NT Primary Domain Controller. The account contains the info about another trusted domain.
+-&#8962;sp
++.sp
+ This option is only available when running smbpasswd as root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -L
+-&#8962;RS 4
++.RS 4
+ Run in local mode.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ username
+-&#8962;RS 4
++.RS 4
+ This specifies the username for all of the
+ \fBroot only\fR
+ options to operate on. Only root can specify this parameter as only root has the permission needed to modify attributes directly in the local smbpasswd file.
+-&#8962;RE
+-&#8962;SH "NOTES"
+-&#8962;PP
++.RE
++.SH "NOTES"
++.PP
+ Since
+ smbpasswd
+ works in client-server mode communicating with a local smbd for a non-root user then the smbd daemon must be running for this to work. A common problem is to add a restriction to the hosts that may access the
+ smbd
+ running on the local machine by specifying either
+-&#9619;fIallow hosts&#9619;fR
++\fIallow hosts\fR
+ or
+-&#9619;fIdeny hosts&#9619;fR
++\fIdeny hosts\fR
+ entry in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file and neglecting to allow "localhost" access to the smbd.
+-&#8962;PP
++.PP
+ In addition, the smbpasswd command is only useful if Samba has been set up to use encrypted passwords.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbpasswd&#9619;fR(5),
+-&#9619;fBSamba&#9619;fR(7).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmbpasswd\fR(5),
++\fBSamba\fR(7).
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbsh.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbsh.1
++++ samba-3.2.0~pre2/docs/manpages/smbsh.1
+@@ -18,17 +18,17 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBSH" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbsh - Allows access to remote SMB shares using UNIX commands
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbsh [-W&#9600;workgroup] [-U&#9600;username] [-P&#9600;prefix] [-R&#9600;<name&#9600;resolve&#9600;order>] [-d&#9600;<debug&#9600;level>] [-l&#9600;logdir] [-L&#9600;libdir]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbsh [-W workgroup] [-U username] [-P prefix] [-R <name resolve order>] [-d <debug level>] [-l logdir] [-L libdir]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbsh
+ allows you to access an NT filesystem using UNIX commands such as
+ ls,
+@@ -36,112 +36,112 @@
+ rcp. You must use a shell that is dynamically linked in order for
+ smbsh
+ to work correctly.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -W WORKGROUP
+-&#8962;RS 4
++.RS 4
+ Override the default workgroup specified in the workgroup parameter of the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file for this session. This may be needed to connect to some servers.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U username[%pass]
+-&#8962;RS 4
++.RS 4
+ Sets the SMB username or username and password. If this option is not specified, the user will be prompted for both the username and the password. If %pass is not specified, the user will be prompted for the password.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P prefix
+-&#8962;RS 4
++.RS 4
+ This option allows the user to set the directory prefix for SMB access. The default value if this option is not specified is
+ \fBsmb\fR.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -R <name resolve order>
+-&#8962;RS 4
++.RS 4
+ This option is used to determine what naming services and in what order to resolve host names to IP addresses. The option takes a space-separated string of different name resolution options.
+-&#8962;sp
++.sp
+ The options are: "lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows :
+ \(bu
+-&#9619;fBlmhosts&#9619;fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
+-&#9619;fBlmhosts&#9619;fR(5)
++\fBlmhosts\fR: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the
++\fBlmhosts\fR(5)
+ for details) then any name type matches for lookup.
+ .TP
+ \(bu
+-&#9619;fBhost&#9619;fR: Do a standard host name to IP address resolution, using the system
+-&#9619;fI/etc/hosts&#9619;fR, NIS, or DNS lookups. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the
+-&#9619;fI/etc/nsswitch.conf &#9619;fR
++\fBhost\fR: Do a standard host name to IP address resolution, using the system
++\fI/etc/hosts\fR, NIS, or DNS lookups. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the
++\fI/etc/nsswitch.conf \fR
+ file). Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored.
+ .TP
+ \(bu
+-&#9619;fBwins&#9619;fR: Query a name with the IP address listed in the
+-&#9619;fIwins server&#9619;fR
++\fBwins\fR: Query a name with the IP address listed in the
++\fIwins server\fR
+ parameter. If no WINS server has been specified this method will be ignored.
+ .TP
+ \(bu
+-&#9619;fBbcast&#9619;fR: Do a broadcast on each of the known local interfaces listed in the
+-&#9619;fIinterfaces&#9619;fR
++\fBbcast\fR: Do a broadcast on each of the known local interfaces listed in the
++\fIinterfaces\fR
+ parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.
+-&#8962;IP "" 4
++.IP "" 4
+ If this parameter is not set then the name resolve order defined in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file parameter () will be used.
+-&#8962;sp
++.sp
+ The default order is lmhosts, host, wins, bcast. Without this parameter or any entry in the
+ 
+ parameter of the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file, the name resolution methods will be attempted in this order.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -L libdir
+-&#8962;RS 4
++.RS 4
+ This parameter specifies the location of the shared libraries used by
+ smbsh. The default value is specified at compile time.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ To use the
+ smbsh
+ command, execute
+ smbsh
+ from the prompt and enter the username and password that authenticates you to the machine running the Windows NT operating system.
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+-system% &#9619;fBsmbsh&#9619;fR
+-Username: &#9619;fBuser&#9619;fR
+-Password: &#9619;fBXXXXXXX&#9619;fR
++system% \fBsmbsh\fR
++Username: \fBuser\fR
++Password: \fBXXXXXXX\fR
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ Any dynamically linked command you execute from this shell will access the
+-&#9619;fI/smb&#9619;fR
++\fI/smb\fR
+ directory using the smb protocol. For example, the command
+ ls /smb
+ will show a list of workgroups. The command
+@@ -155,28 +155,28 @@
+ to edit files, and
+ rcp
+ to copy files.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "BUGS"
+-&#8962;PP
++.SH "BUGS"
++.PP
+ smbsh
+ works by intercepting the standard libc calls with the dynamically loaded versions in
+-&#9619;fI smbwrapper.o&#9619;fR. Not all calls have been "wrapped", so some programs may not function correctly under
++\fI smbwrapper.o\fR. Not all calls have been "wrapped", so some programs may not function correctly under
+ smbsh.
+-&#8962;PP
++.PP
+ Programs which are not dynamically linked cannot make use of
+ smbsh's functionality. Most versions of UNIX have a
+ file
+ command that will describe how a program was linked.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbd&#9619;fR(8),
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmbd\fR(8),
++\fBsmb.conf\fR(5)
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbspool.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbspool.8
++++ samba-3.2.0~pre2/docs/manpages/smbspool.8
+@@ -18,21 +18,21 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBSPOOL" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbspool - send a print file to an SMB printer
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ smbspool {job} {user} {title} {copies} {options} [filename]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbspool is a very small print spooling program that sends a print file to an SMB printer. The command-line arguments are position-dependent for compatibility with the Common UNIX Printing System, but you can use smbspool with any printing system or from a program or script.
+-&#8962;PP
++.PP
+ \fBDEVICE URI\fR
+-&#8962;PP
++.PP
+ smbspool specifies the destination using a Uniform Resource Identifier ("URI") with a method of "smb". This string can take a number of forms:
+ \(bu
+ smb://server[:port]/printer
+@@ -45,20 +45,20 @@
+ .TP
+ \(bu
+ smb://username:password@workgroup/server[:port]/printer
+-&#8962;PP
++.PP
+ smbspool tries to get the URI from the environment variable
+-&#9619;fBDEVICE_URI&#9619;fR. If
+-&#9619;fBDEVICE_URI&#9619;fR
++\fBDEVICE_URI\fR. If
++\fBDEVICE_URI\fR
+ is not present, smbspool will use argv[0] if that starts with
+ \fBsmb://\fR
+ or argv[1] if that is not the case.
+-&#8962;PP
++.PP
+ Programs using the
+ exec(2)
+ functions can pass the URI in argv[0], while shell scripts must set the
+-&#9619;fBDEVICE_URI&#9619;fR
++\fBDEVICE_URI\fR
+ environment variable prior to running smbspool.
+-&#8962;SH "OPTIONS"
++.SH "OPTIONS"
+ \(bu
+ The job argument (argv[1]) contains the job ID number and is presently not used by smbspool.
+ .TP
+@@ -76,21 +76,21 @@
+ .TP
+ \(bu
+ The filename argument (argv[6]) contains the name of the file to print. If this argument is not specified then the print file is read from the standard input.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbd&#9619;fR(8)
++.SH "SEE ALSO"
++.PP
++\fBsmbd\fR(8)
+ and
+-&#9619;fBsamba&#9619;fR(7).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBsamba\fR(7).
++.SH "AUTHOR"
++.PP
+ smbspool
+ was written by Michael Sweet at Easy Software Products.
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbstatus.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbstatus.1
++++ samba-3.2.0~pre2/docs/manpages/smbstatus.1
+@@ -18,116 +18,116 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBSTATUS" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbstatus - report on current Samba connections
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbstatus [-P] [-b] [-d&#9600;<debug&#9600;level>] [-v] [-L] [-B] [-p] [-S] [-s&#9600;<configuration&#9600;file>] [-u&#9600;<username>]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbstatus [-P] [-b] [-d <debug level>] [-v] [-L] [-B] [-p] [-S] [-s <configuration file>] [-u <username>]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbstatus
+ is a very simple program to list the current Samba connections.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -P|--profile
+-&#8962;RS 4
++.RS 4
+ If samba has been compiled with the profiling option, print only the contents of the profiling shared memory area.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -b|--brief
+-&#8962;RS 4
++.RS 4
+ gives brief output.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v|--verbose
+-&#8962;RS 4
++.RS 4
+ gives verbose output.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -L|--locks
+-&#8962;RS 4
++.RS 4
+ causes smbstatus to only list locks.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -B|--byterange
+-&#8962;RS 4
++.RS 4
+ causes smbstatus to include byte range locks.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p|--processes
+-&#8962;RS 4
++.RS 4
+ print a list of
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ processes and exit. Useful for scripting.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S|--shares
+-&#8962;RS 4
++.RS 4
+ causes smbstatus to only list shares.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -u|--user=<username>
+-&#8962;RS 4
++.RS 4
+ selects information relevant to
+-&#9619;fIusername&#9619;fR
++\fIusername\fR
+ only.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbd&#9619;fR(8)
++.SH "SEE ALSO"
++.PP
++\fBsmbd\fR(8)
+ and
+-&#9619;fBsmb.conf&#9619;fR(5).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBsmb.conf\fR(5).
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbtar.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbtar.1
++++ samba-3.2.0~pre2/docs/manpages/smbtar.1
+@@ -18,134 +18,134 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBTAR" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-smbtar [-r] [-i] [-a] [-v] {-s&#9600;server} [-p&#9600;password] [-x&#9600;services] [-X] [-N&#9600;filename] [-b&#9600;blocksize] [-d&#9600;directory] [-l&#9600;loglevel] [-u&#9600;user] [-t&#9600;tape] {filenames}
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++smbtar [-r] [-i] [-a] [-v] {-s server} [-p password] [-x services] [-X] [-N filename] [-b blocksize] [-d directory] [-l loglevel] [-u user] [-t tape] {filenames}
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbtar
+ is a very small shell script on top of
+-&#9619;fBsmbclient&#9619;fR(1)
++\fBsmbclient\fR(1)
+ which dumps SMB shares directly to tape.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -s server
+-&#8962;RS 4
++.RS 4
+ The SMB/CIFS server that the share resides upon.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -x service
+-&#8962;RS 4
++.RS 4
+ The share name on the server to connect to. The default is "backup".
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -X
+-&#8962;RS 4
++.RS 4
+ Exclude mode. Exclude filenames... from tar create or restore.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d directory
+-&#8962;RS 4
++.RS 4
+ Change to initial
+-&#9619;fIdirectory &#9619;fR
++\fIdirectory \fR
+ before restoring / backing up files.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v
+-&#8962;RS 4
++.RS 4
+ Verbose mode.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p password
+-&#8962;RS 4
++.RS 4
+ The password to use to access a share. Default: none
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -u user
+-&#8962;RS 4
++.RS 4
+ The user id to connect as. Default: UNIX login name.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -a
+-&#8962;RS 4
++.RS 4
+ Reset DOS archive bit mode to indicate file has been archived.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t tape
+-&#8962;RS 4
++.RS 4
+ Tape device. May be regular file or tape device. Default:
+-&#9619;fI$TAPE&#9619;fR
++\fI$TAPE\fR
+ environmental variable; if not set, a file called
+-&#9619;fItar.out &#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fItar.out \fR.
++.RE
++.PP
+ -b blocksize
+-&#8962;RS 4
++.RS 4
+ Blocking factor. Defaults to 20. See
+ tar(1)
+ for a fuller explanation.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -N filename
+-&#8962;RS 4
++.RS 4
+ Backup only files newer than filename. Could be used (for example) on a log file to implement incremental backups.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ Incremental mode; tar files are only backed up if they have the archive bit set. The archive bit is reset after each file is read.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -r
+-&#8962;RS 4
++.RS 4
+ Restore. Files are restored to the share from the tar file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l log level
+-&#8962;RS 4
++.RS 4
+ Log (debug) level. Corresponds to the
+-&#9619;fI-d&#9619;fR
++\fI-d\fR
+ flag of
+-&#9619;fBsmbclient&#9619;fR(1).
+-&#8962;RE
+-&#8962;SH "ENVIRONMENT VARIABLES"
+-&#8962;PP
++\fBsmbclient\fR(1).
++.RE
++.SH "ENVIRONMENT VARIABLES"
++.PP
+ The
+-&#9619;fI$TAPE&#9619;fR
++\fI$TAPE\fR
+ variable specifies the default tape device to write to. May be overridden with the -t option.
+-&#8962;SH "BUGS"
+-&#8962;PP
++.SH "BUGS"
++.PP
+ The
+ smbtar
+ script has different options from ordinary tar and from smbclient's tar command.
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ Sites that are more careful about security may not like the way the script handles PC passwords. Backup and restore work on entire shares; should work on file lists. smbtar works best with GNU tar and may not work well with other versions.
+-&#8962;SH "DIAGNOSTICS"
+-&#8962;PP
++.SH "DIAGNOSTICS"
++.PP
+ See the
+ \fBDIAGNOSTICS\fR
+ section for the
+-&#9619;fBsmbclient&#9619;fR(1)
++\fBsmbclient\fR(1)
+ command.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbd&#9619;fR(8),
+-&#9619;fBsmbclient&#9619;fR(1),
+-&#9619;fBsmb.conf&#9619;fR(5).
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmbd\fR(8),
++\fBsmbclient\fR(1),
++\fBsmb.conf\fR(5).
++.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.
+-&#8962;PP
++.PP
+ Ricky Poulten
+ wrote the tar extension and this man page. The
+ smbtar
+Index: samba-3.2.0~pre2/docs/manpages/smbtree.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbtree.1
++++ samba-3.2.0~pre2/docs/manpages/smbtree.1
+@@ -18,91 +18,91 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBTREE" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbtree - A text based smb network browser
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ smbtree [-b] [-D] [-S]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ smbtree
+ is a smb browser program in text mode. It is similar to the "Network Neighborhood" found on Windows computers. It prints a tree with all the known domains, the servers in those domains and the shares on the servers.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -b
+-&#8962;RS 4
++.RS 4
+ Query network nodes by sending requests as broadcasts instead of querying the local master browser.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D
+-&#8962;RS 4
++.RS 4
+ Only print a list of all the domains known on broadcast or by the master browser
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S
+-&#8962;RS 4
++.RS 4
+ Only print a list of all the domains and servers responding on broadcast or known by the master browser.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -N
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password.
+-&#8962;sp
++.sp
+ Unless a password is specified on the command line or this parameter is specified, the client will request a password.
+-&#8962;sp
++.sp
+ If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -k
+-&#8962;RS 4
++.RS 4
+ Try to authenticate with kerberos. Only useful in an Active Directory environment.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -A|--authentication-file=filename
+-&#8962;RS 4
++.RS 4
+ This option allows you to specify a file from which to read the username and password used in the connection. The format of the file is
+-&#8962;sp
++.sp
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -112,43 +112,43 @@
+ 
+ .fi
+ 
+-&#8962;sp
++.sp
+ Make certain that the permissions on the file restrict access from unwanted users.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U|--user=username[%password]
+-&#8962;RS 4
++.RS 4
+ Sets the SMB username or username and password.
+-&#8962;sp
++.sp
+ If %password is not specified, the user will be prompted. The client will first check the
+-&#9619;fBUSER&#9619;fR
++\fBUSER\fR
+ environment variable, then the
+-&#9619;fBLOGNAME&#9619;fR
++\fBLOGNAME\fR
+ variable and if either exists, the string is uppercased. If these environmental variables are not found, the username
+-&#9619;fBGUEST&#9619;fR
++\fBGUEST\fR
+ is used.
+-&#8962;sp
++.sp
+ A third option is to use a credentials file which contains the plaintext of the username and password. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the
+-&#9619;fI-A&#9619;fR
++\fI-A\fR
+ for more details.
+-&#8962;sp
++.sp
+ Be cautious about including passwords in scripts. Also, on many systems the command line of a running process may be seen via the
+ ps
+ command. To be safe always allow
+ rpcclient
+ to prompt for a password and type it in directly.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The smbtree man page was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/smbumount.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/smbumount.8
++++ samba-3.2.0~pre2/docs/manpages/smbumount.8
+@@ -18,36 +18,36 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SMBUMOUNT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ smbumount - smbfs umount for normal users
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ smbumount {mount-point}
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ With this program, normal users can unmount smb-filesystems, provided that it is suid root.
+ smbumount
+ has been written to give normal Linux users more control over their resources. It is safe to install this program suid root, because only the user who has mounted a filesystem is allowed to unmount it again. For root it is not necessary to use smbumount. The normal umount program works perfectly well.
+-&#8962;PP
++.PP
+ WARNING:
+ smbumount
+ is deprecated and not maintained any longer.
+ umount.cifs
+ should be used instead of
+ smbumount.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ mount-point
+-&#8962;RS 4
++.RS 4
+ The directory to unmount.
+-&#8962;RE
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmbmount&#9619;fR(8)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.RE
++.SH "SEE ALSO"
++.PP
++\fBsmbmount\fR(8)
++.SH "AUTHOR"
++.PP
+ Volker Lendecke, Andrew Tridgell, Michael H. Warfield and others.
+-&#8962;PP
++.PP
+ The current maintainer of smbfs and the userspace tools
+ smbmount,
+ smbumount, and
+@@ -56,6 +56,6 @@
+ Urban Widmark. The
+ SAMBA Mailing list
+ is the preferred place to ask questions regarding these programs.
+-&#8962;PP
++.PP
+ The conversion of this manpage for Samba 2.2 was performed by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/swat.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/swat.8
++++ samba-3.2.0~pre2/docs/manpages/swat.8
+@@ -18,103 +18,103 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "SWAT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ swat - Samba Web Administration Tool
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-swat [-s&#9600;<smb&#9600;config&#9600;file>] [-a] [-P]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++swat [-s <smb config file>] [-a] [-P]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ swat
+ allows a Samba administrator to configure the complex
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file via a Web browser. In addition, a
+ swat
+ configuration page has help links to all the configurable options in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file allowing an administrator to easily look up the effects of any change.
+-&#8962;PP
++.PP
+ swat
+ is run from
+ inetd
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -s smb configuration file
+-&#8962;RS 4
++.RS 4
+ The default configuration file path is determined at compile time. The file specified contains the configuration details required by the
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ server. This is the file that
+ swat
+ will modify. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -a
+-&#8962;RS 4
++.RS 4
+ This option disables authentication and places
+ swat
+ in demo mode. In that mode anyone will be able to modify the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;sp
++.sp
+ \fBWARNING: Do NOT enable this option on a production server. \fR
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -P
+-&#8962;RS 4
++.RS 4
+ This option restricts read-only users to the password management page.
+ swat
+ can then be used to change user passwords without users seeing the "View" and "Status" menu buttons.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "INSTALLATION"
+-&#8962;PP
++.RE
++.SH "INSTALLATION"
++.PP
+ Swat is included as binary package with most distributions. The package manager in this case takes care of the installation and configuration. This section is only for those who have compiled swat from scratch.
+-&#8962;PP
++.PP
+ After you compile SWAT you need to run
+ make install
+ to install the
+@@ -128,92 +128,92 @@
+ .TP
+ \(bu
+ /usr/local/samba/swat/help/*
+-&#8962;SS "Inetd Installation"
+-&#8962;PP
++.SS "Inetd Installation"
++.PP
+ You need to edit your
+-&#9619;fI/etc/inetd.conf &#9619;fR
++\fI/etc/inetd.conf \fR
+ and
+-&#9619;fI/etc/services&#9619;fR
++\fI/etc/services\fR
+ to enable SWAT to be launched via
+ inetd.
+-&#8962;PP
++.PP
+ In
+-&#9619;fI/etc/services&#9619;fR
++\fI/etc/services\fR
+ you need to add a line like this:
+-&#8962;PP
++.PP
+ swat 901/tcp
+-&#8962;PP
++.PP
+ Note for NIS/YP and LDAP users - you may need to rebuild the NIS service maps rather than alter your local
+-&#9619;fI /etc/services&#9619;fR
++\fI /etc/services\fR
+ file.
+-&#8962;PP
++.PP
+ the choice of port number isn't really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your
+ inetd
+ daemon).
+-&#8962;PP
++.PP
+ In
+-&#9619;fI/etc/inetd.conf&#9619;fR
++\fI/etc/inetd.conf\fR
+ you should add a line like this:
+-&#8962;PP
++.PP
+ swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat
+-&#8962;PP
++.PP
+ Once you have edited
+-&#9619;fI/etc/services&#9619;fR
++\fI/etc/services\fR
+ and
+-&#9619;fI/etc/inetd.conf&#9619;fR
++\fI/etc/inetd.conf\fR
+ you need to send a HUP signal to inetd. To do this use
+ kill -1 PID
+ where PID is the process ID of the inetd daemon.
+-&#8962;SH "LAUNCHING"
+-&#8962;PP
++.SH "LAUNCHING"
++.PP
+ To launch SWAT just run your favorite web browser and point it at "http://localhost:901/".
+-&#8962;PP
++.PP
+ Note that you can attach to SWAT from any IP connected machine but connecting from a remote machine leaves your connection open to password sniffing as passwords will be sent in the clear over the wire.
+-&#8962;SH "FILES"
+-&#8962;PP
+-&#9619;fI/etc/inetd.conf&#9619;fR
+-&#8962;RS 4
++.SH "FILES"
++.PP
++\fI/etc/inetd.conf\fR
++.RS 4
+ This file must contain suitable startup information for the meta-daemon.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/etc/services&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/etc/services\fR
++.RS 4
+ This file must contain a mapping of service name (e.g., swat) to service port (e.g., 901) and protocol type (e.g., tcp).
+-&#8962;RE
+-&#8962;PP
+-&#9619;fI/usr/local/samba/lib/smb.conf&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fI/usr/local/samba/lib/smb.conf\fR
++.RS 4
+ This is the default location of the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ server configuration file that swat edits. Other common places that systems install this file are
+-&#9619;fI /usr/samba/lib/smb.conf&#9619;fR
++\fI /usr/samba/lib/smb.conf\fR
+ and
+-&#9619;fI/etc/smb.conf &#9619;fR. This file describes all the services the server is to make available to clients.
+-&#8962;RE
+-&#8962;SH "WARNINGS"
+-&#8962;PP
++\fI/etc/smb.conf \fR. This file describes all the services the server is to make available to clients.
++.RE
++.SH "WARNINGS"
++.PP
+ swat
+ will rewrite your
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file. It will rearrange the entries and delete all comments,
+-&#9619;fIinclude=&#9619;fR
++\fIinclude=\fR
+ and
+-&#9619;fIcopy= &#9619;fR
++\fIcopy= \fR
+ options. If you have a carefully crafted
+-&#9619;fI smb.conf&#9619;fR
++\fI smb.conf\fR
+ then back it up or don't use swat!
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ inetd(5),
+-&#9619;fBsmbd&#9619;fR(8),
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBsmbd\fR(8),
++\fBsmb.conf\fR(5)
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/tdbbackup.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/tdbbackup.8
++++ samba-3.2.0~pre2/docs/manpages/tdbbackup.8
+@@ -18,53 +18,53 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "TDBBACKUP" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ tdbbackup - tool for backing up and for validating the integrity of samba .tdb files
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-tdbbackup [-s&#9600;suffix] [-v] [-h]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++tdbbackup [-s suffix] [-v] [-h]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(1)
++\fBsamba\fR(1)
+ suite.
+-&#8962;PP
++.PP
+ tdbbackup
+ is a tool that may be used to backup samba .tdb files. This tool may also be used to verify the integrity of the .tdb files prior to samba startup or during normal operation. If it finds file damage and it finds a prior backup the backup file will be restored.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -h
+-&#8962;RS 4
++.RS 4
+ Get help information.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s suffix
+-&#8962;RS 4
++.RS 4
+ The
+ -s
+ option allows the adminisistrator to specify a file backup extension. This way it is possible to keep a history of tdb backup files by using a new suffix for each backup.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -v
+-&#8962;RS 4
++.RS 4
+ The
+ -v
+ will check the database for damages (currupt data) which if detected causes the backup to be restored.
+-&#8962;RE
+-&#8962;SH "COMMANDS"
+-&#8962;PP
++.RE
++.SH "COMMANDS"
++.PP
+ \fBGENERAL INFORMATION\fR
+-&#8962;PP
++.PP
+ The
+ tdbbackup
+ utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of tdb files, even during Samba operation. Typical usage for the command will be:
+-&#8962;PP
++.PP
+ tdbbackup [-s suffix] *.tdb
+-&#8962;PP
++.PP
+ Before restarting samba the following command may be run to validate .tdb files:
+-&#8962;PP
++.PP
+ tdbbackup -v [-s suffix] *.tdb
+-&#8962;PP
++.PP
+ Samba .tdb files are stored in various locations, be sure to run backup all .tdb file on the system. Important files includes:
+ \(bu
+ 
+@@ -80,12 +80,12 @@
+ 
+ *.tdb
+ located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The tdbbackup man page was written by John H Terpstra.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/tdbdump.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/tdbdump.8
++++ samba-3.2.0~pre2/docs/manpages/tdbdump.8
+@@ -18,27 +18,27 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "TDBDUMP" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ tdbdump - tool for printing the contents of a TDB file
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ tdbdump {filename}
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(1)
++\fBsamba\fR(1)
+ suite.
+-&#8962;PP
++.PP
+ tdbdump
+ is a very simple utility that 'dumps' the contents of a TDB (Trivial DataBase) file to standard output in a human-readable format.
+-&#8962;PP
++.PP
+ This tool can be used when debugging problems with TDB files. It is intended for those who are somewhat familiar with Samba internals.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The tdbdump man page was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/tdbtool.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/tdbtool.8
++++ samba-3.2.0~pre2/docs/manpages/tdbtool.8
+@@ -18,129 +18,129 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "TDBTOOL" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ tdbtool - manipulate the contents TDB files
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ tdbtool
+-&#8962;HP 1
+-tdbtool &#9619;fITDBFILE&#9619;fR [&#9619;fICOMMANDS&#9619;fR...]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.HP 1
++tdbtool \fITDBFILE\fR [\fICOMMANDS\fR...]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(1)
++\fBsamba\fR(1)
+ suite.
+-&#8962;PP
++.PP
+ tdbtool
+ a tool for displaying and altering the contents of Samba TDB (Trivial DataBase) files. Each of the commands listed below can be entered interactively or provided on the command line.
+-&#8962;SH "COMMANDS"
+-&#8962;PP
+-&#9619;fBcreate&#9619;fR &#9619;fITDBFILE&#9619;fR
+-&#8962;RS 4
++.SH "COMMANDS"
++.PP
++\fBcreate\fR \fITDBFILE\fR
++.RS 4
+ Create a new database named
+-&#9619;fITDBFILE&#9619;fR.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBopen&#9619;fR &#9619;fITDBFILE&#9619;fR
+-&#8962;RS 4
++\fITDBFILE\fR.
++.RE
++.PP
++\fBopen\fR \fITDBFILE\fR
++.RS 4
+ Open an existing database named
+-&#9619;fITDBFILE&#9619;fR.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBerase&#9619;fR
+-&#8962;RS 4
++\fITDBFILE\fR.
++.RE
++.PP
++\fBerase\fR
++.RS 4
+ Erase the current database.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBdump&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBdump\fR
++.RS 4
+ Dump the current database as strings.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBcdump&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBcdump\fR
++.RS 4
+ Dump the current database as connection records.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBkeys&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBkeys\fR
++.RS 4
+ Dump the current database keys as strings.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBhexkeys&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBhexkeys\fR
++.RS 4
+ Dump the current database keys as hex values.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBinfo&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBinfo\fR
++.RS 4
+ Print summary information about the current database.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBinsert&#9619;fR &#9619;fIKEY&#9619;fR &#9619;fIDATA&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBinsert\fR \fIKEY\fR \fIDATA\fR
++.RS 4
+ Insert a record into the current database.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBmove&#9619;fR &#9619;fIKEY&#9619;fR &#9619;fITDBFILE&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBmove\fR \fIKEY\fR \fITDBFILE\fR
++.RS 4
+ Move a record from the current database into
+-&#9619;fITDBFILE&#9619;fR.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBstore&#9619;fR &#9619;fIKEY&#9619;fR &#9619;fIDATA&#9619;fR
+-&#8962;RS 4
++\fITDBFILE\fR.
++.RE
++.PP
++\fBstore\fR \fIKEY\fR \fIDATA\fR
++.RS 4
+ Store (replace) a record in the current database.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBshow&#9619;fR &#9619;fIKEY&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBshow\fR \fIKEY\fR
++.RS 4
+ Show a record by key.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBdelete&#9619;fR &#9619;fIKEY&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBdelete\fR \fIKEY\fR
++.RS 4
+ Delete a record by key.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBlist&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBlist\fR
++.RS 4
+ Print the current database hash table and free list.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBfree&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBfree\fR
++.RS 4
+ Print the current database and free list.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fB!&#9619;fR &#9619;fICOMMAND&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fB!\fR \fICOMMAND\fR
++.RS 4
+ Execute the given system command.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBfirst&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBfirst\fR
++.RS 4
+ Print the first record in the current database.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBnext&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBnext\fR
++.RS 4
+ Print the next record in the current database.
+-&#8962;RE
+-&#8962;PP
+-&#9619;fBquit&#9619;fR
+-&#8962;RS 4
++.RE
++.PP
++\fBquit\fR
++.RS 4
+ Exit
+ tdbtool.
+-&#8962;RE
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.RE
++.SH "CAVEATS"
++.PP
+ The contents of the Samba TDB files are private to the implementation and should not be altered with
+ tdbtool.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/testparm.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/testparm.1
++++ samba-3.2.0~pre2/docs/manpages/testparm.1
+@@ -18,130 +18,130 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "TESTPARM" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ testparm - check an smb.conf configuration file for internal correctness
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-testparm [-s] [-h] [-v] [-L&#9600;<servername>] [-t&#9600;<encoding>] {config&#9600;filename} [hostname&#9600;hostIP]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ testparm
+ is a very simple test program to check an
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that
+ smbd
+ will successfully load the configuration file.
+-&#8962;PP
++.PP
+ Note that this is
+ \fBNOT\fR
+ a guarantee that the services specified in the configuration file will be available or will operate as expected.
+-&#8962;PP
++.PP
+ If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service.
+-&#8962;PP
++.PP
+ If
+ testparm
+ finds an error in the
+-&#9619;fI smb.conf&#9619;fR
++\fI smb.conf\fR
+ file it returns an exit code of 1 to the calling program, else it returns an exit code of 0. This allows shell scripts to test the output from
+ testparm.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -s
+-&#8962;RS 4
++.RS 4
+ Without this option,
+ testparm
+ will prompt for a carriage return after printing the service names and before dumping the service definitions.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -L servername
+-&#8962;RS 4
++.RS 4
+ Sets the value of the %L macro to
+-&#9619;fIservername&#9619;fR. This is useful for testing include files specified with the %L macro.
+-&#8962;RE
+-&#8962;PP
++\fIservername\fR. This is useful for testing include files specified with the %L macro.
++.RE
++.PP
+ -v
+-&#8962;RS 4
++.RS 4
+ If this option is specified, testparm will also output all options that were not used in
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ and are thus set to their defaults.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t encoding
+-&#8962;RS 4
++.RS 4
+ Output data in specified encoding.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --parameter-name parametername
+-&#8962;RS 4
++.RS 4
+ Dumps the named parameter. If no section-name is set the view is limited by default to the global section. It is also possible to dump a parametrical option. Therfore the option has to be separated by a colon from the parametername.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --section-name sectionname
+-&#8962;RS 4
++.RS 4
+ Dumps the named section.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ configfilename
+-&#8962;RS 4
++.RS 4
+ This is the name of the configuration file to check. If this parameter is not present then the default
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file will be checked.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hostname
+-&#8962;RS 4
++.RS 4
+ If this parameter and the following are specified, then
+ testparm
+ will examine the
+-&#9619;fIhosts allow&#9619;fR
++\fIhosts allow\fR
+ and
+-&#9619;fIhosts deny&#9619;fR
++\fIhosts deny\fR
+ parameters in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file to determine if the hostname with this IP address would be allowed access to the
+ smbd
+ server. If this parameter is supplied, the hostIP parameter must also be supplied.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hostIP
+-&#8962;RS 4
++.RS 4
+ This is the IP address of the host specified in the previous parameter. This address must be supplied if the hostname parameter is supplied.
+-&#8962;RE
+-&#8962;SH "FILES"
+-&#8962;PP
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#8962;RS 4
++.RE
++.SH "FILES"
++.PP
++\fBsmb.conf\fR(5)
++.RS 4
+ This is usually the name of the configuration file used by
+-&#9619;fBsmbd&#9619;fR(8).
+-&#8962;RE
+-&#8962;SH "DIAGNOSTICS"
+-&#8962;PP
++\fBsmbd\fR(8).
++.RE
++.SH "DIAGNOSTICS"
++.PP
+ The program will issue a message saying whether the configuration file loaded OK or not. This message may be preceded by errors and warnings if the file did not load. If the file was loaded OK, the program then dumps all known service details to stdout.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBsmb.conf&#9619;fR(5),
+-&#9619;fBsmbd&#9619;fR(8)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fBsmb.conf\fR(5),
++\fBsmbd\fR(8)
++.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.
+-&#8962;PP
++.PP
+ The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
+ ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/umount.cifs.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/umount.cifs.8
++++ samba-3.2.0~pre2/docs/manpages/umount.cifs.8
+@@ -18,67 +18,67 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "UMOUNT.CIFS" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ umount.cifs - for normal, non-root users, to unmount their own Common Internet File System (CIFS) mounts
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ umount.cifs {mount-point} [-nVvhfle]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ umount.cifs unmounts a Linux CIFS filesystem. It can be invoked indirectly by the
+-&#9619;fBumount&#9619;fR(8)
++\fBumount\fR(8)
+ command when umount.cifs is in /sbin directory, unless you specify the "-i" option to umount. Specifying -i to umount avoids execution of umount helpers such as umount.cifs. The umount.cifs command only works in Linux, and the kernel must support the cifs filesystem. The CIFS protocol is the successor to the SMB protocol and is supported by most Windows servers and many other commercial servers and Network Attached Storage appliances as well as by the popular Open Source server Samba.
+-&#8962;PP
++.PP
+ The umount.cifs utility detaches the local directory
+ \fBmount-point\fR
+ from the corresponding UNC name (exported network resource) and frees the associated kernel resources. It is possible to set the mode for umount.cifs to setuid root (or equivalently update the /etc/permissions file) to allow non-root users to umount shares to directories for which they have write permission. The umount.cifs utility is typically not needed if unmounts need only be performed by root users, or if user mounts and unmounts can rely on specifying explicit entries in /etc/fstab See
+-&#8962;PP
+-&#9619;fBfstab&#9619;fR(5)
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.PP
++\fBfstab\fR(5)
++.SH "OPTIONS"
++.PP
+ --verbose
+-&#8962;RS 4
++.RS 4
+ print additional debugging information
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --no-mtab
+-&#8962;RS 4
++.RS 4
+ Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information)
+-&#8962;RE
+-&#8962;SH "NOTES"
+-&#8962;PP
++.RE
++.SH "NOTES"
++.PP
+ This command is normally intended to be installed setuid (since root users can already run unmount). An alternative to using umount.cifs is to add specfic entries for the user mounts that you wish a particular user or users to mount and unmount to /etc/fstab
+-&#8962;SH "CONFIGURATION"
+-&#8962;PP
++.SH "CONFIGURATION"
++.PP
+ The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem. In the directory
+-&#9619;fI/proc/fs/cifs&#9619;fR
++\fI/proc/fs/cifs\fR
+ are various configuration files and pseudo files which can display debug information. For more information see the kernel file
+-&#9619;fIfs/cifs/README&#9619;fR.
+-&#8962;SH "BUGS"
+-&#8962;PP
++\fIfs/cifs/README\fR.
++.SH "BUGS"
++.PP
+ At this time umount.cifs does not lock the mount table using the same lock as the umount utility does, so do not attempt to do multiple unmounts from different processes (and in particular unmounts of a cifs mount and another type of filesystem mount at the same time).
+-&#8962;PP
++.PP
+ If the same mount point is mounted multiple times by cifs, umount.cifs will remove all of the matching entries from the mount table (although umount.cifs will actually only unmount the last one), rather than only removing the last matching entry in /etc/mtab. The pseudofile /proc/mounts will display correct information though, and the lack of an entry in /etc/mtab does not prevent subsequent unmounts.
+-&#8962;PP
++.PP
+ Note that the typical response to a bug report is a suggestion to try the latest version first. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: umount.cifs (try umount.cifs -V), kernel (see /proc/version) and server type you are trying to contact.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 1.34 of the cifs vfs filesystem (roughly Linux kernel 2.6.12).
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
+ Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information.
+-&#8962;PP
+-&#9619;fBmount.cifs&#9619;fR(8)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.PP
++\fBmount.cifs\fR(8)
++.SH "AUTHOR"
++.PP
+ Steve French
+-&#8962;PP
++.PP
+ The syntax was loosely based on the umount utility and the manpage was loosely based on that of mount.cifs.8. The man page was created by Steve French
+-&#8962;PP
++.PP
+ The maintainer of the Linux cifs vfs and the userspace tool
+ \fBumount.cifs\fR
+ is
+Index: samba-3.2.0~pre2/docs/manpages/vfs_audit.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_audit.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_audit.8
+@@ -18,82 +18,82 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_AUDIT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_audit - record selected Samba VFS operations in the system log
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = audit
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_audit
+ VFS module records selected client operations to the system log using
+-&#9619;fBsyslog&#9619;fR(3).
+-&#8962;PP
++\fBsyslog\fR(3).
++.PP
+ The following Samba VFS operations are recorded:
+-&#8962;IP "" 4
++.IP "" 4
+ connect
+-&#8962;IP "" 4
++.IP "" 4
+ disconnect
+-&#8962;IP "" 4
++.IP "" 4
+ opendir
+-&#8962;IP "" 4
++.IP "" 4
+ mkdir
+-&#8962;IP "" 4
++.IP "" 4
+ rmdir
+-&#8962;IP "" 4
++.IP "" 4
+ open
+-&#8962;IP "" 4
++.IP "" 4
+ close
+-&#8962;IP "" 4
++.IP "" 4
+ rename
+-&#8962;IP "" 4
++.IP "" 4
+ unlink
+-&#8962;IP "" 4
++.IP "" 4
+ chmod
+-&#8962;IP "" 4
++.IP "" 4
+ fchmod
+-&#8962;IP "" 4
++.IP "" 4
+ chmod_acl
+-&#8962;IP "" 4
++.IP "" 4
+ fchmod_acl
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ audit:facility = FACILITY
+-&#8962;RS 4
++.RS 4
+ Log messages to the named
+-&#9619;fBsyslog&#9619;fR(3)
++\fBsyslog\fR(3)
+ facility.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ audit:priority = PRIORITY
+-&#8962;RS 4
++.RS 4
+ Log messages with the named
+-&#9619;fBsyslog&#9619;fR(3)
++\fBsyslog\fR(3)
+ priority.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ Log operations on all shares using the LOCAL1 facility and NOTICE priority:
+ 
+ .nf
+ 
+-        &#9619;fI[global]&#9619;fR
++        \fI[global]\fR
+ 	vfs objects = audit
+ 	audit:facility = LOCAL1
+ 	audit:priority = NOTICE
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_cacheprime.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_cacheprime.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_cacheprime.8
+@@ -18,32 +18,32 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_CACHEPRIME" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_cacheprime - prime the kernel file data cache
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = cacheprime
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_cacheprime
+ VFS module reads chunks of file data near the range requested by clients in order to make sure the data is present in the kernel file data cache at the time when it is actually requested by clients.
+-&#8962;PP
++.PP
+ The size of the disk read operations performed by
+ vfs_cacheprime
+ is determined by the cacheprime:rsize option. All disk read operations are aligned on boundaries that are a multiple of this size. Each range of the file data is primed at most once during the time the client has the file open.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ cacheprime:rsize = BYTES
+-&#8962;RS 4
++.RS 4
+ The number of bytes with which to prime the kernel data cache.
+-&#8962;sp
++.sp
+ The following suffixes may be applied to BYTES:
+ \(bu
+ K
+@@ -56,26 +56,26 @@
+ \(bu
+ G
+ - BYTES is a number of gigabytes
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ For a hypothetical disk array, it is necessary to ensure that all read operations are of size 1 megabyte (1048576 bytes), and aligned on 1 megabyte boundaries:
+ 
+ .nf
+ 
+-	&#9619;fI[hypothetical]&#9619;fR
++	\fI[hypothetical]\fR
+ 	vfs objects = cacheprime
+ 	cacheprime:rsize = 1M
+ 
+ .fi
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ cacheprime
+ is not a a substitute for a general-purpose readahead mechanism. It is intended for use only in very specific environments where disk operations must be aligned and sized to known values (as much as that is possible).
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_cap.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_cap.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_cap.8
+@@ -18,40 +18,40 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_CAP" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_cap - CAP encode filenames
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = cap
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ CAP (Columbia Appletalk Protocol) encoding is a technique for representing non-ASCII filenames in ASCII. The
+ vfs_cap
+ VFS module translates filenames to and from CAP format, allowing users to name files in their native encoding.
+-&#8962;PP
++.PP
+ CAP encoding is most commonly used in Japanese language environments.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ On a system using GNU libiconv, use CAP encoding to support users in the Shift_JIS locale:
+ 
+ .nf
+ 
+-        &#9619;fI[global]&#9619;fR
++        \fI[global]\fR
+ 	dos charset = CP932
+ 	dos charset = CP932
+ 	vfs objects = cap
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_catia.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_catia.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_catia.8
+@@ -18,37 +18,37 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_CATIA" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_catia - translate illegal characters in Catia filenames
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = catia
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The Catia CAD package commonly creates filenames that use characters that are illegal in CIFS filenames. The
+ vfs_catia
+ VFS module implements a fixed character mapping so that these files can be shared with CIFS clients.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ Map Catia filenames on the [CAD] share:
+ 
+ .nf
+ 
+-        &#9619;fI[CAD]&#9619;fR
++        \fI[CAD]\fR
+ 	path = /data/cad
+ 	vfs objects = catia
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_commit.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_commit.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_commit.8
+@@ -18,31 +18,31 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_COMMIT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_commit - flush dirty data at specified intervals
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = commit
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_commit
+ VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates.
+-&#8962;PP
++.PP
+ vfs_commit
+ is useful in two circumstances. First, if you have very precious data, the impact of unexpected power loss can be minimized by a small commit:dthresh value. Secondly, write performance can be improved on some systems by flushing file data early and at regular intervals.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ commit:dthresh = BYTES
+-&#8962;RS 4
++.RS 4
+ Synchronize file data each time the specified number of bytes has been written.
+-&#8962;sp
++.sp
+ The following suffixes may be applied to BYTES:
+ \(bu
+ K
+@@ -55,28 +55,28 @@
+ \(bu
+ G
+ - BYTES is a number of gigabytes
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written:
+ 
+ .nf
+ 
+-        &#9619;fI[precious]&#9619;fR
++        \fI[precious]\fR
+ 	path = /data/precious
+ 	vfs objects = commit
+ 	commit:dthresh = 512K
+ 
+ .fi
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ On some systems, the data synchronization performed by
+ commit
+ may reduce performance.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_default_quota.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_default_quota.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_default_quota.8
+@@ -18,63 +18,63 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_DEFAULT_QUOTA" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_default_quota - store default quota records for Windows clients
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = default_quota
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ Many common quota implementations only store quotas for users and groups, but do not store a default quota. The
+ vfs_default_quota
+ module allows Samba to store default quota values which can be examined using the Windows Explorer interface.
+-&#8962;PP
++.PP
+ By default, Samba returns NO_LIMIT the default quota and refuses to update them.
+ vfs_default_quota
+ maps the default quota to the quota record of a user. By default the root user is taken because quota limits for root are typically not enforced.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ default_quota:uid = UID
+-&#8962;RS 4
++.RS 4
+ UID specifies the user ID of the quota record where the default user quota values are stored.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ default_quota:gid = GID
+-&#8962;RS 4
++.RS 4
+ GID specifies the group ID of the quota record where the default group quota values are stored.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ default_quota:uid nolimit = BOOL
+-&#8962;RS 4
++.RS 4
+ If this parameter is True, then the user whose quota record is storing the default user quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ default_quota:gid nolimit = BOOL
+-&#8962;RS 4
++.RS 4
+ If this parameter is True, then the group whose quota record is storing the default group quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits:
+ 
+ .nf
+ 
+-        &#9619;fI[global]&#9619;fR
++        \fI[global]\fR
+ 	vfs objects = default_quota
+ 	default_quota:uid = 65535
+ 	default_quota:uid nolimit = yes
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_extd_audit.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_extd_audit.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_extd_audit.8
+@@ -18,36 +18,36 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_EXTD_AUDIT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_extd_audit - record selected Samba VFS operations
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = extd_audit
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ extd_audit
+ VFS module records selected client operations to both the
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ log and system log (using
+-&#9619;fBsyslog&#9619;fR(3)).
+-&#8962;PP
++\fBsyslog\fR(3)).
++.PP
+ Other than logging to the
+-&#9619;fBsmbd&#9619;fR(8)
++\fBsmbd\fR(8)
+ log,
+ vfs_extd_audit
+ is identical to
+-&#9619;fBvfs_audit&#9619;fR(8).
+-&#8962;PP
++\fBvfs_audit\fR(8).
++.PP
+ This module is stackable.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_fake_perms.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_fake_perms.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_fake_perms.8
+@@ -18,35 +18,35 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_FAKE_PERMS" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_fake_perms - enable read only Roaming Profiles
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = fake_perms
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_fake_perms
+ VFS module was created to allow Roaming Profile files and directories to be set (on the Samba server under UNIX) as read only. This module will, if installed on the Profiles share, report to the client that the Profile files and directories are writeable. This satisfies the client even though the files will never be overwritten as the client logs out or shuts down.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "EXAMPLES"
++.SH "EXAMPLES"
+ 
+ .nf
+ 
+-        &#9619;fI[Profiles]&#9619;fR
++        \fI[Profiles]\fR
+ 	path = /profiles
+ 	vfs objects = fake_perms
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_full_audit.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_full_audit.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_full_audit.8
+@@ -18,217 +18,217 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_FULL_AUDIT" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_full_audit - record Samba VFS operations in the system log
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = full_audit
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_full_audit
+ VFS module records selected client operations to the system log using
+-&#9619;fBsyslog&#9619;fR(3).
+-&#8962;PP
++\fBsyslog\fR(3).
++.PP
+ vfs_full_audit
+ is able to record the complete set of Samba VFS operations:
+-&#8962;IP "" 4
++.IP "" 4
+ aio_cancel
+-&#8962;IP "" 4
++.IP "" 4
+ aio_error
+-&#8962;IP "" 4
++.IP "" 4
+ aio_fsync
+-&#8962;IP "" 4
++.IP "" 4
+ aio_read
+-&#8962;IP "" 4
++.IP "" 4
+ aio_return
+-&#8962;IP "" 4
++.IP "" 4
+ aio_suspend
+-&#8962;IP "" 4
++.IP "" 4
+ aio_write
+-&#8962;IP "" 4
++.IP "" 4
+ chdir
+-&#8962;IP "" 4
++.IP "" 4
+ chflags
+-&#8962;IP "" 4
++.IP "" 4
+ chmod
+-&#8962;IP "" 4
++.IP "" 4
+ chmod_acl
+-&#8962;IP "" 4
++.IP "" 4
+ chown
+-&#8962;IP "" 4
++.IP "" 4
+ close
+-&#8962;IP "" 4
++.IP "" 4
+ closedir
+-&#8962;IP "" 4
++.IP "" 4
+ connect
+-&#8962;IP "" 4
++.IP "" 4
+ disconnect
+-&#8962;IP "" 4
++.IP "" 4
+ disk_free
+-&#8962;IP "" 4
++.IP "" 4
+ fchmod
+-&#8962;IP "" 4
++.IP "" 4
+ fchmod_acl
+-&#8962;IP "" 4
++.IP "" 4
+ fchown
+-&#8962;IP "" 4
++.IP "" 4
+ fget_nt_acl
+-&#8962;IP "" 4
++.IP "" 4
+ fgetxattr
+-&#8962;IP "" 4
++.IP "" 4
+ flistxattr
+-&#8962;IP "" 4
++.IP "" 4
+ fremovexattr
+-&#8962;IP "" 4
++.IP "" 4
+ fset_nt_acl
+-&#8962;IP "" 4
++.IP "" 4
+ fsetxattr
+-&#8962;IP "" 4
++.IP "" 4
+ fstat
+-&#8962;IP "" 4
++.IP "" 4
+ fsync
+-&#8962;IP "" 4
++.IP "" 4
+ ftruncate
+-&#8962;IP "" 4
++.IP "" 4
+ get_nt_acl
+-&#8962;IP "" 4
++.IP "" 4
+ get_quota
+-&#8962;IP "" 4
++.IP "" 4
+ get_shadow_copy_data
+-&#8962;IP "" 4
++.IP "" 4
+ getlock
+-&#8962;IP "" 4
++.IP "" 4
+ getwd
+-&#8962;IP "" 4
++.IP "" 4
+ getxattr
+-&#8962;IP "" 4
++.IP "" 4
+ kernel_flock
+-&#8962;IP "" 4
++.IP "" 4
+ lgetxattr
+-&#8962;IP "" 4
++.IP "" 4
+ link
+-&#8962;IP "" 4
++.IP "" 4
+ linux_setlease
+-&#8962;IP "" 4
++.IP "" 4
+ listxattr
+-&#8962;IP "" 4
++.IP "" 4
+ llistxattr
+-&#8962;IP "" 4
++.IP "" 4
+ lock
+-&#8962;IP "" 4
++.IP "" 4
+ lremovexattr
+-&#8962;IP "" 4
++.IP "" 4
+ lseek
+-&#8962;IP "" 4
++.IP "" 4
+ lsetxattr
+-&#8962;IP "" 4
++.IP "" 4
+ lstat
+-&#8962;IP "" 4
++.IP "" 4
+ mkdir
+-&#8962;IP "" 4
++.IP "" 4
+ mknod
+-&#8962;IP "" 4
++.IP "" 4
+ open
+-&#8962;IP "" 4
++.IP "" 4
+ opendir
+-&#8962;IP "" 4
++.IP "" 4
+ pread
+-&#8962;IP "" 4
++.IP "" 4
+ pwrite
+-&#8962;IP "" 4
++.IP "" 4
+ read
+-&#8962;IP "" 4
++.IP "" 4
+ readdir
+-&#8962;IP "" 4
++.IP "" 4
+ readlink
+-&#8962;IP "" 4
++.IP "" 4
+ realpath
+-&#8962;IP "" 4
++.IP "" 4
+ removexattr
+-&#8962;IP "" 4
++.IP "" 4
+ rename
+-&#8962;IP "" 4
++.IP "" 4
+ rewinddir
+-&#8962;IP "" 4
++.IP "" 4
+ rmdir
+-&#8962;IP "" 4
++.IP "" 4
+ seekdir
+-&#8962;IP "" 4
++.IP "" 4
+ sendfile
+-&#8962;IP "" 4
++.IP "" 4
+ set_nt_acl
+-&#8962;IP "" 4
++.IP "" 4
+ set_quota
+-&#8962;IP "" 4
++.IP "" 4
+ setxattr
+-&#8962;IP "" 4
++.IP "" 4
+ stat
+-&#8962;IP "" 4
++.IP "" 4
+ statvfs
+-&#8962;IP "" 4
++.IP "" 4
+ symlink
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_add_perm
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_clear_perms
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_create_entry
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_delete_def_file
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_free_acl
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_free_qualifier
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_free_text
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_entry
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_fd
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_file
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_perm
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_permset
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_qualifier
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_get_tag_type
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_init
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_set_fd
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_set_file
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_set_permset
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_set_qualifier
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_set_tag_type
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_to_text
+-&#8962;IP "" 4
++.IP "" 4
+ sys_acl_valid
+-&#8962;IP "" 4
++.IP "" 4
+ telldir
+-&#8962;IP "" 4
++.IP "" 4
+ unlink
+-&#8962;IP "" 4
++.IP "" 4
+ utime
+-&#8962;IP "" 4
++.IP "" 4
+ write
+-&#8962;PP
++.PP
+ In addition to these operations,
+ vfs_full_audit
+ recognizes the special operation names "all" and "none ", which refer to all the VFS operations and none of the VFS operations respectively.
+-&#8962;PP
++.PP
+ vfs_full_audit
+ records operations in fixed format consisting of fields separated by '|' characters. The format is:
+ 
+@@ -237,7 +237,7 @@
+ 		smbd_audit: PREFIX|OPERATION|RESULT|FILE
+ 	
+ .fi
+-&#8962;PP
++.PP
+ The record fields are:
+ \(bu
+ PREFIX
+@@ -254,46 +254,46 @@
+ \(bu
+ FILE
+ - the name of the file or directory the operation was performed on
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ vfs_full_audit:prefix = STRING
+-&#8962;RS 4
++.RS 4
+ Prepend audit messages with STRING. STRING is processed for standard substitution variables listed in
+-&#9619;fBsmb.conf&#9619;fR(5). The default prefix is "%u|%I".
+-&#8962;RE
+-&#8962;PP
++\fBsmb.conf\fR(5). The default prefix is "%u|%I".
++.RE
++.PP
+ vfs_full_audit:success = LIST
+-&#8962;RS 4
++.RS 4
+ LIST is a list of VFS operations that should be recorded if they succeed. Operations are specified using the names listed above.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ vfs_full_audit:failure = LIST
+-&#8962;RS 4
++.RS 4
+ LIST is a list of VFS operations that should be recorded if they failed. Operations are specified using the names listed above.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ full_audit:facility = FACILITY
+-&#8962;RS 4
++.RS 4
+ Log messages to the named
+-&#9619;fBsyslog&#9619;fR(3)
++\fBsyslog\fR(3)
+ facility.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ full_audit:priority = PRIORITY
+-&#8962;RS 4
++.RS 4
+ Log messages with the named
+-&#9619;fBsyslog&#9619;fR(3)
++\fBsyslog\fR(3)
+ priority.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including the username and IP address:
+ 
+ .nf
+ 
+-        &#9619;fI[records]&#9619;fR
++        \fI[records]\fR
+ 	path = /data/records
+ 	vfs objects = full_audit
+ 	full_audit:prefix = %u|%I
+@@ -303,10 +303,10 @@
+ 	full_audit:priority = ALERT
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_gpfs.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_gpfs.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_gpfs.8
+@@ -18,21 +18,21 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_GPFS" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_gpfs - gpfs specific samba extensions like acls and prealloc
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = gpfs
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ gpfs
+ VFS module is the home for all gpfs extensions that Samba requires for proper integration with GPFS. It uses the GPL library interfaces provided by GPFS.
+-&#8962;PP
++.PP
+ Currently the gpfs vfs module provides extensions in following areas :
+ \(bu
+ NFSv4 ACL Interfaces with configurable options for GPFS
+@@ -42,19 +42,19 @@
+ .TP
+ \(bu
+ Lease support on GPFS
+-&#8962;sp
+-&#8962;RE
++.sp
++.RE
+ 
+-&#8962;PP
++.PP
+ NOTE:This module follows the posix-acl behaviour and hence allows permission stealing via chown. Samba might allow at a later point in time, to restrict the chown via this module as such restrictions are the responsibility of the underlying filesystem than of Samba.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ nfs4:mode = [ simple | special ]
+-&#8962;RS 4
++.RS 4
+ Enable/Disable substitution of special IDs on GPFS. This parameter should not affect the windows users in anyway. It only ensures that Samba sets the special IDs - OWNER@ and GROUP@ ( mappings to simple uids ) that are relevant to GPFS.
+-&#8962;sp
++.sp
+ The following MODEs are understood by the module:
+ \(bu
+ simple(default)
+@@ -63,12 +63,12 @@
+ \(bu
+ special
+ - use special IDs in GPFS ACEs.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nfs4:acedup = [dontcare|reject|ignore|merge]
+-&#8962;RS 4
++.RS 4
+ This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs. GPFS allows/creates duplicate ACE for different bits for same ID.
+-&#8962;sp
++.sp
+ Following is the behaviour of Samba for different values :
+ \(bu
+ dontcare (default)
+@@ -85,14 +85,14 @@
+ \(bu
+ merge
+ - bitwise OR the 2 ace.flag fields and 2 ace.mask fields of the 2 duplicate ACEs into 1 ACE
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ nfs4:chown = [yes|no]
+-&#8962;RS 4
++.RS 4
+ This parameter allows enabling or disabling the chown supported by the underlying filesystem. This parameter should be enabled with care as it might leave your system insecure.
+-&#8962;sp
++.sp
+ Some filesystems allow chown as a) giving b) stealing. It is the latter that is considered a risk.
+-&#8962;sp
++.sp
+ Following is the behaviour of Samba for different values :
+ \(bu
+ yes
+@@ -101,33 +101,33 @@
+ \(bu
+ no (default)
+ - Disable chown
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ A GPFS mount can be exported via Samba as follows :
+ 
+ .nf
+ 
+-        &#9619;fI[samba_gpfs_share]&#9619;fR
++        \fI[samba_gpfs_share]\fR
+ 	vfs objects = gpfs
+ 	path = /test/gpfs_mount
+ 	nfs4: mode = special
+ 	nfs4: acedup = merge
+ 
+ .fi
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ The gpfs gpl libraries are required by
+ gpfs
+ VFS module during both compilation and runtime. Also this VFS module is tested to work on SLES 9/10 and RHEL 4.4
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The GPFS VFS module was created with contributions from Volker Lendecke and the developers at IBM.
+-&#8962;PP
++.PP
+ This manpage was created by the IBM FSCC team
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_netatalk.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_netatalk.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_netatalk.8
+@@ -18,39 +18,39 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_NETATALK" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_netatalk - hide .AppleDouble files from CIFS clients
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = netatalk
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_netatalk
+ VFS module dynamically hides .AppleDouble files, preventing spurious errors on some CIFS clients. .AppleDouble files may be created by historic implementations of AFP (Apple Filing Protocol) on servers.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ Hide .AppleDouble files on the [data] share:
+ 
+ .nf
+ 
+-        &#9619;fI[data]&#9619;fR
++        \fI[data]\fR
+ 	vfs objects = netatalk
+ 
+ .fi
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ This module is largely historic and unlikely to be of use in modern networks since current Apple systems are able to mount CIFS shares natively.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_notify_fam.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_notify_fam.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_notify_fam.8
+@@ -18,36 +18,36 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_NOTIFY_FAM" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_notify_fam - FAM support for file change notifications
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = notify_fam
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_notify_fam
+ module makes use of the system FAM (File Alteration Monitor) daemon to implement file change notifications for Windows clients. FAM is generally present only on IRIX and some BSD systems.
+-&#8962;PP
++.PP
+ This module is not stackable.
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ Support FAM notifications globally:
+ 
+ .nf
+ 
+-        &#9619;fI[global]&#9619;fR
++        \fI[global]\fR
+ 	vfs objects = notify_fam
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_prealloc.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_prealloc.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_prealloc.8
+@@ -18,28 +18,28 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_PREALLOC" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_prealloc - preallocate matching files to a predetermined size
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = prealloc
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_prealloc
+ VFS module preallocates files to a specified size each time a new file is created. This is useful in environments where files are of a predetermined size will be written to a disk subsystem where extending file allocations is expensive.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ prealloc:EXT = BYTES
+-&#8962;RS 4
++.RS 4
+ Preallocate all files with the extension EXT to the size specified by BYTES.
+-&#8962;sp
++.sp
+ The following suffixes may be applied to BYTES:
+ \(bu
+ K
+@@ -52,27 +52,27 @@
+ \(bu
+ G
+ - BYTES is a number of gigabytes
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ A process writes TIFF files to a Samba share, and the is known these files will almost always be around 4 megabytes (4194304 bytes):
+ 
+ .nf
+ 
+-        &#9619;fI[frames]&#9619;fR
++        \fI[frames]\fR
+ 	path = /data/frames
+ 	vfs objects = prealloc
+ 	prealloc:tiff = 4M
+ 
+ .fi
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ vfs_prealloc
+ is not supported on all platforms and filesystems. Currently only XFS filesystems on Linux and IRIX are supported.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_readahead.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_readahead.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_readahead.8
+@@ -18,42 +18,42 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_READAHEAD" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_readahead - pre-load the kernel buffer cache
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = readahead
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ This
+ vfs_readahead
+ VFS module detects read requests at multiples of a given offset (hex 0x80000 by default) and then tells the kernel via either the readahead system call (on Linux) or the posix_fadvise system call to pre-fetch this data into the buffer cache.
+-&#8962;PP
++.PP
+ This module is useful for Windows Vista clients reading data using the Windows Explorer program, which asynchronously does multiple file read requests at offset boundaries of 0x80000 bytes.
+-&#8962;PP
++.PP
+ The offset multiple used is given by the readahead:offset option, which defaults to 0x80000.
+-&#8962;PP
++.PP
+ The size of the disk read operations performed by
+ vfs_readahead
+ is determined by the readahead:length option. By default this is set to the same value as the readahead:offset option and if not set explicitly will use the current value of readahead:offset.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ readahead:offset = BYTES
+-&#8962;RS 4
++.RS 4
+ The offset multiple that causes readahead to be requested of the kernel buffer cache.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ readahead:length = BYTES
+-&#8962;RS 4
++.RS 4
+ The number of bytes requested to be read into the kernel buffer cache on each readahead call.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ The following suffixes may be applied to BYTES:
+ \(bu
+ K
+@@ -66,18 +66,18 @@
+ \(bu
+ G
+ - BYTES is a number of gigabytes
+-&#8962;SH "EXAMPLES"
++.SH "EXAMPLES"
+ 
+ .nf
+ 
+-	&#9619;fI[hypothetical]&#9619;fR
++	\fI[hypothetical]\fR
+ 	vfs objects = readahead
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_readonly.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_readonly.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_readonly.8
+@@ -18,54 +18,54 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_READONLY" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_readonly - make a Samba share read only for a specified time period
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = readonly
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_readonly
+ VFS module marks a share as read only for all clients connecting within the configured time period. Clients connecting during this time will be denied write access to all files in the share, irrespective of ther actual access privileges.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ readonly:period = BEGIN, END
+-&#8962;RS 4
++.RS 4
+ Only mark the share as read only if the client connection was made between the times marked by the BEGIN and END date specifiers. The syntax of these date specifiers is the same as that accepted by the -d option of GNU
+-&#9619;fBdate&#9619;fR(1).
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++\fBdate\fR(1).
++.RE
++.SH "EXAMPLES"
++.PP
+ Mark all shares read only:
+ 
+ .nf
+ 
+-        &#9619;fI[global]&#9619;fR
++        \fI[global]\fR
+ 	vfs objects = readonly
+ 
+ .fi
+-&#8962;PP
++.PP
+ Mark the [backup] share as read only during business hours:
+ 
+ .nf
+ 
+-        &#9619;fI[backup]&#9619;fR
++        \fI[backup]\fR
+ 	path = /readonly
+ 	vfs objects = readonly
+ 	readonly:period = readonly:period = "today 9:00","today 17:00"
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_recycle.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_recycle.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_recycle.8
+@@ -18,107 +18,107 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_RECYCLE" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_recycle - Samba VFS recycle bin
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = recycle
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_recycle
+ intercepts file deletion requests and moves the affected files to a temporary repository rather than deleting them immediately. This gives the same effect as the Recycle Bin on Windows computers.
+-&#8962;PP
++.PP
+ The Recycle Bin will not appear in Windows Explorer views of the network file system (share) nor on any mapped drive. Instead, a directory called .recycle will be automatically created when the first file is deleted and recycle:repository is not configured. If recycle:repository is configured, the name of the created directory depends on recycle:repository. Users can recover files from the recycle bin. If the recycle:keeptree option has been specified, deleted files will be found in a path identical with that from which the file was deleted.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ recycle:repository = PATH
+-&#8962;RS 4
++.RS 4
+ Path of the directory where deleted files should be moved.
+-&#8962;sp
++.sp
+ If this option is not set, the default path .recycle is used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:directory_mode = MODE
+-&#8962;RS 4
++.RS 4
+ Set MODE to the octal mode the recycle repository should be created with. The recycle repository will be created when first file is deleted. If recycle:subdir_mode is not set, MODE also applies to subdirectories.
+-&#8962;sp
++.sp
+ If this option is not set, the default mode 0700 is used.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:subdir_mode = MODE
+-&#8962;RS 4
++.RS 4
+ Set MODE to the octal mode with which sub directories of the recycle repository should be created.
+-&#8962;sp
++.sp
+ If this option is not set, subdirectories will be created with the mode from recycle:directory_mode.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:keeptree = BOOL
+-&#8962;RS 4
++.RS 4
+ Specifies whether the directory structure should be preserved or whether the files in a directory that is being deleted should be kept separately in the repository.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:versions = BOOL
+-&#8962;RS 4
++.RS 4
+ If this option is True, two files with the same name that are deleted will both be kept in the repository. Newer deleted versions of a file will be called "Copy #x of filename".
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:touch = BOOL
+-&#8962;RS 4
++.RS 4
+ Specifies whether a file's access date should be updated when the file is moved to the repository.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:touch_mtime = BOOL
+-&#8962;RS 4
++.RS 4
+ Specifies whether a file's last modified date should be updated when the file is moved to the repository.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:minsize = BYTES
+-&#8962;RS 4
++.RS 4
+ Files that are smaller than the number of bytes specified by this parameter will not be put into the repository.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:maxsize = BYTES
+-&#8962;RS 4
++.RS 4
+ Files that are larger than the number of bytes specified by this parameter will not be put into the repository.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:exclude = LIST
+-&#8962;RS 4
++.RS 4
+ List of files that should not be put into the repository when deleted, but deleted in the normal way. Wildcards such as * and ? are supported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:exclude_dir = LIST
+-&#8962;RS 4
++.RS 4
+ List of directories whose files should not be put into the repository when deleted, but deleted in the normal way. Wildcards such as * and ? are supported.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ recycle:noversions = LIST
+-&#8962;RS 4
++.RS 4
+ Specifies a list of paths (wildcards such as * and ? are supported) for which no versioning should be used. Only useful when recycle:versions is enabled.
+-&#8962;RE
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.RE
++.SH "EXAMPLES"
++.PP
+ Log operations on all shares using the LOCAL1 facility and NOTICE priority:
+ 
+ .nf
+ 
+-        &#9619;fI[global]&#9619;fR
++        \fI[global]\fR
+ 	vfs objects = recycle
+ 	recycle:facility = LOCAL1
+ 	recycle:priority = NOTICE
+ 
+ .fi
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfs_shadow_copy.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfs_shadow_copy.8
++++ samba-3.2.0~pre2/docs/manpages/vfs_shadow_copy.8
+@@ -18,30 +18,30 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFS_SHADOW_COPY" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfs_shadow_copy - Make a Samba share read only for a specified time period
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
++.SH "SYNOPSIS"
++.HP 1
+ vfs objects = shadow_copy
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "DESCRIPTION"
++.PP
+ This VFS module is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ vfs_shadow_copy
+ VFS module functionality that is similar to Microsoft Shadow Copy services. When setup properly, this module allows Microsoft Shadow Copy clients to browse "shadow copies" on Samba shares.
+-&#8962;PP
++.PP
+ This module is stackable.
+-&#8962;SH "CONFIGURATION"
+-&#8962;PP
++.SH "CONFIGURATION"
++.PP
+ vfs_shadow_copy
+ relies on a filesystem snapshot implementation. Many common filesystems have native support for this.
+-&#8962;PP
++.PP
+ Filesystem snapshots must be mounted on specially named directories in order to be recognized by
+ vfs_shadow_copy. The snapshot mount points must be immediate children of a the directory being shared.
+-&#8962;PP
++.PP
+ The snapshot naming convention is @GMT-YYYY.MM.DD-hh.mm.ss, where:
+ \(bu
+ YYYY
+@@ -66,17 +66,17 @@
+ \(bu
+ ss
+ is the 2 digit second.
+-&#8962;sp
+-&#8962;RE
++.sp
++.RE
+ 
+-&#8962;PP
++.PP
+ The
+ vfs_shadow_copy
+ snapshot naming convention can be produced with the following
+-&#9619;fBdate&#9619;fR(1)
++\fBdate\fR(1)
+ command:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -84,27 +84,27 @@
+ 	
+ .fi
+ 
+-&#8962;SH "EXAMPLES"
+-&#8962;PP
++.SH "EXAMPLES"
++.PP
+ Add shadow copy support to user home directories:
+ 
+ .nf
+ 
+-        &#9619;fI[homes]&#9619;fR
++        \fI[homes]\fR
+ 	vfs objects = shadow_copy
+ 
+ .fi
+-&#8962;SH "CAVEATS"
+-&#8962;PP
++.SH "CAVEATS"
++.PP
+ This is not a backup, archival, or version control solution.
+-&#8962;PP
++.PP
+ With Samba or Windows servers,
+ vfs_shadow_copy
+ is designed to be an end-user tool only. It does not replace or enhance your backup and archival solutions and should in no way be considered as such. Additionally, if you need version control, implement a version control system.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0.25 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/vfstest.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/vfstest.1
++++ samba-3.2.0~pre2/docs/manpages/vfstest.1
+@@ -18,74 +18,74 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "VFSTEST" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ vfstest - tool for testing samba VFS modules
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-vfstest [-d&#9600;debuglevel] [-c&#9600;command] [-l&#9600;logdir] [-h]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++vfstest [-d debuglevel] [-c command] [-l logdir] [-h]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ vfstest
+ is a small command line utility that has the ability to test dso samba VFS modules. It gives the user the ability to call the various VFS functions manually and supports cascaded VFS modules.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -c|--command=command
+-&#8962;RS 4
++.RS 4
+ Execute the specified (colon-separated) commands. See below for the commands that are available.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--logfile=logbasename
+-&#8962;RS 4
++.RS 4
+ File name for log/debug files. The extension
+-&#9619;fB'.client'&#9619;fR
++\fB'.client'\fR
+ will be appended. The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;SH "COMMANDS"
+-&#8962;PP
++.RE
++.SH "COMMANDS"
++.PP
+ \fBVFS COMMANDS\fR
+ \(bu
+ load <module.so>
+@@ -230,7 +230,7 @@
+ \(bu
+ realpath
+ - VFS realpath()
+-&#8962;PP
++.PP
+ \fBGENERAL COMMANDS\fR
+ \(bu
+ conf <smb.conf>
+@@ -251,12 +251,12 @@
+ \(bu
+ exit
+ - Exit vfstest
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.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.
+-&#8962;PP
++.PP
+ The vfstest man page was written by Jelmer Vernooij.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/wbinfo.1
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/wbinfo.1
++++ samba-3.2.0~pre2/docs/manpages/wbinfo.1
+@@ -18,267 +18,267 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "WBINFO" 1 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ wbinfo - Query information from winbind daemon
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-wbinfo [-a&#9600;user%password] [--all-domains] [--allocate-gid] [--allocate-uid] [-D&#9600;domain] [--domain&#9600;domain] [-g] [--getdcname&#9600;domain] [--get-auth-user] [-G&#9600;gid] [-h] [-i&#9600;user] [-I&#9600;ip] [-K&#9600;user%password] [-m] [-n&#9600;name] [-N&#9600;netbios-name] [--own-domain] [-p] [-r&#9600;user] [-s&#9600;sid] [--separator] [--sequence] [--set-auth-user&#9600;user%password] [-S&#9600;sid] [-t] [-u] [--uid-info&#9600;uid] [--user-domgroups&#9600;sid] [--user-sids&#9600;sid] [-U&#9600;uid] [-V] [-Y&#9600;sid]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++wbinfo [-a user%password] [--all-domains] [--allocate-gid] [--allocate-uid] [-D domain] [--domain domain] [-g] [--getdcname domain] [--get-auth-user] [-G gid] [-h] [-i user] [-I ip] [-K user%password] [-m] [-n name] [-N netbios-name] [--own-domain] [-p] [-r user] [-s sid] [--separator] [--sequence] [--set-auth-user user%password] [-S sid] [-t] [-u] [--uid-info uid] [--user-domgroups sid] [--user-sids sid] [-U uid] [-V] [-Y sid]
++.SH "DESCRIPTION"
++.PP
+ This tool is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ The
+ wbinfo
+ program queries and returns information created and used by the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon.
+-&#8962;PP
++.PP
+ The
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon must be configured and running for the
+ wbinfo
+ program to be able to return information.
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -a|--authenticate username%password
+-&#8962;RS 4
++.RS 4
+ Attempt to authenticate a user via winbindd. This checks both authenticaion methods and reports its results.
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
+ Do not be tempted to use this functionality for authentication in third-party applications. Instead use
+-&#9619;fBntlm_auth&#9619;fR(1).
++\fBntlm_auth\fR(1).
+ 
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --allocate-gid
+-&#8962;RS 4
++.RS 4
+ Get a new GID out of idmap
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --allocate-uid
+-&#8962;RS 4
++.RS 4
+ Get a new UID out of idmap
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --all-domains
+-&#8962;RS 4
++.RS 4
+ List all domains (trusted and own domain).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --domain name
+-&#8962;RS 4
++.RS 4
+ This parameter sets the domain on which any specified operations will performed. If special domain name '.' is used to represent the current domain to which winbindd belongs. Currently only the
+-&#9619;fB--sequence&#9619;fR,
+-&#9619;fB-u&#9619;fR, and
+-&#9619;fB-g&#9619;fR
++\fB--sequence\fR,
++\fB-u\fR, and
++\fB-g\fR
+ options honor this parameter.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -D|--domain-info domain
+-&#8962;RS 4
++.RS 4
+ Show most of the info we have about the domain.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -g|--domain-groups
+-&#8962;RS 4
++.RS 4
+ This option will list all groups available in the Windows NT domain for which the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ daemon is operating in. Groups in all trusted domains will also be listed. Note that this operation does not assign group ids to any groups that have not already been seen by
+-&#9619;fBwinbindd&#9619;fR(8).
+-&#8962;RE
+-&#8962;PP
++\fBwinbindd\fR(8).
++.RE
++.PP
+ --get-auth-user
+-&#8962;RS 4
++.RS 4
+ Print username and password used by winbindd during session setup to a domain controller. Username and password can be set using
+-&#9619;fB--set-auth-user&#9619;fR. Only available for root.
+-&#8962;RE
+-&#8962;PP
++\fB--set-auth-user\fR. Only available for root.
++.RE
++.PP
+ --getdcname domain
+-&#8962;RS 4
++.RS 4
+ Get the DC name for the specified domain.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -G|--gid-to-sid gid
+-&#8962;RS 4
++.RS 4
+ Try to convert a UNIX group id to a Windows NT SID. If the gid specified does not refer to one within the idmap gid range then the operation will fail.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i|--user-info user
+-&#8962;RS 4
++.RS 4
+ Get user info.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -I|--WINS-by-ip ip
+-&#8962;RS 4
++.RS 4
+ The
+-&#9619;fI-I&#9619;fR
++\fI-I\fR
+ option queries
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ to send a node status request to get the NetBIOS name associated with the IP address specified by the
+-&#9619;fIip&#9619;fR
++\fIip\fR
+ parameter.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -K|--krb5auth username%password
+-&#8962;RS 4
++.RS 4
+ Attempt to authenticate a user via Kerberos.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -m|--trusted-domains
+-&#8962;RS 4
++.RS 4
+ Produce a list of domains trusted by the Windows NT server
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ contacts when resolving names. This list does not include the Windows NT domain the server is a Primary Domain Controller for.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n|--name-to-sid name
+-&#8962;RS 4
++.RS 4
+ The
+-&#9619;fI-n&#9619;fR
++\fI-n\fR
+ option queries
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ for the SID associated with the name specified. Domain names can be specified before the user name by using the winbind separator character. For example CWDOM1/Administrator refers to the Administrator user in the domain CWDOM1. If no domain is specified then the domain used is the one specified in the
+-&#9619;fBsmb.conf&#9619;fR(5)
+-&#9619;fIworkgroup &#9619;fR
++\fBsmb.conf\fR(5)
++\fIworkgroup \fR
+ parameter.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -N|--WINS-by-name name
+-&#8962;RS 4
++.RS 4
+ The
+-&#9619;fI-N&#9619;fR
++\fI-N\fR
+ option queries
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ to query the WINS server for the IP address associated with the NetBIOS name specified by the
+-&#9619;fIname&#9619;fR
++\fIname\fR
+ parameter.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --own-domain
+-&#8962;RS 4
++.RS 4
+ List own domain.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -p|--ping
+-&#8962;RS 4
++.RS 4
+ Check whether winbindd is still alive. Prints out either 'succeeded' or 'failed'.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -r|--user-groups username
+-&#8962;RS 4
++.RS 4
+ Try to obtain the list of UNIX group ids to which the user belongs. This only works for users defined on a Domain Controller.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s|--sid-to-name sid
+-&#8962;RS 4
++.RS 4
+ Use
+-&#9619;fI-s&#9619;fR
++\fI-s\fR
+ to resolve a SID to a name. This is the inverse of the
+-&#9619;fI-n &#9619;fR
++\fI-n \fR
+ option above. SIDs must be specified as ASCII strings in the traditional Microsoft format. For example, S-1-5-21-1455342024-3071081365-2475485837-500.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --separator
+-&#8962;RS 4
++.RS 4
+ Get the active winbind separator.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --sequence
+-&#8962;RS 4
++.RS 4
+ Show sequence numbers of all known domains
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --set-auth-user username%password
+-&#8962;RS 4
++.RS 4
+ Store username and password used by winbindd during session setup to a domain controller. This enables winbindd to operate in a Windows 2000 domain with Restrict Anonymous turned on (a.k.a. Permissions compatible with Windows 2000 servers only).
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S|--sid-to-uid sid
+-&#8962;RS 4
++.RS 4
+ Convert a SID to a UNIX user id. If the SID does not correspond to a UNIX user mapped by
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ then the operation will fail.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -t|--check-secret
+-&#8962;RS 4
++.RS 4
+ Verify that the workstation trust account created when the Samba server is added to the Windows NT domain is working.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -u|--domain-users
+-&#8962;RS 4
++.RS 4
+ This option will list all users available in the Windows NT domain for which the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon is operating in. Users in all trusted domains will also be listed. Note that this operation does not assign user ids to any users that have not already been seen by
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ .
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --uid-info UID
+-&#8962;RS 4
++.RS 4
+ Get user info for the user conencted to user id UID.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --user-domgroups SID
+-&#8962;RS 4
++.RS 4
+ Get user domain groups.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ --user-sids SID
+-&#8962;RS 4
++.RS 4
+ Get user group SIDs for user.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -U|--uid-to-sid uid
+-&#8962;RS 4
++.RS 4
+ Try to convert a UNIX user id to a Windows NT SID. If the uid specified does not refer to one within the idmap uid range then the operation will fail.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -Y|--sid-to-gid sid
+-&#8962;RS 4
++.RS 4
+ Convert a SID to a UNIX group id. If the SID does not correspond to a UNIX group mapped by
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ then the operation will fail.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;SH "EXIT STATUS"
+-&#8962;PP
++.RE
++.SH "EXIT STATUS"
++.PP
+ The wbinfo program returns 0 if the operation succeeded, or 1 if the operation failed. If the
+-&#9619;fBwinbindd&#9619;fR(8)
++\fBwinbindd\fR(8)
+ daemon is not working
+ wbinfo
+ will always return failure.
+-&#8962;SH "VERSION"
+-&#8962;PP
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fBwinbindd&#9619;fR(8)
++.SH "SEE ALSO"
++.PP
++\fBwinbindd\fR(8)
+ and
+-&#9619;fBntlm_auth&#9619;fR(1)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++\fBntlm_auth\fR(1)
++.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.
+-&#8962;PP
++.PP
+ wbinfo
+ and
+ winbindd
+ were written by Tim Potter.
+-&#8962;PP
++.PP
+ The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 
+Index: samba-3.2.0~pre2/docs/manpages/winbindd.8
+===================================================================
+--- samba-3.2.0~pre2.orig/docs/manpages/winbindd.8
++++ samba-3.2.0~pre2/docs/manpages/winbindd.8
+@@ -18,22 +18,22 @@
+ .IP "\\$1" \\$2
+ ..
+ .TH "WINBINDD" 8 "" "" ""
+-&#8962;SH "NAME"
++.SH "NAME"
+ winbindd - Name Service Switch daemon for resolving names from NT servers
+-&#8962;SH "SYNOPSIS"
+-&#8962;HP 1
+-winbindd [-D] [-F] [-S] [-i] [-Y] [-d&#9600;<debug&#9600;level>] [-s&#9600;<smb&#9600;config&#9600;file>] [-n]
+-&#8962;SH "DESCRIPTION"
+-&#8962;PP
++.SH "SYNOPSIS"
++.HP 1
++winbindd [-D] [-F] [-S] [-i] [-Y] [-d <debug level>] [-s <smb config file>] [-n]
++.SH "DESCRIPTION"
++.PP
+ This program is part of the
+-&#9619;fBsamba&#9619;fR(7)
++\fBsamba\fR(7)
+ suite.
+-&#8962;PP
++.PP
+ winbindd
+ is a daemon that provides a number of services to the Name Service Switch capability found in most modern C libraries, to arbitrary applications via PAM and
+ ntlm_auth
+ and to Samba itself.
+-&#8962;PP
++.PP
+ Even if winbind is not used for nsswitch, it still provides a service to
+ smbd,
+ ntlm_auth
+@@ -42,73 +42,73 @@
+ PAM module, by managing connections to domain controllers. In this configuraiton the
+ idmap uid and
+ idmap gid parameters are not required. (This is known as `netlogon proxy only mode'.)
+-&#8962;PP
++.PP
+ The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS. The exact behaviour can be configured throught the
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fI/etc/nsswitch.conf\fR
+ file. Users and groups are allocated as they are resolved to a range of user and group ids specified by the administrator of the Samba system.
+-&#8962;PP
++.PP
+ The service provided by
+ winbindd
+ is called `winbind' and can be used to resolve user and group information from a Windows NT server. The service can also provide authentication services via an associated PAM module.
+-&#8962;PP
++.PP
+ The
+-&#9619;fIpam_winbind&#9619;fR
++\fIpam_winbind\fR
+ module supports the
+-&#9619;fIauth&#9619;fR,
+-&#9619;fIaccount&#9619;fR
++\fIauth\fR,
++\fIaccount\fR
+ and
+-&#9619;fIpassword&#9619;fR
++\fIpassword\fR
+ module-types. It should be noted that the
+-&#9619;fIaccount&#9619;fR
++\fIaccount\fR
+ module simply performs a getpwnam() to verify that the system can obtain a uid for the user, as the domain controller has already performed access control. If the
+-&#9619;fIlibnss_winbind&#9619;fR
++\fIlibnss_winbind\fR
+ library has been correctly installed, or an alternate source of names configured, this should always succeed.
+-&#8962;PP
++.PP
+ The following nsswitch databases are implemented by the winbindd service:
+-&#8962;PP
++.PP
+ -D
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes the server to operate as a daemon. That is, it detaches itself and runs in the background on the appropriate port. This switch is assumed if
+ winbindd
+ is executed on the command line of a shell.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ hosts
+-&#8962;RS 4
++.RS 4
+ This feature is only available on IRIX. User information traditionally stored in the
+-&#9619;fIhosts(5)&#9619;fR
++\fIhosts(5)\fR
+ file and used by
+ gethostbyname(3)
+ functions. Names are resolved through the WINS server or by broadcast.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ passwd
+-&#8962;RS 4
++.RS 4
+ User information traditionally stored in the
+-&#9619;fIpasswd(5)&#9619;fR
++\fIpasswd(5)\fR
+ file and used by
+ getpwent(3)
+ functions.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ group
+-&#8962;RS 4
++.RS 4
+ Group information traditionally stored in the
+-&#9619;fIgroup(5)&#9619;fR
++\fIgroup(5)\fR
+ file and used by
+ getgrent(3)
+ functions.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ For example, the following simple configuration in the
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fI/etc/nsswitch.conf\fR
+ file can be used to initially resolve user and group information from
+-&#9619;fI/etc/passwd &#9619;fR
++\fI/etc/passwd \fR
+ and
+-&#9619;fI/etc/group&#9619;fR
++\fI/etc/group\fR
+ and then from the Windows NT server.
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -119,11 +119,11 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ The following simple configuration in the
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fI/etc/nsswitch.conf\fR
+ file can be used to initially resolve hostnames from
+-&#9619;fI/etc/hosts&#9619;fR
++\fI/etc/hosts\fR
+ and then from the WINS server.
+ 
+ .nf
+@@ -131,10 +131,10 @@
+ hosts:		files wins
+ 
+ .fi
+-&#8962;SH "OPTIONS"
+-&#8962;PP
++.SH "OPTIONS"
++.PP
+ -F
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes the main
+ winbindd
+ process to not daemonize, i.e. double-fork and disassociate with the terminal. Child processes are still created as normal to service each connection request, but the main process does not exit. This operation mode is suitable for running
+@@ -146,57 +146,57 @@
+ from Daniel J. Bernstein's
+ daemontools
+ package, or the AIX process monitor.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -S
+-&#8962;RS 4
++.RS 4
+ If specified, this parameter causes
+ winbindd
+ to log to standard output rather than a file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -d|--debuglevel=level
+-&#8962;RS 4
+-&#9619;fIlevel&#9619;fR
++.RS 4
++\fIlevel\fR
+ is an integer from 0 to 10. The default value if this parameter is not specified is 0.
+-&#8962;sp
++.sp
+ The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
+-&#8962;sp
++.sp
+ Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
+-&#8962;sp
++.sp
+ Note that specifying this parameter here will override the
+ 
+ parameter in the
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -V
+-&#8962;RS 4
++.RS 4
+ Prints the program version number.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -s <configuration file>
+-&#8962;RS 4
++.RS 4
+ The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for more information. The default configuration file name is determined at compile time.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -l|--log-basename=logdirectory
+-&#8962;RS 4
++.RS 4
+ Base directory name for log/debug files. The extension
+-&#9619;fB".progname"&#9619;fR
++\fB".progname"\fR
+ will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -h|--help
+-&#8962;RS 4
++.RS 4
+ Print a summary of command line options.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -i
+-&#8962;RS 4
++.RS 4
+ Tells
+ winbindd
+ to not become a daemon and detach from the current terminal. This option is used by developers when interactive debugging of
+@@ -206,40 +206,40 @@
+ also logs to standard output, as if the
+ -S
+ parameter had been given.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -n
+-&#8962;RS 4
++.RS 4
+ Disable caching. This means winbindd will always have to wait for a response from the domain controller before it can respond to a client and this thus makes things slower. The results will however be more accurate, since results from the cache might not be up-to-date. This might also temporarily hang winbindd if the DC doesn't respond.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ -Y
+-&#8962;RS 4
++.RS 4
+ Single daemon mode. This means winbindd will run as a single process (the mode of operation in Samba 2.2). Winbindd's default behavior is to launch a child process that is responsible for updating expired cache entries.
+-&#8962;RE
+-&#8962;SH "NAME AND ID RESOLUTION"
+-&#8962;PP
++.RE
++.SH "NAME AND ID RESOLUTION"
++.PP
+ Users and groups on a Windows NT server are assigned a security id (SID) which is globally unique when the user or group is created. To convert the Windows NT user or group into a unix user or group, a mapping between SIDs and unix user and group ids is required. This is one of the jobs that
+ winbindd
+ performs.
+-&#8962;PP
++.PP
+ As winbindd users and groups are resolved from a server, user and group ids are allocated from a specified range. This is done on a first come, first served basis, although all existing users and groups will be mapped as soon as a client performs a user or group enumeration command. The allocated unix ids are stored in a database and will be remembered.
+-&#8962;PP
++.PP
+ WARNING: The SID to unix id database is the only location where the user and group mappings are stored by winbindd. If this store is deleted or corrupted, there is no way for winbindd to determine which user and group ids correspond to Windows NT user and group rids.
+-&#8962;PP
++.PP
+ See the
+ 
+ or the old
+ 
+ parameters in
+-&#9619;fIsmb.conf&#9619;fR
++\fIsmb.conf\fR
+ for options for sharing this database, such as via LDAP.
+-&#8962;SH "CONFIGURATION"
+-&#8962;PP
++.SH "CONFIGURATION"
++.PP
+ Configuration of the
+ winbindd
+ daemon is done through configuration parameters in the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file. All parameters should be specified in the [global] section of smb.conf.
+ \(bu
+ 
+@@ -284,15 +284,15 @@
+ \(bu
+ 
+ winbind: rpc only Setting this parameter forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers.
+-&#8962;SH "EXAMPLE SETUP"
+-&#8962;PP
++.SH "EXAMPLE SETUP"
++.PP
+ To setup winbindd for user and group lookups plus authentication from a domain controller use something like the following setup. This was tested on an early Red Hat Linux box.
+-&#8962;PP
++.PP
+ In
+-&#9619;fI/etc/nsswitch.conf&#9619;fR
++\fI/etc/nsswitch.conf\fR
+ put the following:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -301,14 +301,14 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ In
+-&#9619;fI/etc/pam.d/*&#9619;fR
++\fI/etc/pam.d/*\fR
+ replace the
+-&#9619;fI auth&#9619;fR
++\fI auth\fR
+ lines with something like this:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -320,54 +320,54 @@
+ 
+ .fi
+ 
+-&#8962;sp
+-&#8962;it 1 an&#9617;trap
+-&#8962;nr an&#9617;no&#9617;space&#9617;flag 1
+-&#8962;nr an&#9617;break&#9617;flag 1
+-&#8962;br
+-&#9619;fBNote&#9619;fR
+-&#8962;PP
++.sp
++.it 1 an-trap
++.nr an-no-space-flag 1
++.nr an-break-flag 1
++.br
++\fBNote\fR
++.PP
+ The PAM module pam_unix has recently replaced the module pam_pwdb. Some Linux systems use the module pam_unix2 in place of pam_unix.
+ 
+-&#8962;PP
++.PP
+ Note in particular the use of the
+-&#9619;fIsufficient &#9619;fR
++\fIsufficient \fR
+ keyword and the
+-&#9619;fIuse_first_pass&#9619;fR
++\fIuse_first_pass\fR
+ keyword.
+-&#8962;PP
++.PP
+ Now replace the account lines with this:
+-&#8962;PP
++.PP
+ account required /lib/security/pam_winbind.so
+-&#8962;PP
++.PP
+ The next step is to join the domain. To do that use the
+ net
+ program like this:
+-&#8962;PP
++.PP
+ net join -S PDC -U Administrator
+-&#8962;PP
++.PP
+ The username after the
+-&#9619;fI-U&#9619;fR
++\fI-U\fR
+ can be any Domain user that has administrator privileges on the machine. Substitute the name or IP of your PDC for "PDC".
+-&#8962;PP
++.PP
+ Next copy
+-&#9619;fIlibnss_winbind.so&#9619;fR
++\fIlibnss_winbind.so\fR
+ to
+-&#9619;fI/lib&#9619;fR
++\fI/lib\fR
+ and
+-&#9619;fIpam_winbind.so &#9619;fR
++\fIpam_winbind.so \fR
+ to
+-&#9619;fI/lib/security&#9619;fR. A symbolic link needs to be made from
+-&#9619;fI/lib/libnss_winbind.so&#9619;fR
++\fI/lib/security\fR. A symbolic link needs to be made from
++\fI/lib/libnss_winbind.so\fR
+ to
+-&#9619;fI/lib/libnss_winbind.so.2&#9619;fR. If you are using an older version of glibc then the target of the link should be
+-&#9619;fI/lib/libnss_winbind.so.1&#9619;fR.
+-&#8962;PP
++\fI/lib/libnss_winbind.so.2\fR. If you are using an older version of glibc then the target of the link should be
++\fI/lib/libnss_winbind.so.1\fR.
++.PP
+ Finally, setup a
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ containing directives like the following:
+ 
+-&#8962;sp
++.sp
+ 
+ .nf
+ 
+@@ -384,118 +384,118 @@
+ 
+ .fi
+ 
+-&#8962;PP
++.PP
+ Now start winbindd and you should find that your user and group database is expanded to include your NT users and groups, and that you can login to your unix box as a domain user, using the DOMAIN+user syntax for the username. You may wish to use the commands
+ getent passwd
+ and
+ getent group
+ to confirm the correct operation of winbindd.
+-&#8962;SH "NOTES"
+-&#8962;PP
++.SH "NOTES"
++.PP
+ The following notes are useful when configuring and running
+ winbindd:
+-&#8962;PP
+-&#9619;fBnmbd&#9619;fR(8)
++.PP
++\fBnmbd\fR(8)
+ must be running on the local machine for
+ winbindd
+ to work.
+-&#8962;PP
++.PP
+ PAM is really easy to misconfigure. Make sure you know what you are doing when modifying PAM configuration files. It is possible to set up PAM such that you can no longer log into your system.
+-&#8962;PP
++.PP
+ If more than one UNIX machine is running
+ winbindd, then in general the user and groups ids allocated by winbindd will not be the same. The user and group ids will only be valid for the local machine, unless a shared
+ 
+ is configured.
+-&#8962;PP
++.PP
+ If the the Windows NT SID to UNIX user and group id mapping file is damaged or destroyed then the mappings will be lost.
+-&#8962;SH "SIGNALS"
+-&#8962;PP
++.SH "SIGNALS"
++.PP
+ The following signals can be used to manipulate the
+ winbindd
+ daemon.
+-&#8962;PP
++.PP
+ SIGHUP
+-&#8962;RS 4
++.RS 4
+ Reload the
+-&#9619;fBsmb.conf&#9619;fR(5)
++\fBsmb.conf\fR(5)
+ file and apply any parameter changes to the running version of winbindd. This signal also clears any cached user and group information. The list of other domains trusted by winbindd is also reloaded.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ SIGUSR2
+-&#8962;RS 4
++.RS 4
+ The SIGUSR2 signal will cause
+ winbindd
+ to write status information to the winbind log file.
+-&#8962;sp
++.sp
+ Log files are stored in the filename specified by the log file parameter.
+-&#8962;RE
+-&#8962;SH "FILES"
+-&#8962;PP
+-&#9619;fI/etc/nsswitch.conf(5)&#9619;fR
+-&#8962;RS 4
++.RE
++.SH "FILES"
++.PP
++\fI/etc/nsswitch.conf(5)\fR
++.RS 4
+ Name service switch configuration file.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ /tmp/.winbindd/pipe
+-&#8962;RS 4
++.RS 4
+ The UNIX pipe over which clients communicate with the
+ winbindd
+ program. For security reasons, the winbind client will only attempt to connect to the winbindd daemon if both the
+-&#9619;fI/tmp/.winbindd&#9619;fR
++\fI/tmp/.winbindd\fR
+ directory and
+-&#9619;fI/tmp/.winbindd/pipe&#9619;fR
++\fI/tmp/.winbindd/pipe\fR
+ file are owned by root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ $LOCKDIR/winbindd_privileged/pipe
+-&#8962;RS 4
++.RS 4
+ The UNIX pipe over which 'privileged' clients communicate with the
+ winbindd
+ program. For security reasons, access to some winbindd functions - like those needed by the
+ ntlm_auth
+ utility - is restricted. By default, only users in the 'root' group will get this access, however the administrator may change the group permissions on $LOCKDIR/winbindd_privileged to allow programs like 'squid' to use ntlm_auth. Note that the winbind client will only attempt to connect to the winbindd daemon if both the
+-&#9619;fI$LOCKDIR/winbindd_privileged&#9619;fR
++\fI$LOCKDIR/winbindd_privileged\fR
+ directory and
+-&#9619;fI$LOCKDIR/winbindd_privileged/pipe&#9619;fR
++\fI$LOCKDIR/winbindd_privileged/pipe\fR
+ file are owned by root.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ /lib/libnss_winbind.so.X
+-&#8962;RS 4
++.RS 4
+ Implementation of name service switch library.
+-&#8962;RE
+-&#8962;PP
++.RE
++.PP
+ $LOCKDIR/winbindd_idmap.tdb
+-&#8962;RS 4
++.RS 4
+ Storage for the Windows NT rid to UNIX user/group id mapping. The lock directory is specified when Samba is initially compiled using the
+-&#9619;fI--with-lockdir&#9619;fR
++\fI--with-lockdir\fR
+ option. This directory is by default
+-&#9619;fI/usr/local/samba/var/locks &#9619;fR.
+-&#8962;RE
+-&#8962;PP
++\fI/usr/local/samba/var/locks \fR.
++.RE
++.PP
+ $LOCKDIR/winbindd_cache.tdb
+-&#8962;RS 4
++.RS 4
+ Storage for cached user and group information.
+-&#8962;RE
+-&#8962;SH "VERSION"
+-&#8962;PP
++.RE
++.SH "VERSION"
++.PP
+ This man page is correct for version 3.0 of the Samba suite.
+-&#8962;SH "SEE ALSO"
+-&#8962;PP
+-&#9619;fInsswitch.conf(5)&#9619;fR,
+-&#9619;fBsamba&#9619;fR(7),
+-&#9619;fBwbinfo&#9619;fR(1),
+-&#9619;fBntlm_auth&#9619;fR(8),
+-&#9619;fBsmb.conf&#9619;fR(5),
+-&#9619;fBpam_winbind&#9619;fR(8)
+-&#8962;SH "AUTHOR"
+-&#8962;PP
++.SH "SEE ALSO"
++.PP
++\fInsswitch.conf(5)\fR,
++\fBsamba\fR(7),
++\fBwbinfo\fR(1),
++\fBntlm_auth\fR(8),
++\fBsmb.conf\fR(5),
++\fBpam_winbind\fR(8)
++.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.
+-&#8962;PP
++.PP
+ wbinfo
+ and
+ winbindd
+ were written by Tim Potter.
+-&#8962;PP
++.PP
+ The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
+ 

Modified: branches/samba/experimental/debian/patches/series
===================================================================
--- branches/samba/experimental/debian/patches/series	2008-03-24 09:02:49 UTC (rev 1784)
+++ branches/samba/experimental/debian/patches/series	2008-03-24 09:12:54 UTC (rev 1785)
@@ -1,3 +1,4 @@
+fix-manpage-htmlchars.patch
 documentation.patch
 fhs-newpaths.patch
 fhs-filespaths.patch




More information about the Pkg-samba-maint mailing list