Comment 47 for bug 283811

Revision history for this message
Paul Dufresne (paulduf) wrote :

Rethinking about my previous comment...
DeviceURI smb://SomeUser:TopSecretPassword@/server/Canon-i950
in /etc/cups/printers.conf file is the correct way to go.
(somehow https://bugzilla.redhat.com/show_bug.cgi?id=202977 show me this is the ok way).
So forgot what I said about some possible "AuthInfo Joe,MyPassword", this does surely not exist.

Now about DERG's exchange with the author of the AuthInfoRequired stuff.

So we now have a better workaround than before, for people NOT USING Windows or SAMBA (using CUPS shared printer):
1) Open System/Administration/Printing and note the name of the printer in the newly open window.
2) Open a terminal window (Applications/Accessories/Terminal) with your main(admin) user, and type in:
lpadmin -p <printer_name> -o auth-info-required=none
where <printer_name> is replaced by name of the printer you noted in step 1.
I believe the 3D after = was a copy/paste 'bug'.

3) Retest printing
4) Give feedback here

For people using Windows or Samba shared printer, we have this clue:
"Well, it could be that the Windows system isn't allowing guest
printing, so the smb backend is telling CUPS that it needs a username
and password."
Again... Feedback is welcome.

It is still unclear to me if "lpadmin -p <printer_name> -o auth-info-required=none" neutralize the smb backend from telling CUPS that it needs a username and password.