docs: Remove all references to testprns
authorAndrew Bartlett <abartlet@samba.org>
Sun, 26 May 2013 10:29:19 +0000 (20:29 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 May 2013 09:01:19 +0000 (11:01 +0200)
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>
docs-xml/manpages/nmbd.8.xml
docs-xml/manpages/smb.conf.5.xml
docs-xml/manpages/smbd.8.xml
docs-xml/using_samba/appd.xml
docs-xml/using_samba/ch01.xml
docs-xml/using_samba/ch07.xml
examples/tridge/smb.conf

index f666f58dee949cdb2ed72510ba488df19c6efee6..0599ba3fef0b5664de5f8010ddf66b9bbbd99c27 100644 (file)
        <manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>smb.conf</refentrytitle>
        <manvolnum>5</manvolnum></citerefentry>, <citerefentry><refentrytitle>smbclient</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>testparm</refentrytitle>
-       <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>testprns</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>, and the Internet 
        RFC's <filename>rfc1001.txt</filename>, <filename>rfc1002.txt</filename>. 
        In addition the CIFS (formerly SMB) specification is available 
index 44411b0cc91a142cc822e362da51dadc63083a11..dd4f85859c11c9e4400931c41d648db179196787 100644 (file)
@@ -809,7 +809,6 @@ chmod 1770 /usr/local/samba/lib/usershares
        <manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>smbclient</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>nmblookup</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>testparm</refentrytitle>
-       <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>testprns</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>.</para>
 </refsect1>
 
index 98e76fb00146bed8fb3e17f6022d89e957ee1dc0..0d246cd81187b93b982dd4bff9f7b06ece2b465b 100644 (file)
        <manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>smb.conf</refentrytitle>
        <manvolnum>5</manvolnum></citerefentry>, <citerefentry><refentrytitle>smbclient</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>testparm</refentrytitle>
-       <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>testprns</refentrytitle>
        <manvolnum>1</manvolnum></citerefentry>, and the 
        Internet RFC's  <filename>rfc1001.txt</filename>, <filename>rfc1002.txt</filename>. 
        In addition the CIFS (formerly SMB) specification is available 
index a3a23f850caec399ff3f4034130e674a181a5d39..018e590bea1b86abfcde8c4358588ceabd4263dd 100644 (file)
@@ -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>
 
index ca8bc131ad3b6cb1f8bcb1dae5e55cf51275bd66..01d7791d6374791310fdd8b0c1c4afc983080423 100644 (file)
@@ -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>
 
index 307cab720df5ab98d1d7da16fe3cc88e4ca13a97..988aab8a504b703c6a6e6ab0d90f765319fe2c39 100644 (file)
@@ -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>
 
 
index a2f269f3b76329d0d9e0787579767e1124a99cab..4aa40d8e0bbb8bee96a5cee81a37465453ce7000 100644 (file)
    print ok = yes
    print command = xmenu -heading "%s" OK&
 
-[testprn]
-   comment = Test printer
-   path = /tmp
-   user = susan
-   print ok = yes
-   print command = cp %s /tmp/smb.%U.prn
-   lpq command = cat /tmp/xxyz
-
 [amd]
    comment = amd area
    path = /mount