After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 553690 - Authentication support for CUPS backend
Authentication support for CUPS backend
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Printing
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-09-25 00:55 UTC by Jelmer Vernooij
Modified: 2018-02-10 03:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch to add authentication support to CUPS backend (2.86 KB, patch)
2008-09-25 00:55 UTC, Jelmer Vernooij
none Details | Review

Description Jelmer Vernooij 2008-09-25 00:55:03 UTC
The attached patch adds authentication support in the GTK+ CUPS backend.
For now it only works with authentication mechanisms that don't require
password prompting (in other words, GSSAPI). 

Successfully tested against CUPS using GSSAPI.
Comment 1 Jelmer Vernooij 2008-09-25 00:55:58 UTC
Created attachment 119340 [details] [review]
Patch to add authentication support to CUPS backend
Comment 2 Matthias Clasen 2008-09-27 00:40:41 UTC
There are some other authentication related patches in bug 384940, that need to be looked at together with this.
Comment 3 Guilhèm Bonnefille 2009-03-12 14:48:14 UTC
I attempted to apply the patch provided with Gnome bug report on my gtk2
version (gtk2-2.10.4-20). Authentication seems to succeed, but print failed. On
the client side, I obtain a "Too many failed attempts" error.

The server log contains:

Feb 24 18:12:16 server cupsd[26585]: get_gss_creds: Attempting to acquire
credentials for ipp@server.fr...
Feb 24 18:12:16 server cupsd[26585]: get_gss_creds: Credentials acquired
successfully for ipp@server.fr.
Feb 24 18:12:16 server cupsd[26585]: cupsdAuthorize: Authorized as
user@server.fr using Negotiate  
Comment 4 Matthias Clasen 2009-11-27 20:49:44 UTC
What is the state of this. I know we did get some authentication support in the cups backend in the meantime, but that may only be basic, not gss. Marek ?
Comment 5 Mikael Öhman 2010-09-24 15:35:12 UTC
With libcups version above 1.4.4 kerberos is now working again (1.4.0->1.4.3 did not). 
I had to
export CUPS_GSSSERVICENAME=HTTP
and then Evince manages to print just fine.
So it seems to me this bug should be closed.
Comment 6 Matthias Clasen 2018-02-10 03:41:20 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.