summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-02 22:37:29 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-02 22:37:29 +0000
commit447359979c1bc7945548f284e09fa02bd5199c30 (patch)
treece81c15102228e97638e65fb69aa27238009e642 /docs
parent364025fe37acfda89f47f6dfa7b97a9b7651e060 (diff)
downloadsamba-447359979c1bc7945548f284e09fa02bd5199c30.tar.gz
samba-447359979c1bc7945548f284e09fa02bd5199c30.tar.bz2
samba-447359979c1bc7945548f284e09fa02bd5199c30.zip
updating smb.conf from yodl
(This used to be commit da442218c5990aab75525bc519b5ed37ef54cc4a)
Diffstat (limited to 'docs')
-rw-r--r--docs/htmldocs/smb.conf.5.html136
-rw-r--r--docs/manpages/smb.conf.5176
2 files changed, 274 insertions, 38 deletions
diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html
index fd0c6809a7..35d7f5afb3 100644
--- a/docs/htmldocs/smb.conf.5.html
+++ b/docs/htmldocs/smb.conf.5.html
@@ -427,6 +427,7 @@ parameter for details. Note that some are synonyms.
<p><br><li > <a href="smb.conf.5.html#domainguestusers"><strong>domain guest users</strong></a>
<p><br><li > <a href="smb.conf.5.html#domainlogons"><strong>domain logons</strong></a>
<p><br><li > <a href="smb.conf.5.html#domainmaster"><strong>domain master</strong></a>
+<p><br><li > <a href="smb.conf.5.html#domainusermap"><strong>domain user map</strong></a>
<p><br><li > <a href="smb.conf.5.html#encryptpasswords"><strong>encrypt passwords</strong></a>
<p><br><li > <a href="smb.conf.5.html#getwdcache"><strong>getwd cache</strong></a>
<p><br><li > <a href="smb.conf.5.html#homedirmap"><strong>homedir map</strong></a>
@@ -822,7 +823,7 @@ request immediately if the lock range cannot be obtained.
<p><br><strong>Example:</strong>
<code> blocking locks = False</code>
<p><br><a name="browsable"></a>
-<li><strong><strong>browseable (S)</strong></strong>
+<li><strong><strong>browsable (S)</strong></strong>
<p><br>Synonym for <a href="smb.conf.5.html#browseable"><strong>browseable</strong></a>.
<p><br><a name="browselist"></a>
<li><strong><strong>browse list(G)</strong></strong>
@@ -1263,13 +1264,15 @@ NT users, despite the lack of native support for the NT Security model
(based on VAX/VMS) in UNIX. The reader is advised to become familiar
with the NT Domain system and its administration.
<p><br>This option is used in conjunction with <a href="smb.conf.5.html#localgroupmap"><strong>'local group map'</strong></a>
-and <a href="smb.conf.5.html#usernamemap"><strong>'username map'</strong></a>. The use of these three
+and <a href="smb.conf.5.html#domainusermap"><strong>'domain user map'</strong></a>. The use of these three
options is trivial and often unnecessary in the case where Samba is
not expected to interact with any other SAM databases (whether local
workstations or Domain Controllers).
<p><br>The map file is parsed line by line. If any line begins with a <code>'#'</code>
or a <code>';'</code> then it is ignored. Each line should contain a single UNIX
-group name on the left then an NT Domain Group name on the right.
+group name on the left then a single NT Domain Group name on the right,
+separated by a tabstop or <code>'='</code>. If either name contains spaces then
+it should be enclosed in quotes.
The line can be either of the form:
<p><br><code> UNIXgroupname \\DOMAIN_NAME\\DomainGroupName </code>
<p><br>or:
@@ -1279,28 +1282,39 @@ or it is a member of a domain using <a href="smb.conf.5.html#security"><strong>"
the latter format can be used: the default Domain name is the Samba Server's
Domain name, specified by <a href="smb.conf.5.html#workgroup"><strong>"workgroup = MYGROUP"</strong></a>.
<p><br>Any UNIX groups that are <em>NOT</em> specified in this map file are assumed
-to be Domain Groups.
-<p><br>In this case, when Samba is an <strong>EXPERIMENTAL</strong> Domain Controller, Samba
+to be Domain Groups, but it depends on the role of the Samba Server.
+<p><br>In the case when Samba is an <strong>EXPERIMENTAL</strong> Domain Controller, Samba
will present <em>ALL</em> such unspecified UNIX groups as its own NT Domain
Groups, with the same name.
<p><br>In the case where Samba is member of a domain using
<a href="smb.conf.5.html#security"><strong>"security = domain"</strong></a>, Samba will check the UNIX name with
its Domain Controller (see <a href="smb.conf.5.html#passwordserver"><strong>"password server"</strong></a>)
-as if it was an NT Domain Group. If the UNIX group is not an NT Group,
+as if it was an NT Domain Group. If the Domain Controller says that it is not,
such unspecified (unmapped) UNIX groups which also are not NT Domain
Groups are treated as Local Groups in the Samba Server's local SAM database.
NT Administrators will recognise these as Workstation Local Groups,
which are managed by running <strong>USRMGR.EXE</strong> and selecting a remote
Domain named "\\WORKSTATION_NAME", or by running <strong>MUSRMGR.EXE</strong> on
a local Workstation.
+<p><br>This may sound complicated, but it means that a Samba Server as
+either a member of a domain or as an <strong>EXPERIMENTAL</strong> Domain Controller
+will act like an NT Workstation (with a local SAM database) or an NT PDC
+(with a Domain SAM database) respectively, without the need for any of
+the map files at all. If you <strong>want</strong> to get fancy, however, you can.
<p><br>Note that adding an entry to map an arbitrary NT group in an arbitrary
-Domain to an arbitrary UNIX group requires the following: that the UNIX
-group exists on the UNIX server; that the NT Domain Group exists in the
-specified NT Domain; that the UNIX Server knows about the specified Domain;
-that all the UNIX users (who are expecting to access the Samba
+Domain to an arbitrary UNIX group <em>REQUIRES</em> the following:
+<p><br><ul>
+<p><br><li > that the UNIX group exists on the UNIX server.
+<p><br><li > that the NT Domain Group exists in the specified NT Domain
+<p><br><li > that the UNIX Server knows about the specified Domain;
+<p><br><li > that all the UNIX users (who are expecting to access the Samba
Server as the correct NT user and with the correct NT group permissions)
in the UNIX group be mapped to the correct NT Domain users in the specified
-NT Domain using <a href="smb.conf.5.html#usernamemap"><strong>'username map'</strong></a>.
+NT Domain using <a href="smb.conf.5.html#domainusermap"><strong>'domain user map'</strong></a>.
+<p><br></ul>
+<p><br>Failure to meet any of these requirements may result in either (or
+both) errors reported in the log files or (and) incorrect or missing
+access rights granted to users.
<p><br><a name="domaingroups"></a>
<li><strong><strong>domain groups (G)</strong></strong>
<p><br>This is an <strong>EXPERIMENTAL</strong> parameter that is part of the unfinished
@@ -1362,6 +1376,66 @@ PDC is able to do so then cross subnet browsing will behave strangely
and may fail.
<p><br><strong>Default:</strong>
<code> domain master = no</code>
+<p><br><a name="domainusermap"></a>
+<li><strong><strong>domain user map (G)</strong></strong>
+<p><br>This option allows you to specify a file containing unique mappings
+of individual NT Domain User names (in any domain) to UNIX user
+names. This allows NT domain users to be presented correctly to
+NT systems, despite the lack of native support for the NT Security model
+(based on VAX/VMS) in UNIX. The reader is advised to become familiar
+with the NT Domain system and its administration.
+<p><br>This option is used in conjunction with <a href="smb.conf.5.html#localgroupmap"><strong>'local group map'</strong></a>
+and <a href="smb.conf.5.html#domaingroupmap"><strong>'domain group map'</strong></a>. The use of these three
+options is trivial and often unnecessary in the case where Samba is
+not expected to interact with any other SAM databases (whether local
+workstations or Domain Controllers).
+<p><br>This option, which provides (and maintains) a one-to-one link between
+UNIX and NT users, is <em>DIFFERENT</em> from <a href="smb.conf.5.html#usernamemap"><strong>'username map'</strong></a>, which does <em>NOT</em> maintain a distinction between the
+name(s) it can map to and the name it maps.
+<p><br>The map file is parsed line by line. If any line begins with a <code>'#'</code>
+or a <code>';'</code> then the line is ignored. Each line should contain a single UNIX
+user name on the left then a single NT Domain User name on the right,
+separated by a tabstop or <code>'='</code>. If either name contains spaces then
+it should be enclosed in quotes.
+The line can be either of the form:
+<p><br><code> UNIXusername \\DOMAIN_NAME\\DomainUserName </code>
+<p><br>or:
+<p><br><code> UNIXusername DomainUserName </code>
+<p><br>In the case where Samba is either an <strong>EXPERIMENTAL</strong> Domain Controller
+or it is a member of a domain using <a href="smb.conf.5.html#security"><strong>"security = domain"</strong></a>,
+the latter format can be used: the default Domain name is the Samba Server's
+Domain name, specified by <a href="smb.conf.5.html#workgroup"><strong>"workgroup = MYGROUP"</strong></a>.
+<p><br>Any UNIX users that are <em>NOT</em> specified in this map file are assumed
+to be either Domain or Workstation Users, depending on the role of the
+Samba Server.
+<p><br>In the case when Samba is an <strong>EXPERIMENTAL</strong> Domain Controller, Samba
+will present <em>ALL</em> such unspecified UNIX users as its own NT Domain
+Users, with the same name.
+<p><br>In the case where Samba is member of a domain using
+<a href="smb.conf.5.html#security"><strong>"security = domain"</strong></a>, Samba will check the UNIX name with
+its Domain Controller (see <a href="smb.conf.5.html#passwordserver"><strong>"password server"</strong></a>)
+as if it was an NT Domain User. If the Domain Controller says that it is not,
+such unspecified (unmapped) UNIX users which also are not NT Domain
+Users are treated as Local Users in the Samba Server's local SAM database.
+NT Administrators will recognise these as Workstation Users,
+which are managed by running <strong>USRMGR.EXE</strong> and selecting a remote
+Domain named "\\WORKSTATION_NAME", or by running <strong>MUSRMGR.EXE</strong> on
+a local Workstation.
+<p><br>This may sound complicated, but it means that a Samba Server as
+either a member of a domain or as an <strong>EXPERIMENTAL</strong> Domain Controller
+will act like an NT Workstation (with a local SAM database) or an NT PDC
+(with a Domain SAM database) respectively, without the need for any of
+the map files at all. If you <strong>want</strong> to get fancy, however, you can.
+<p><br>Note that adding an entry to map an arbitrary NT User in an arbitrary
+Domain to an arbitrary UNIX user <em>REQUIRES</em> the following:
+<p><br><ul>
+<p><br><li > that the UNIX user exists on the UNIX server.
+<p><br><li > that the NT Domain User exists in the specified NT Domain.
+<p><br><li > that the UNIX Server knows about the specified Domain.
+<p><br></ul>
+<p><br>Failure to meet any of these requirements may result in either (or
+both) errors reported in the log files or (and) incorrect or missing
+access rights granted to users.
<p><br><a name="dontdescend"></a>
<li><strong><strong>dont descend (S)</strong></strong>
<p><br>There are certain directories on some systems (e.g., the <code>/proc</code> tree
@@ -1892,13 +1966,15 @@ NT users, despite the lack of native support for the NT Security model
(based on VAX/VMS) in UNIX. The reader is advised to become familiar
with the NT Domain system and its administration.
<p><br>This option is used in conjunction with <a href="smb.conf.5.html#domaingroupmap"><strong>'domain group map'</strong></a>
-and <a href="smb.conf.5.html#usernamemap"><strong>'username map'</strong></a>. The use of these three
+and <a href="smb.conf.5.html#domainusermap"><strong>'domain name map'</strong></a>. The use of these three
options is trivial and often unnecessary in the case where Samba
is not expected to interact with any other SAM databases (whether local
workstations or Domain Controllers).
<p><br>The map file is parsed line by line. If any line begins with a <code>'#'</code>
or a <code>';'</code> then it is ignored. Each line should contain a single UNIX
-group name on the left then an NT Local Group name on the right.
+group name on the left then a single NT Local Group name on the right,
+separated by a tabstop or <code>'='</code>. If either name contains spaces then
+it should be enclosed in quotes.
The line can be either of the form:
<p><br><code> UNIXgroupname \\DOMAIN_NAME\\LocalGroupName </code>
<p><br>or:
@@ -1909,27 +1985,38 @@ the latter format can be used: the default Domain name is the Samba Server's
Domain name, specified by <a href="smb.conf.5.html#workgroup"><strong>"workgroup = MYGROUP"</strong></a>.
<p><br>Any UNIX groups that are <em>NOT</em> specified in this map file are treated
as Local Groups depending on the role of the Samba Server.
-<p><br>When Samba is an <strong>EXPERIMENTAL</strong> Domain Controller, Samba
+<p><br>In the case when Samba is an <strong>EXPERIMENTAL</strong> Domain Controller, Samba
will present <em>ALL</em> unspecified UNIX groups as its own NT Domain
Groups, with the same name, and <em>NOT</em> as Local Groups.
<p><br>In the case where Samba is member of a domain using
<a href="smb.conf.5.html#security"><strong>"security = domain"</strong></a>, Samba will check the UNIX name with
its Domain Controller (see <a href="smb.conf.5.html#passwordserver"><strong>"password server"</strong></a>)
-as if it was an NT Domain Group. If the UNIX group is not an NT Group,
+as if it was an NT Domain Group. If the Domain Controller says that it is not,
such unspecified (unmapped) UNIX groups which also are not NT Domain
Groups are treated as Local Groups in the Samba Server's local SAM database.
NT Administrators will recognise these as Workstation Local Groups,
which are managed by running <strong>USRMGR.EXE</strong> and selecting a remote
Domain named "\\WORKSTATION_NAME", or by running <strong>MUSRMGR.EXE</strong> on
a local Workstation.
+<p><br>This may sound complicated, but it means that a Samba Server as
+either a member of a domain or as an <strong>EXPERIMENTAL</strong> Domain Controller
+will act like an NT Workstation (with a local SAM database) or an NT PDC
+(with a Domain SAM database) respectively, without the need for any of
+the map files at all. If you <strong>want</strong> to get fancy, however, you can.
<p><br>Note that adding an entry to map an arbitrary NT group in an arbitrary
-Domain to an arbitrary UNIX group requires the following: that the UNIX
-group exists on the UNIX server; that the NT Local Group exists in the
-specified NT Domain; that the UNIX Server knows about the specified Domain;
-that all the UNIX users (who are expecting to access the Samba
+Domain to an arbitrary UNIX group <em>REQUIRES</em> the following:
+<p><br><ul>
+<p><br><li > that the UNIX group exists on the UNIX server.
+<p><br><li > that the NT Domain Group exists in the specified NT Domain
+<p><br><li > that the UNIX Server knows about the specified Domain;
+<p><br><li > that all the UNIX users (who are expecting to access the Samba
Server as the correct NT user and with the correct NT group permissions)
in the UNIX group be mapped to the correct NT Domain users in the specified
-NT Domain using <a href="smb.conf.5.html#usernamemap"><strong>'username map'</strong></a>.
+NT Domain using <a href="smb.conf.5.html#domainusermap"><strong>'domain user map'</strong></a>.
+<p><br></ul>
+<p><br>Failure to meet any of these requirements may result in either (or
+both) errors reported in the log files or (and) incorrect or missing
+access rights granted to users.
<p><br><a name="localmaster"></a>
<li><strong><strong>local master (G)</strong></strong>
<p><br>This option allows <a href="nmbd.8.html"><strong>nmbd</strong></a> to try and become a
@@ -4203,6 +4290,15 @@ 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.
+<p><br>The use of this option, therefore, relates to UNIX usernames
+and not Windows (specifically NT Domain) usernames. In other words,
+once a name has been mapped using this option, the Samba server uses
+the mapped name for internal <em>AND</em> external purposes.
+<p><br>This option is <em>DIFFERENT</em> from the <a href="smb.conf.5.html#domainusermap"><strong>"domain user map"</strong></a>
+parameter, which maintains a one-to-one mapping between UNIX usernames
+and NT Domain Usernames: more specifically, the Samba server maintains
+a link between <em>BOTH</em> usernames, presenting the NT username to the
+external NT world, and using the UNIX username internally.
<p><br>The map file is parsed line by line. Each line should contain a single
UNIX username on the left then a <code>'='</code> followed by a list of
usernames on the right. The list of usernames on the right may contain
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
index 5c89a0ace0..9215184ae5 100644
--- a/docs/manpages/smb.conf.5
+++ b/docs/manpages/smb.conf.5
@@ -569,6 +569,9 @@ parameter for details\&. Note that some are synonyms\&.
\fBdomain master\fP
.IP
.IP o
+\fBdomain user map\fP
+.IP
+.IP o
\fBencrypt passwords\fP
.IP
.IP o
@@ -1439,7 +1442,7 @@ This parameter can be set per share\&.
\fBExample:\fP
\f(CW blocking locks = False\fP
.IP
-.IP "\fBbrowseable (S)\fP"
+.IP "\fBbrowsable (S)\fP"
.IP
Synonym for \fBbrowseable\fP\&.
.IP
@@ -2047,14 +2050,16 @@ NT users, despite the lack of native support for the NT Security model
with the NT Domain system and its administration\&.
.IP
This option is used in conjunction with \fB\'local group map\'\fP
-and \fB\'username map\'\fP\&. The use of these three
+and \fB\'domain user map\'\fP\&. The use of these three
options is trivial and often unnecessary in the case where Samba is
not expected to interact with any other SAM databases (whether local
workstations or Domain Controllers)\&.
.IP
The map file is parsed line by line\&. If any line begins with a \f(CW\'#\'\fP
or a \f(CW\';\'\fP then it is ignored\&. Each line should contain a single UNIX
-group name on the left then an NT Domain Group name on the right\&.
+group name on the left then a single NT Domain Group name on the right,
+separated by a tabstop or \f(CW\'=\'\fP\&. If either name contains spaces then
+it should be enclosed in quotes\&.
The line can be either of the form:
.IP
\f(CW UNIXgroupname \e\eDOMAIN_NAME\e\eDomainGroupName \fP
@@ -2069,16 +2074,16 @@ the latter format can be used: the default Domain name is the Samba Server\'s
Domain name, specified by \fB"workgroup = MYGROUP"\fP\&.
.IP
Any UNIX groups that are \fINOT\fP specified in this map file are assumed
-to be Domain Groups\&.
+to be Domain Groups, but it depends on the role of the Samba Server\&.
.IP
-In this case, when Samba is an \fBEXPERIMENTAL\fP Domain Controller, Samba
+In the case when Samba is an \fBEXPERIMENTAL\fP Domain Controller, Samba
will present \fIALL\fP such unspecified UNIX groups as its own NT Domain
Groups, with the same name\&.
.IP
In the case where Samba is member of a domain using
\fB"security = domain"\fP, Samba will check the UNIX name with
its Domain Controller (see \fB"password server"\fP)
-as if it was an NT Domain Group\&. If the UNIX group is not an NT Group,
+as if it was an NT Domain Group\&. If the Domain Controller says that it is not,
such unspecified (unmapped) UNIX groups which also are not NT Domain
Groups are treated as Local Groups in the Samba Server\'s local SAM database\&.
NT Administrators will recognise these as Workstation Local Groups,
@@ -2086,14 +2091,35 @@ which are managed by running \fBUSRMGR\&.EXE\fP and selecting a remote
Domain named "\e\eWORKSTATION_NAME", or by running \fBMUSRMGR\&.EXE\fP on
a local Workstation\&.
.IP
+This may sound complicated, but it means that a Samba Server as
+either a member of a domain or as an \fBEXPERIMENTAL\fP Domain Controller
+will act like an NT Workstation (with a local SAM database) or an NT PDC
+(with a Domain SAM database) respectively, without the need for any of
+the map files at all\&. If you \fBwant\fP to get fancy, however, you can\&.
+.IP
Note that adding an entry to map an arbitrary NT group in an arbitrary
-Domain to an arbitrary UNIX group requires the following: that the UNIX
-group exists on the UNIX server; that the NT Domain Group exists in the
-specified NT Domain; that the UNIX Server knows about the specified Domain;
+Domain to an arbitrary UNIX group \fIREQUIRES\fP the following:
+.IP
+.IP
+.IP o
+that the UNIX group exists on the UNIX server\&.
+.IP
+.IP o
+that the NT Domain Group exists in the specified NT Domain
+.IP
+.IP o
+that the UNIX Server knows about the specified Domain;
+.IP
+.IP o
that all the UNIX users (who are expecting to access the Samba
Server as the correct NT user and with the correct NT group permissions)
in the UNIX group be mapped to the correct NT Domain users in the specified
-NT Domain using \fB\'username map\'\fP\&.
+NT Domain using \fB\'domain user map\'\fP\&.
+.IP
+.IP
+Failure to meet any of these requirements may result in either (or
+both) errors reported in the log files or (and) incorrect or missing
+access rights granted to users\&.
.IP
.IP "\fBdomain groups (G)\fP"
.IP
@@ -2165,6 +2191,86 @@ and may fail\&.
\fBDefault:\fP
\f(CW domain master = no\fP
.IP
+.IP "\fBdomain user map (G)\fP"
+.IP
+This option allows you to specify a file containing unique mappings
+of individual NT Domain User names (in any domain) to UNIX user
+names\&. This allows NT domain users to be presented correctly to
+NT systems, despite the lack of native support for the NT Security model
+(based on VAX/VMS) in UNIX\&. The reader is advised to become familiar
+with the NT Domain system and its administration\&.
+.IP
+This option is used in conjunction with \fB\'local group map\'\fP
+and \fB\'domain group map\'\fP\&. The use of these three
+options is trivial and often unnecessary in the case where Samba is
+not expected to interact with any other SAM databases (whether local
+workstations or Domain Controllers)\&.
+.IP
+This option, which provides (and maintains) a one-to-one link between
+UNIX and NT users, is \fIDIFFERENT\fP from \fB\'username map\'\fP, which does \fINOT\fP maintain a distinction between the
+name(s) it can map to and the name it maps\&.
+.IP
+The map file is parsed line by line\&. If any line begins with a \f(CW\'#\'\fP
+or a \f(CW\';\'\fP then the line is ignored\&. Each line should contain a single UNIX
+user name on the left then a single NT Domain User name on the right,
+separated by a tabstop or \f(CW\'=\'\fP\&. If either name contains spaces then
+it should be enclosed in quotes\&.
+The line can be either of the form:
+.IP
+\f(CW UNIXusername \e\eDOMAIN_NAME\e\eDomainUserName \fP
+.IP
+or:
+.IP
+\f(CW UNIXusername DomainUserName \fP
+.IP
+In the case where Samba is either an \fBEXPERIMENTAL\fP Domain Controller
+or it is a member of a domain using \fB"security = domain"\fP,
+the latter format can be used: the default Domain name is the Samba Server\'s
+Domain name, specified by \fB"workgroup = MYGROUP"\fP\&.
+.IP
+Any UNIX users that are \fINOT\fP specified in this map file are assumed
+to be either Domain or Workstation Users, depending on the role of the
+Samba Server\&.
+.IP
+In the case when Samba is an \fBEXPERIMENTAL\fP Domain Controller, Samba
+will present \fIALL\fP such unspecified UNIX users as its own NT Domain
+Users, with the same name\&.
+.IP
+In the case where Samba is member of a domain using
+\fB"security = domain"\fP, Samba will check the UNIX name with
+its Domain Controller (see \fB"password server"\fP)
+as if it was an NT Domain User\&. If the Domain Controller says that it is not,
+such unspecified (unmapped) UNIX users which also are not NT Domain
+Users are treated as Local Users in the Samba Server\'s local SAM database\&.
+NT Administrators will recognise these as Workstation Users,
+which are managed by running \fBUSRMGR\&.EXE\fP and selecting a remote
+Domain named "\e\eWORKSTATION_NAME", or by running \fBMUSRMGR\&.EXE\fP on
+a local Workstation\&.
+.IP
+This may sound complicated, but it means that a Samba Server as
+either a member of a domain or as an \fBEXPERIMENTAL\fP Domain Controller
+will act like an NT Workstation (with a local SAM database) or an NT PDC
+(with a Domain SAM database) respectively, without the need for any of
+the map files at all\&. If you \fBwant\fP to get fancy, however, you can\&.
+.IP
+Note that adding an entry to map an arbitrary NT User in an arbitrary
+Domain to an arbitrary UNIX user \fIREQUIRES\fP the following:
+.IP
+.IP
+.IP o
+that the UNIX user exists on the UNIX server\&.
+.IP
+.IP o
+that the NT Domain User exists in the specified NT Domain\&.
+.IP
+.IP o
+that the UNIX Server knows about the specified Domain\&.
+.IP
+.IP
+Failure to meet any of these requirements may result in either (or
+both) errors reported in the log files or (and) incorrect or missing
+access rights granted to users\&.
+.IP
.IP "\fBdont descend (S)\fP"
.IP
There are certain directories on some systems (e\&.g\&., the \f(CW/proc\fP tree
@@ -2846,14 +2952,16 @@ NT users, despite the lack of native support for the NT Security model
with the NT Domain system and its administration\&.
.IP
This option is used in conjunction with \fB\'domain group map\'\fP
-and \fB\'username map\'\fP\&. The use of these three
+and \fB\'domain name map\'\fP\&. The use of these three
options is trivial and often unnecessary in the case where Samba
is not expected to interact with any other SAM databases (whether local
workstations or Domain Controllers)\&.
.IP
The map file is parsed line by line\&. If any line begins with a \f(CW\'#\'\fP
or a \f(CW\';\'\fP then it is ignored\&. Each line should contain a single UNIX
-group name on the left then an NT Local Group name on the right\&.
+group name on the left then a single NT Local Group name on the right,
+separated by a tabstop or \f(CW\'=\'\fP\&. If either name contains spaces then
+it should be enclosed in quotes\&.
The line can be either of the form:
.IP
\f(CW UNIXgroupname \e\eDOMAIN_NAME\e\eLocalGroupName \fP
@@ -2870,14 +2978,14 @@ Domain name, specified by \fB"workgroup = MYGROUP"\fP\&.
Any UNIX groups that are \fINOT\fP specified in this map file are treated
as Local Groups depending on the role of the Samba Server\&.
.IP
-When Samba is an \fBEXPERIMENTAL\fP Domain Controller, Samba
+In the case when Samba is an \fBEXPERIMENTAL\fP Domain Controller, Samba
will present \fIALL\fP unspecified UNIX groups as its own NT Domain
Groups, with the same name, and \fINOT\fP as Local Groups\&.
.IP
In the case where Samba is member of a domain using
\fB"security = domain"\fP, Samba will check the UNIX name with
its Domain Controller (see \fB"password server"\fP)
-as if it was an NT Domain Group\&. If the UNIX group is not an NT Group,
+as if it was an NT Domain Group\&. If the Domain Controller says that it is not,
such unspecified (unmapped) UNIX groups which also are not NT Domain
Groups are treated as Local Groups in the Samba Server\'s local SAM database\&.
NT Administrators will recognise these as Workstation Local Groups,
@@ -2885,14 +2993,35 @@ which are managed by running \fBUSRMGR\&.EXE\fP and selecting a remote
Domain named "\e\eWORKSTATION_NAME", or by running \fBMUSRMGR\&.EXE\fP on
a local Workstation\&.
.IP
+This may sound complicated, but it means that a Samba Server as
+either a member of a domain or as an \fBEXPERIMENTAL\fP Domain Controller
+will act like an NT Workstation (with a local SAM database) or an NT PDC
+(with a Domain SAM database) respectively, without the need for any of
+the map files at all\&. If you \fBwant\fP to get fancy, however, you can\&.
+.IP
Note that adding an entry to map an arbitrary NT group in an arbitrary
-Domain to an arbitrary UNIX group requires the following: that the UNIX
-group exists on the UNIX server; that the NT Local Group exists in the
-specified NT Domain; that the UNIX Server knows about the specified Domain;
+Domain to an arbitrary UNIX group \fIREQUIRES\fP the following:
+.IP
+.IP
+.IP o
+that the UNIX group exists on the UNIX server\&.
+.IP
+.IP o
+that the NT Domain Group exists in the specified NT Domain
+.IP
+.IP o
+that the UNIX Server knows about the specified Domain;
+.IP
+.IP o
that all the UNIX users (who are expecting to access the Samba
Server as the correct NT user and with the correct NT group permissions)
in the UNIX group be mapped to the correct NT Domain users in the specified
-NT Domain using \fB\'username map\'\fP\&.
+NT Domain using \fB\'domain user map\'\fP\&.
+.IP
+.IP
+Failure to meet any of these requirements may result in either (or
+both) errors reported in the log files or (and) incorrect or missing
+access rights granted to users\&.
.IP
.IP "\fBlocal master (G)\fP"
.IP
@@ -5912,6 +6041,17 @@ 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\&.
.IP
+The use of this option, therefore, relates to UNIX usernames
+and not Windows (specifically NT Domain) usernames\&. In other words,
+once a name has been mapped using this option, the Samba server uses
+the mapped name for internal \fIAND\fP external purposes\&.
+.IP
+This option is \fIDIFFERENT\fP from the \fB"domain user map"\fP
+parameter, which maintains a one-to-one mapping between UNIX usernames
+and NT Domain Usernames: more specifically, the Samba server maintains
+a link between \fIBOTH\fP usernames, presenting the NT username to the
+external NT world, and using the UNIX username internally\&.
+.IP
The map file is parsed line by line\&. Each line should contain a single
UNIX username on the left then a \f(CW\'=\'\fP followed by a list of
usernames on the right\&. The list of usernames on the right may contain