summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/docbook/smbdotconf/printing/lpqcachetime.xml45
-rw-r--r--docs/docbook/smbdotconf/security/preloadmodules.xml (renamed from docs/docbook/smbdotconf/misc/preloadmodules.xml)9
2 files changed, 30 insertions, 24 deletions
diff --git a/docs/docbook/smbdotconf/printing/lpqcachetime.xml b/docs/docbook/smbdotconf/printing/lpqcachetime.xml
index 6f351fdaf9..df48a5fd01 100644
--- a/docs/docbook/smbdotconf/printing/lpqcachetime.xml
+++ b/docs/docbook/smbdotconf/printing/lpqcachetime.xml
@@ -1,26 +1,29 @@
-<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="LPQCACHETIME"/>lpq cache time (G)</term>
- <listitem><para>This controls how long lpq info will be cached
- for to prevent the <command moreinfo="none">lpq</command> command being called too
- often. A separate cache is kept for each variation of the <command moreinfo="none">
- lpq</command> command used by the system, so if you use different
- <command moreinfo="none">lpq</command> commands for different users then they won't
- share cache information.</para>
+<samba:parameter name="lpq cache time"
+ context="G"
+ developer="1"
+ xmlns:samba="http://samba.org/common">
+<listitem>
+ <para>This controls how long lpq info will be cached
+ for to prevent the <command moreinfo="none">lpq</command> command being called too
+ often. A separate cache is kept for each variation of the <command moreinfo="none">
+ lpq</command> command used by the system, so if you use different
+ <command moreinfo="none">lpq</command> commands for different users then they won't
+ share cache information.</para>
- <para>The cache files are stored in <filename moreinfo="none">/tmp/lpq.xxxx</filename>
- where xxxx is a hash of the <command moreinfo="none">lpq</command> command in use.</para>
+ <para>The cache files are stored in <filename moreinfo="none">/tmp/lpq.xxxx</filename>
+ where xxxx is a hash of the <command moreinfo="none">lpq</command> command in use.</para>
- <para>The default is 10 seconds, meaning that the cached results
- of a previous identical <command moreinfo="none">lpq</command> command will be used
- if the cached data is less than 10 seconds old. A large value may
- be advisable if your <command moreinfo="none">lpq</command> command is very slow.</para>
+ <para>The default is 10 seconds, meaning that the cached results
+ of a previous identical <command moreinfo="none">lpq</command> command will be used
+ if the cached data is less than 10 seconds old. A large value may
+ be advisable if your <command moreinfo="none">lpq</command> command is very slow.</para>
- <para>A value of 0 will disable caching completely.</para>
+ <para>A value of 0 will disable caching completely.</para>
- <para>See also the <link linkend="PRINTING"><parameter moreinfo="none">printing
- </parameter></link> parameter.</para>
+ <para>See also the <link linkend="PRINTING"><parameter moreinfo="none">printing</parameter></link> parameter.</para>
- <para>Default: <command moreinfo="none">lpq cache time = 10</command></para>
- <para>Example: <command moreinfo="none">lpq cache time = 30</command></para>
- </listitem>
- </samba:parameter>
+ <para>Default: <command moreinfo="none">lpq cache time = 10</command></para>
+
+ <para>Example: <command moreinfo="none">lpq cache time = 30</command></para>
+</listitem>
+</samba:parameter>
diff --git a/docs/docbook/smbdotconf/misc/preloadmodules.xml b/docs/docbook/smbdotconf/security/preloadmodules.xml
index 52b8c412e6..7b4e57cff1 100644
--- a/docs/docbook/smbdotconf/misc/preloadmodules.xml
+++ b/docs/docbook/smbdotconf/security/preloadmodules.xml
@@ -1,6 +1,9 @@
-<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="PRELOADMODULES"/>preload modules (S)</term>
- <listitem><para>This is a list of paths to modules that should
+<samba:parameter name="preload modules"
+ context="G"
+ basic="1"
+ xmlns:samba="http://samba.org/common">
+<listitem>
+ <para>This is a list of paths to modules that should
be loaded into smbd before a client connects. This improves
the speed of smbd when reacting to new connections somewhat. </para>