summaryrefslogtreecommitdiff
path: root/docs-xml/using_samba
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-05-26 20:29:19 +1000
committerAndrew Bartlett <abartlet@samba.org>2013-05-27 11:01:19 +0200
commit4ae3cdcd7151237a858f668357d08ab6916bdb3b (patch)
tree9be20e35e360929727a5d4cb9d16d534dc9bb019 /docs-xml/using_samba
parent99c1c2b8d399c662596d9942aa6af9fb0db00086 (diff)
downloadsamba-4ae3cdcd7151237a858f668357d08ab6916bdb3b.tar.gz
samba-4ae3cdcd7151237a858f668357d08ab6916bdb3b.tar.bz2
samba-4ae3cdcd7151237a858f668357d08ab6916bdb3b.zip
docs: Remove all references to testprns
Based on debian patch documentation2.patch by Christian Perrier <bubulle@debian.org>. This tool no longer exists in Samba. Andrew Bartlett Reviewed-by: Kai Blin <kai@samba.org>
Diffstat (limited to 'docs-xml/using_samba')
-rw-r--r--docs-xml/using_samba/appd.xml18
-rw-r--r--docs-xml/using_samba/ch01.xml6
-rw-r--r--docs-xml/using_samba/ch07.xml8
3 files changed, 0 insertions, 32 deletions
diff --git a/docs-xml/using_samba/appd.xml b/docs-xml/using_samba/appd.xml
index a3a23f850c..018e590bea 100644
--- a/docs-xml/using_samba/appd.xml
+++ b/docs-xml/using_samba/appd.xml
@@ -1315,24 +1315,6 @@ received 6 names
-<sect2 role="" label="D.1.11" id="appd-SECT-1.11">
-<title>testprns</title>
-
-
-<para>The<indexterm id="appd-idx-993761-0"><primary>testprns program</primary></indexterm>
-<indexterm id="appd-idx-993761-1"><primary>printers</primary><secondary>names</secondary><tertiary>checking</tertiary></indexterm> <emphasis>testprns</emphasis> program checks a specified printer name against the system printer capabilities (<filename>printcap</filename>) file. Its command line is:</para>
-
-
-<programlisting>testprns <replaceable>printername</replaceable> [<replaceable>printcapname</replaceable>]</programlisting>
-
-
-<para>If the <literal>printcapname</literal> isn't specified, Samba attempts to use one located in the <filename>smb.conf</filename> file. If one isn't specified there, Samba will try <filename>/etc/printcap</filename>. If that fails, the program will generate an error.</para>
-</sect2>
-
-
-
-
-
<sect2 role="" label="D.1.12" id="appd-SECT-1.12">
<title>rpcclient</title>
diff --git a/docs-xml/using_samba/ch01.xml b/docs-xml/using_samba/ch01.xml
index ca8bc131ad..01d7791d63 100644
--- a/docs-xml/using_samba/ch01.xml
+++ b/docs-xml/using_samba/ch01.xml
@@ -1375,12 +1375,6 @@ SIMPLE &lt;1E&gt; GROUP Registered
</varlistentry>
-<varlistentry><term>testprns</term>
-<listitem><para>A program that tests whether various printers are recognized by the <filename>smbd</filename> daemon</para></listitem>
-</varlistentry>
-</variablelist>
-
-
<para>Each significant release of Samba goes through a significant exposure test before it's announced. In addition, it is quickly updated afterward if problems or unwanted side-effects are found. The latest stable distribution as of this writing is Samba 2.0.5, the long-awaited production version of Samba 2.0. This book focuses on the functionality supported in Samba 2.0, as opposed to the older 1.9.<emphasis>x</emphasis> versions of Samba, which are now obsolete.</para>
</sect1>
diff --git a/docs-xml/using_samba/ch07.xml b/docs-xml/using_samba/ch07.xml
index 307cab720d..988aab8a50 100644
--- a/docs-xml/using_samba/ch07.xml
+++ b/docs-xml/using_samba/ch07.xml
@@ -306,14 +306,6 @@ lppause command:
public: true</programlisting>
-<para>Second, try the command <literal>testprns</literal> <replaceable>printername</replaceable>. This is a simple program that verifies that the specified printer is available in your <emphasis>printcap</emphasis> file. If your <emphasis>printcap</emphasis> file is not in the usual place, you can specify its full pathname as the second argument to the <emphasis>testprns</emphasis> command:</para>
-
-
-<programlisting># testprns lp /etc/printcap
-Looking for printer lp in printcap file /etc/printcap
-Printer name lp is valid.</programlisting>
-
-
<para>Next, log on as the guest user, go to the spooling directory, and ensure that you can print using the same command that <emphasis>testparm</emphasis> says Samba will use. As mentioned before, this will tell you if you need to change the guest account, as the default account may not be allowed to print.</para>