Revert "docs-xml: Update documentation for removal of NIS support"
[samba.git] / docs-xml / smbdotconf / security / hostsallow.xml
index a052e7f79cdb1ef0a90f8e050ec14e79edf0d459..8b4b62268a37c361f320b1a91299f6760b24887d 100644 (file)
 
     <para><command moreinfo="none">hosts allow = lapland, arvidsjaur</command></para>
 
+    <para>Example 4: allow only hosts in NIS netgroup &quot;foonet&quot;, 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>