Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 577116 Details for
Bug 810007
IPP backend fails to trigger authentication prompts when a username/password is required
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
upstream change from revision 10277
0001-Detect-authentication-errors-for-all-requests.patch (text/plain), 1.61 KB, created by
Tim Waugh
on 2012-04-12 15:37:13 UTC
(
hide
)
Description:
upstream change from revision 10277
Filename:
MIME Type:
Creator:
Tim Waugh
Created:
2012-04-12 15:37:13 UTC
Size:
1.61 KB
patch
obsolete
>From 19e2adf8307c8a908da80ceef335517139e5bf64 Mon Sep 17 00:00:00 2001 >From: mike <mike@7a7537e8-13f0-0310-91df-b6672ffda945> >Date: Mon, 13 Feb 2012 23:43:07 +0000 >Subject: [PATCH] Detect authentication errors for all requests. > >git-svn-id: http://svn.easysw.com/public/cups/trunk@10277 7a7537e8-13f0-0310-91df-b6672ffda945 >--- > backend/ipp.c | 9 ++++++--- > 1 files changed, 6 insertions(+), 3 deletions(-) > >diff --git a/backend/ipp.c b/backend/ipp.c >index bcaab37..d4719e4 100644 >--- a/backend/ipp.c >+++ b/backend/ipp.c >@@ -898,7 +898,9 @@ main(int argc, /* I - Number of command-line args */ > > return (CUPS_BACKEND_STOP); > } >- else if (ipp_status == IPP_NOT_AUTHORIZED || ipp_status == IPP_FORBIDDEN) >+ else if (ipp_status == IPP_NOT_AUTHORIZED || >+ ipp_status == IPP_FORBIDDEN || >+ ipp_status == IPP_AUTHENTICATION_CANCELED) > { > const char *www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); > /* WWW-Authenticate field value */ >@@ -1472,11 +1474,12 @@ main(int argc, /* I - Number of command-line args */ > _cupsLangPrintFilter(stderr, "ERROR", > _("Print file was not accepted.")); > >- if (ipp_status == IPP_NOT_AUTHORIZED || ipp_status == IPP_FORBIDDEN) >+ if (ipp_status == IPP_NOT_AUTHORIZED || ipp_status == IPP_FORBIDDEN || >+ ipp_status == IPP_AUTHENTICATION_CANCELED) > { > const char *www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); > /* WWW-Authenticate field value */ >- >+ > if (!strncmp(www_auth, "Negotiate", 9)) > auth_info_required = "negotiate"; > else if (www_auth[0]) >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 810007
:
576708
|
576709
|
576916
| 577116 |
577187
|
577189
|
577190