| 1 |
<samba:parameter name="hosts deny" |
| 2 |
context="S" |
| 3 |
type="cmdlist" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<synonym>deny hosts</synonym> |
| 6 |
<description> |
| 7 |
<para>The opposite of <parameter moreinfo="none">hosts allow</parameter> |
| 8 |
- hosts listed here are <emphasis>NOT</emphasis> permitted access to |
| 9 |
services unless the specific services have their own lists to override |
| 10 |
this one. Where the lists conflict, the <parameter moreinfo="none">allow</parameter> |
| 11 |
list takes precedence.</para> |
| 12 |
|
| 13 |
<para> |
| 14 |
In the event that it is necessary to deny all by default, use the keyword |
| 15 |
ALL (or the netmask <literal>0.0.0.0/0</literal>) and then explicitly specify |
| 16 |
to the <smbconfoption name="hosts allow">hosts allow</smbconfoption> parameter those hosts |
| 17 |
that should be permitted access. |
| 18 |
</para> |
| 19 |
</description> |
| 20 |
|
| 21 |
<value type="default"><comment>none (i.e., no hosts specifically excluded)</comment></value> |
| 22 |
|
| 23 |
<value type="example">150.203.4. badhost.mynet.edu.au</value> |
| 24 |
</samba:parameter> |