1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/docs-xml/smbdotconf/security/hostsdeny.xml
Michael Adam 46069ed06c docs:smbdotconf: change type to cmdlist where needed.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-07-31 01:55:32 +02:00

25 lines
1.0 KiB
XML

<samba:parameter name="hosts deny"
context="S"
type="cmdlist"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<synonym>deny hosts</synonym>
<description>
<para>The opposite of <parameter moreinfo="none">hosts allow</parameter>
- hosts listed here are <emphasis>NOT</emphasis> permitted access to
services unless the specific services have their own lists to override
this one. Where the lists conflict, the <parameter moreinfo="none">allow</parameter>
list takes precedence.</para>
<para>
In the event that it is necessary to deny all by default, use the keyword
ALL (or the netmask <literal>0.0.0.0/0</literal>) and then explicitly specify
to the <smbconfoption name="hosts allow">hosts allow</smbconfoption> parameter those hosts
that should be permitted access.
</para>
</description>
<value type="default"><comment>none (i.e., no hosts specifically excluded)</comment></value>
<value type="example">150.203.4. badhost.mynet.edu.au</value>
</samba:parameter>