Lost of authentification in CUPS 1.2rc3
Alexander Kern
alex.kern at gmx.de
Tue Apr 25 23:13:41 CEST 2006
Hello,
I'm not too far from full success. Last trouble on the way to full support for
CUPS 1.2 is unability to add printer as normal user in "kaddprinterwizard".
It works like a charm if I run it "sudo". Last trace in non-working case
says...
kdeprint: ==========
kdeprint: Request to /var/run/cups/cups.sock:631
kdeprint: ==========
kdeprint: State = 0x0
kdeprint: ID = 0x1
kdeprint: Operation = 0x4003
kdeprint: Version = 1.1
kdeprint:
kdeprint: attributes-charset (0x47) = utf-8
kdeprint: attributes-natural-language (0x48) = de
kdeprint: printer-uri (0x45) = ipp://localhost/printers/tmpprinter_Oo5fG1sO
kdeprint: device-uri (0x45) = parallel:/dev/lp0
kdeprint: job-quota-period (0x21) = 0x0
kdeprint: job-k-limit (0x21) = 0x0
kdeprint: job-page-limit (0x21) = 0x0
kdeprint: requesting-user-name-allowed (0x42) = all
kdeprint: printer-info (0x41) =
kdeprint: printer-location (0x41) =
kdeprint: ==========
kdeprint: Answer
kdeprint: ==========
kdeprint: Null request
Comments in file kmcupsmanager.cpp make me suspect
else
{
req.setOperation(CUPS_ADD_PRINTER);
// only set the device-uri if needed, otherwise you may loose
authentification <---------???
// data (login/password in URI's like smb or ipp).
KMPrinter *otherP = findPrinter(p->printerName());
if (!otherP || otherP->device() != p->device())
is anyone here, who wrote this? What it means?
--
Best Wishes
Mit freundlichen Grüßen
Alex Kern
P.S. All previous troubles are gone. I can create and manage printers via WEB
interface on i386 and x86-64 without any problems.
More information about the kde-print
mailing list