[Pkg-cups-devel] Bug#502624: cups-pdf: "Test page" from web interface should use real user instead of 'anonymous'

Volker Behr behr at physik.uni-wuerzburg.de
Mon Jan 26 10:52:09 UTC 2009


On Tue, 2008-12-23 at 22:06 +0200, =?UTF-8?Q? Martin-=C3=89ric?= Racine
wrote:
> > Otherwise one can't print a test page when 'anonymous' is disabled in
> > cups-pdf configuraiton file. Moreover, no errors are reported either
> > in web interface or log files in this case.
> 
> > Looking at the completed jobs I conclude that Etch version used real
> > users to print test pages. So, this sudden change after upgrade to Lenny
> > confused me while I was trying to locate the printed test page in ~/PDF
> > folder.
> 
> This report seems to confuse too many issues. Let's divide those into
> smaller blocks:
> 
> 1. what user should be used to generate the test page? (a CUPS issue)

...and that's already the end of the story. Since CUPS-PDF has no means
to determine whether a specific page is a CUPS test page (no, CUPS-PDF
will never do an in-detail analysis of the contents of the PostScript
passed to it) the test page will always be printed as the user CUPS
chooses for printing it.

> 2. where should the test page file be saved to? (a CUPS-PDF issue)

This is solely determined by the user chosen at 1. (i.e. by CUPS).

> 3. whether CUPS-PDF should be dependent upon the AnonUser being
> enabled to produce a test page?
> a) if yes, should it print an error message to alert the administrator
> that, when AnonUser is disabled, it cannot produce the test page?
> b) if not, which system user should be used to produce the test page?
> (all those are CUPS-PDF issues)

Once again: since I do not have any chance to tell a test page apart
from a real print job, the statements made above fully apply. In case of
denied anonymous accesses already now CUPS-PDF prints an "anonymous
access denied" as INFO-message to its log file.

Regards,
Volker

> Fellow CUPS maintainers and the CUPS-PDF upstream author are welcome
> to comment if I forgot anything.
> 
> Martin-Éric
-- 

Dr. rer. nat. Volker Christian Behr
Experimentelle Physik V (Biophysik), Physikalisches Institut
Universitaet Wuerzburg, Am Hubland, 97074 Wuerzburg, Germany

Office: Room F-069a
+49-931-31-85766 (phone)
+49-931-888-5851 (fax)






More information about the Pkg-cups-devel mailing list