Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29625 - [cups] 1.5.2-1: Fail printing on remote server with authentication

Attached to Project: Arch Linux
Opened by Luca Silvestrini (silvest) - Thursday, 26 April 2012, 14:44 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 08 June 2012, 04:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I added a printer with https and authentication on a remote cups server. However when I try printing I get no password request and the job fails. I tried the same configuration on other boxes and things work smoothly, so I am afraid this is an arch linux problem.

Additional info:
* package version(s)
extra/cups 1.5.2-1

Steps to reproduce:
- Add https printer on remote server with authentication
- Try printing and get no password prompt
- Job gets held with /usr/lib/cups/backend/https failed
   bla (113.3 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 08 June 2012, 04:41 GMT
Reason for closing:  Not a bug
Comment by Jelle van der Waa (jelly) - Thursday, 26 April 2012, 18:37 GMT
Please attach the log instead of making a _gigantic_ bug report
Comment by Luca Silvestrini (silvest) - Friday, 27 April 2012, 07:27 GMT
Dear Jelle,

you are perfectly right, sorry about that!

Luca
Comment by Andreas Radke (AndyRTR) - Friday, 18 May 2012, 08:57 GMT
how's cups 1.5.3 ?
Comment by Luca Silvestrini (silvest) - Tuesday, 22 May 2012, 10:16 GMT
I can print only from firefox, where I do get a password prompt. However, from other applications such as okular I don't get a password prompt and the job gets held for authentication.

I attach the log.

Thanks a lot in advance for your help,
Luca
Comment by Andreas Radke (AndyRTR) - Wednesday, 06 June 2012, 09:48 GMT
Please post your cupsd.conf. I guess if you configure Authentification as strictly required it should
work with any client application that basically supports it.

Do you see something on the clients command line?
Comment by Luca Silvestrini (silvest) - Thursday, 07 June 2012, 12:01 GMT
My cupsd.conf is attached. Unfortunately I do not see anything on the clients command line.
Please let me know if there is any additional info I can provide.

Thanks again,
Luca
Comment by Andreas Radke (AndyRTR) - Thursday, 07 June 2012, 13:15 GMT
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

You config seem pretty default. I don't find any Authentification per job enabled. Why does your system ask for one?

May this be a setting in your printer device? What do you mean with "I added a printer with https and authentication on a remote cups server" ?

So far this seems to be no bug but a configuration issue.
Comment by Luca Silvestrini (silvest) - Thursday, 07 June 2012, 13:44 GMT
Yes, this is a setting in the printer device. By "I added a printer with https and authentication on a remote cups server" I mean the following:
- I added a printer with uri https://some.remote.server:631/printers/xxx
- In the default options of the printer, in the policy options I set "authenticated" in the Operation policy box.
As far as I understand, this should ask for authentication when submitting the job to the remote server, and indeed that is what happens on other boxes and on my box only when printing from firefox.

Please let me know if I should provide you with other configuration files.

Thanks again,
Luca
Comment by Andreas Radke (AndyRTR) - Thursday, 07 June 2012, 14:06 GMT
I'd move the authentification to the job policy setting in cupsd.conf not to one single printer. But both should work.

I don't know how such authetification is done in user applications. Maybe some have been compiled without openssl/gnutls support or
even without cups presence at build time. You may want to google for similar issues or ask on the cups mailing list.

I tend to close this as not a bug (of cups).
Comment by Luca Silvestrini (silvest) - Thursday, 07 June 2012, 14:16 GMT
Well, even if I try to print from the command line with lpr I get no request for authentication. Isn't this a cups problem?

Thanks again,
Luca
Comment by Andreas Radke (AndyRTR) - Friday, 08 June 2012, 04:41 GMT

Loading...