mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Revert "docs-xml: Update documentation for removal of NIS support"
This partly reverts commita72bc3e15d
. Revert only the chunks related to netgroups and skip NIS related ones. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15087 Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commitf74e284a9d
)
This commit is contained in:
parent
16df1ed429
commit
cdbd540b7c
@ -41,6 +41,13 @@
|
||||
|
||||
<para><command moreinfo="none">hosts allow = lapland, arvidsjaur</command></para>
|
||||
|
||||
<para>Example 4: allow only hosts in NIS netgroup "foonet", but
|
||||
deny access from one particular host</para>
|
||||
|
||||
<para><command moreinfo="none">hosts allow = @foonet</command></para>
|
||||
|
||||
<para><command moreinfo="none">hosts deny = pirate</command></para>
|
||||
|
||||
<note><para>Note that access still requires suitable user-level passwords.</para></note>
|
||||
|
||||
<para>See <citerefentry><refentrytitle>testparm</refentrytitle>
|
||||
|
@ -7,8 +7,21 @@
|
||||
to login to this service. This is really a <emphasis>paranoid</emphasis>
|
||||
check to absolutely ensure an improper setting does not breach
|
||||
your security.</para>
|
||||
|
||||
<para>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.</para>
|
||||
|
||||
<para>A name starting with a '@' is interpreted UNIX group.</para>
|
||||
<para>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 <parameter moreinfo="none">+&group</parameter> means check the
|
||||
UNIX group database, followed by the NIS netgroup database, and
|
||||
the value <parameter moreinfo="none">&+group</parameter> means check the NIS
|
||||
netgroup database, followed by the UNIX group database (the
|
||||
same as the '@' prefix).</para>
|
||||
|
||||
<para>The current servicename is substituted for <parameter moreinfo="none">%S</parameter>.
|
||||
This is useful in the [homes] section.</para>
|
||||
|
@ -58,6 +58,11 @@
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
If your system supports the NIS NETGROUP option then the netgroup database is checked before the <filename
|
||||
moreinfo="none">/etc/group </filename> database for matching groups.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
You can map Windows usernames that have spaces in them by using double quotes around the name. For example:
|
||||
<programlisting>
|
||||
|
@ -4,10 +4,9 @@
|
||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||
<description>
|
||||
<para>
|
||||
This is a list of users that should be allowed to login to this service.
|
||||
Names starting with an '@' are interpreted using the same rules as
|
||||
described in the
|
||||
<parameter moreinfo="none">invalid users</parameter> parameter.
|
||||
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
|
||||
<parameter moreinfo="none">invalid users</parameter> parameter.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -10,9 +10,9 @@
|
||||
and <filename moreinfo="none">nss_winbind.so</filename> modules for UNIX services.
|
||||
</para>
|
||||
|
||||
<para>Please note that setting this parameter to + can cause problems
|
||||
<para>Please note that setting this parameter to + causes problems
|
||||
with group membership at least on glibc systems, as the character +
|
||||
was used as a special character for NIS in /etc/group.</para>
|
||||
is used as a special character for NIS in /etc/group.</para>
|
||||
</description>
|
||||
|
||||
<value type="default">\</value>
|
||||
|
Loading…
Reference in New Issue
Block a user