diff options
Diffstat (limited to 'docs-xml/smbdotconf/security/hostsallow.xml')
-rw-r--r-- | docs-xml/smbdotconf/security/hostsallow.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/security/hostsallow.xml b/docs-xml/smbdotconf/security/hostsallow.xml index a052e7f79cd..8b4b62268a3 100644 --- a/docs-xml/smbdotconf/security/hostsallow.xml +++ b/docs-xml/smbdotconf/security/hostsallow.xml @@ -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> |