summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/security/hostsallow.xml
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-04-06 13:07:44 +0000
committerAlexander Bokovoy <ab@samba.org>2003-04-06 13:07:44 +0000
commit9496f1e2063eb0b93142bfaf86979b21bf8b56e6 (patch)
tree92fbf612a79f79adb14fca2405a68308fea3ead1 /docs/docbook/smbdotconf/security/hostsallow.xml
parentc5ab17567cf6681f567b73ba8ed0653fbb64f453 (diff)
downloadsamba-9496f1e2063eb0b93142bfaf86979b21bf8b56e6.tar.gz
samba-9496f1e2063eb0b93142bfaf86979b21bf8b56e6.tar.bz2
samba-9496f1e2063eb0b93142bfaf86979b21bf8b56e6.zip
Convert 'Security' section of smb.conf to new format
(This used to be commit 85eadec0838bdcb5604d5cf66b204ee610e2ad7a)
Diffstat (limited to 'docs/docbook/smbdotconf/security/hostsallow.xml')
-rw-r--r--docs/docbook/smbdotconf/security/hostsallow.xml86
1 files changed, 44 insertions, 42 deletions
diff --git a/docs/docbook/smbdotconf/security/hostsallow.xml b/docs/docbook/smbdotconf/security/hostsallow.xml
index ea91b73903..95aa7ee516 100644
--- a/docs/docbook/smbdotconf/security/hostsallow.xml
+++ b/docs/docbook/smbdotconf/security/hostsallow.xml
@@ -1,60 +1,62 @@
-<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="HOSTSALLOW"/>hosts allow (S)</term>
- <listitem><para>A synonym for this parameter is <parameter moreinfo="none">allow
- hosts</parameter>.</para>
+<samba:parameter name="hosts allow"
+ context="S"
+ basic="1" advanced="1" print="1" developer="1"
+ xmlns:samba="http://samba.org/common">
+<listitem>
+ <para>A synonym for this parameter is <parameter moreinfo="none">allow
+ hosts</parameter>.</para>
- <para>This parameter is a comma, space, or tab delimited
- set of hosts which are permitted to access a service.</para>
+ <para>This parameter is a comma, space, or tab delimited
+ set of hosts which are permitted to access a service.</para>
- <para>If specified in the [global] section then it will
- apply to all services, regardless of whether the individual
- service has a different setting.</para>
+ <para>If specified in the [global] section then it will
+ apply to all services, regardless of whether the individual
+ service has a different setting.</para>
- <para>You can specify the hosts by name or IP number. For
- example, you could restrict access to only the hosts on a
- Class C subnet with something like <command moreinfo="none">allow hosts = 150.203.5.
- </command>. The full syntax of the list is described in the man
- page <filename moreinfo="none">hosts_access(5)</filename>. Note that this man
- page may not be present on your system, so a brief description will
- be given here also.</para>
+ <para>You can specify the hosts by name or IP number. For
+ example, you could restrict access to only the hosts on a
+ Class C subnet with something like <command moreinfo="none">allow hosts = 150.203.5.
+ </command>. The full syntax of the list is described in the man
+ page <filename moreinfo="none">hosts_access(5)</filename>. Note that this man
+ page may not be present on your system, so a brief description will
+ be given here also.</para>
- <para>Note that the localhost address 127.0.0.1 will always
- be allowed access unless specifically denied by a <link linkend="HOSTSDENY"><parameter moreinfo="none">hosts deny</parameter></link> option.</para>
+ <para>Note that the localhost address 127.0.0.1 will always
+ be allowed access unless specifically denied by a <link linkend="HOSTSDENY">
+ <parameter moreinfo="none">hosts deny</parameter></link> option.</para>
- <para>You can also specify hosts by network/netmask pairs and
- by netgroup names if your system supports netgroups. The
- <emphasis>EXCEPT</emphasis> keyword can also be used to limit a
- wildcard list. The following examples may provide some help:</para>
+ <para>You can also specify hosts by network/netmask pairs and
+ by netgroup names if your system supports netgroups. The
+ <emphasis>EXCEPT</emphasis> keyword can also be used to limit a
+ wildcard list. The following examples may provide some help:</para>
- <para>Example 1: allow all IPs in 150.203.*.*; except one</para>
+ <para>Example 1: allow all IPs in 150.203.*.*; except one</para>
- <para><command moreinfo="none">hosts allow = 150.203. EXCEPT 150.203.6.66</command></para>
+ <para><command moreinfo="none">hosts allow = 150.203. EXCEPT 150.203.6.66</command></para>
- <para>Example 2: allow hosts that match the given network/netmask</para>
+ <para>Example 2: allow hosts that match the given network/netmask</para>
- <para><command moreinfo="none">hosts allow = 150.203.15.0/255.255.255.0</command></para>
+ <para><command moreinfo="none">hosts allow = 150.203.15.0/255.255.255.0</command></para>
- <para>Example 3: allow a couple of hosts</para>
+ <para>Example 3: allow a couple of hosts</para>
- <para><command moreinfo="none">hosts allow = lapland, arvidsjaur</command></para>
+ <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>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 allow = @foonet</command></para>
- <para><command moreinfo="none">hosts deny = pirate</command></para>
+ <para><command moreinfo="none">hosts deny = pirate</command></para>
- <para>Note that access still requires suitable user-level passwords.</para>
+ <note><para>Note that access still requires suitable user-level passwords.</para></note>
- <para>See <citerefentry><refentrytitle>testparm</refentrytitle>
- <manvolnum>1</manvolnum></citerefentry> for a way of testing your host access
- to see if it does what you expect.</para>
+ <para>See <citerefentry><refentrytitle>testparm</refentrytitle>
+ <manvolnum>1</manvolnum></citerefentry> for a way of testing your host access
+ to see if it does what you expect.</para>
- <para>Default: <emphasis>none (i.e., all hosts permitted access)
- </emphasis></para>
+ <para>Default: <emphasis>none (i.e., all hosts permitted access)</emphasis></para>
- <para>Example: <command moreinfo="none">allow hosts = 150.203.5. myhost.mynet.edu.au
- </command></para>
- </listitem>
- </samba:parameter>
+ <para>Example: <command moreinfo="none">allow hosts = 150.203.5. myhost.mynet.edu.au</command></para>
+</listitem>
+</samba:parameter>