Bug 452579 - Printing on an ipp printer that requires authentication does not ask for a password and consequently does not print
Summary: Printing on an ipp printer that requires authentication does not ask for a pa...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_printer_manager (show other bugs)
Version: 5.27.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-13 15:01 UTC by Derek Christ
Modified: 2025-01-02 20:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Christ 2022-04-13 15:01:11 UTC
SUMMARY
Printing on an ipp printer that requires authentication does not ask for a password and consequently does not print. The only way I found it to work is to set it up using the full ipp:// url like so: ipp://user:pass@server.com.
Note that this leaks on the password in clear text into the system log, as pointed out in bug 441948.

When the printer is set up without providing the password in the url, printing does not work.

STEPS TO REPRODUCE
1. Add an ipp printer that requires authentication
2. Print a document
3. You will not be asked for authentication

OBSERVED RESULT
The document will not be printed

EXPECTED RESULT
The user should get asked for the username and password. Also the system should ask if the password should be saved into KWallet.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.14-1-MANJARO (64-bit)

ADDITIONAL INFORMATION
I tested the same thing on Linux Mint (with Cinnamon) and over there I get asked for a password when printing. Also on Gnome it should work too.
Comment 1 Harald Sitter 2022-04-13 19:32:35 UTC
How to get an ipp printer that requires authentication?
Comment 2 Derek Christ 2022-04-14 08:45:07 UTC
(In reply to Harald Sitter from comment #1)
> How to get an ipp printer that requires authentication?

In my case it's my university that requires authentication for the public printers. I'm not an CUPS expert but maybe it's possible to set up a remote CUPS instance that requires authentication?
Comment 3 Harald Sitter 2022-04-14 09:17:22 UTC
Alas, I was hoping you'd know but I guess someone has to research a sane setup :)