summaryrefslogtreecommitdiff
path: root/docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-13 00:48:46 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:46 -0500
commit8a5498d3bfa78923cbb4e6c79e152431223a4f86 (patch)
tree6f14e0c9690c6b5363d70cf497b6f1639f8cecea /docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml
parent5cec435fda2f812ef47185e331979e1072d62f43 (diff)
downloadsamba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.tar.gz
samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.tar.bz2
samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.zip
Another set of updates; includes the new examples code and use of
10.5pt fonts. Still needs some polishing.. (This used to be commit eb11ea43f68f57d877dc80d4912396ad8e91a081)
Diffstat (limited to 'docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml')
-rw-r--r--docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml29
1 files changed, 13 insertions, 16 deletions
diff --git a/docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml b/docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml
index 9f4f3dd2c0..6b844dc17e 100644
--- a/docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml
+++ b/docs/Samba3-HOWTO/TOSHARG-Diagnosis.xml
@@ -55,14 +55,15 @@ You can add a <smbconfsection name="tmp"/> share like this by adding the
lines shown in <link linkend="tmpshare">the next example</link>.
</para>
-<para><smbconfexample id="tmpshare">
-<title>smb.conf with [tmp] share</title>
+<example id="tmpshare">
+ <title>smb.conf with [tmp] share</title>
+ <smbconfblock>
<smbconfsection name="[tmp]"/>
<smbconfoption name="comment">temporary files </smbconfoption>
<smbconfoption name="path">/tmp</smbconfoption>
<smbconfoption name="read only">yes</smbconfoption>
-</smbconfexample>
-</para>
+</smbconfblock>
+</example>
<note><para>
These tests assume version 3.0.0 or later of the Samba suite.
@@ -239,18 +240,16 @@ the &smb.conf; file entries as shown in <link linkend="modif1">the next example<
</para>
-<para>
-<smbconfexample id="modif1">
+<example id="modif1">
<title>Configuration for only allowing connections from a certain subnet</title>
+ <smbconfblock>
<smbconfsection name="[globals]"/>
-<member>...</member>
<smbconfoption name="hosts deny">ALL</smbconfoption>
<smbconfoption name="hosts allow">xxx.xxx.xxx.xxx/yy</smbconfoption>
<smbconfoption name="interfaces">eth0</smbconfoption>
<smbconfoption name="bind interfaces only">Yes</smbconfoption>
-<member>...</member>
-</smbconfexample>
-</para>
+</smbconfblock>
+</example>
<para>
In the above, no allowance has been made for any session requests that
@@ -258,17 +257,15 @@ will automatically translate to the loopback adapter address 127.0.0.1.
To solve this problem, change these lines as shown in <link linkend="modif2">the following example</link>.
</para>
-<para>
-<smbconfexample id="modif2">
+<example id="modif2">
<title>Configuration for allowing connections from a certain subnet and localhost</title>
+ <smbconfblock>
<smbconfsection name="[globals]"/>
-<member>...</member>
<smbconfoption name="hosts deny">ALL</smbconfoption>
<smbconfoption name="hosts allow">xxx.xxx.xxx.xxx/yy 127.</smbconfoption>
<smbconfoption name="interfaces">eth0 lo</smbconfoption>
-<member>...</member>
-</smbconfexample>
-</para>
+</smbconfblock>
+</example>
<para>
<indexterm><primary>inetd</primary></indexterm>