From 4ae3cdcd7151237a858f668357d08ab6916bdb3b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 26 May 2013 20:29:19 +1000 Subject: [PATCH] docs: Remove all references to testprns Based on debian patch documentation2.patch by Christian Perrier . This tool no longer exists in Samba. Andrew Bartlett Reviewed-by: Kai Blin --- docs-xml/manpages/nmbd.8.xml | 1 - docs-xml/manpages/smb.conf.5.xml | 1 - docs-xml/manpages/smbd.8.xml | 1 - docs-xml/using_samba/appd.xml | 18 ------------------ docs-xml/using_samba/ch01.xml | 6 ------ docs-xml/using_samba/ch07.xml | 8 -------- examples/tridge/smb.conf | 8 -------- 7 files changed, 43 deletions(-) diff --git a/docs-xml/manpages/nmbd.8.xml b/docs-xml/manpages/nmbd.8.xml index f666f58dee9..0599ba3fef0 100644 --- a/docs-xml/manpages/nmbd.8.xml +++ b/docs-xml/manpages/nmbd.8.xml @@ -266,7 +266,6 @@ 8, smb.conf 5, smbclient 1, testparm - 1, testprns 1, and the Internet RFC's rfc1001.txt, rfc1002.txt. In addition the CIFS (formerly SMB) specification is available diff --git a/docs-xml/manpages/smb.conf.5.xml b/docs-xml/manpages/smb.conf.5.xml index 44411b0cc91..dd4f85859c1 100644 --- a/docs-xml/manpages/smb.conf.5.xml +++ b/docs-xml/manpages/smb.conf.5.xml @@ -809,7 +809,6 @@ chmod 1770 /usr/local/samba/lib/usershares 8, smbclient 1, nmblookup 1, testparm - 1, testprns 1. diff --git a/docs-xml/manpages/smbd.8.xml b/docs-xml/manpages/smbd.8.xml index 98e76fb0014..0d246cd8118 100644 --- a/docs-xml/manpages/smbd.8.xml +++ b/docs-xml/manpages/smbd.8.xml @@ -421,7 +421,6 @@ 8, smb.conf 5, smbclient 1, testparm - 1, testprns 1, and the Internet RFC's rfc1001.txt, rfc1002.txt. In addition the CIFS (formerly SMB) specification is available diff --git a/docs-xml/using_samba/appd.xml b/docs-xml/using_samba/appd.xml index a3a23f850ca..018e590bea1 100644 --- a/docs-xml/using_samba/appd.xml +++ b/docs-xml/using_samba/appd.xml @@ -1315,24 +1315,6 @@ received 6 names - -testprns - - -Thetestprns program -printersnameschecking testprns program checks a specified printer name against the system printer capabilities (printcap) file. Its command line is: - - -testprns printername [printcapname] - - -If the printcapname isn't specified, Samba attempts to use one located in the smb.conf file. If one isn't specified there, Samba will try /etc/printcap. If that fails, the program will generate an error. - - - - - - rpcclient diff --git a/docs-xml/using_samba/ch01.xml b/docs-xml/using_samba/ch01.xml index ca8bc131ad3..01d7791d637 100644 --- a/docs-xml/using_samba/ch01.xml +++ b/docs-xml/using_samba/ch01.xml @@ -1375,12 +1375,6 @@ SIMPLE <1E> GROUP Registered -testprns -A program that tests whether various printers are recognized by the smbd daemon - - - - 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.x versions of Samba, which are now obsolete. diff --git a/docs-xml/using_samba/ch07.xml b/docs-xml/using_samba/ch07.xml index 307cab720df..988aab8a504 100644 --- a/docs-xml/using_samba/ch07.xml +++ b/docs-xml/using_samba/ch07.xml @@ -306,14 +306,6 @@ lppause command: public: true -Second, try the command testprns printername. This is a simple program that verifies that the specified printer is available in your printcap file. If your printcap file is not in the usual place, you can specify its full pathname as the second argument to the testprns command: - - -# testprns lp /etc/printcap -Looking for printer lp in printcap file /etc/printcap -Printer name lp is valid. - - Next, log on as the guest user, go to the spooling directory, and ensure that you can print using the same command that testparm 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. diff --git a/examples/tridge/smb.conf b/examples/tridge/smb.conf index a2f269f3b76..4aa40d8e0bb 100644 --- a/examples/tridge/smb.conf +++ b/examples/tridge/smb.conf @@ -31,14 +31,6 @@ 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 -- 2.11.4.GIT