Summary: | Print server authentication configuration is confusing | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | Dik Takken <kde> |
Component: | kjobviewer | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | CLOSED UNMAINTAINED | ||
Severity: | normal | CC: | jlayt |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dik Takken
2005-01-30 12:55:13 UTC
"So, kjobviewer is wrong about my user rights." ---- Not necessarily. ;-) You may have told KDEPrint/kprinter to "log in" to the CUPS server under a different account than your system user. It may be using "anonymous"... Please show us/me your "kdeprintrc" and "kprinterrc" files: cat $KDEHOME/share/config/kprinterrc cat $KDEHOME/share/config/kpderintrc Cheers, Kurt Wow, this is stupid. It does indeed try to access CUPS anonymously. Has that ever been the default setting? I can't remember turning this option on myself.. :) Anyway, why is this configurable in the first place? Can't kdeprint automatically find out how to access CUPS by trying both user and anonymous access? Or at least pop up a message saying that it is configured for anonymous access and telling me it might be worth trying to turn that option off. Or even better: It should offer to turn anonymous access off. Some people will have big trouble finding that option. Might save people like me some config problems.. :) Well, by default KDEPrint uses the same username as CUPS (through the cupsUser() API call). Afterwards, this settings is saved in KDEPrint config file. So normally, this *should* work as expected. The best is to try from a fresh new account and see the default username in KDEPrint Settings dialog (accessible from the print dialog). Can you check that? In case the problem still exists, could you provide your system-wide kdeprintrc ($KDEDIR/share/config/kdeprintrc)? Michael. Dik? Did you check (as per comment #3)? Thanks Didn't check that yet, thanks for reminding me. I checked and the default setting is to access CUPS using the user name of the user that is loggin in on KDE. So, the default settings are working perfectly. There are some things that are quite confusing about the configuration settings: * When you uncheck the 'anonymous access' checkbox and press OK without providing a username, KPrinter just enables anonymous access again. * It is unclear why you need to provide a username and password. The impression I get is that this is needed only when I need to access it using another user than myself. I would suggest to use a radiobutton widget that provides three choices, of which you can choose only one: * Access anonymously * Access using my own username * Access using custom username and password When the third option is selected, the username/password line-edits should become accessible. Otherwise, they should stay grayed-out. I will rename the bugreport to reflect the actual problem of confusingness. KDEPrint in KDE3 is unmaintained and will have no more new features implemented. This request will never be implemented in KDEPrint as a result. In KDE4 kjobviewer has been replaced by printer-applet which uses system-config-printer as a backend. Closing. |