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 830535 Details for
Bug 999297
Username/Password not stored with smbspool backend
[?]
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]
0002-Add-show_dialog-option-to-get_authentication
0002-Add-show_dialog-option-to-get_authentication.patch (text/plain), 2.10 KB, created by
Andre Heinecke
on 2013-11-29 09:04:22 UTC
(
hide
)
Description:
0002-Add-show_dialog-option-to-get_authentication
Filename:
MIME Type:
Creator:
Andre Heinecke
Created:
2013-11-29 09:04:22 UTC
Size:
2.10 KB
patch
obsolete
>From 1994a55cab9323e4c6b9de41af038488e6799f50 Mon Sep 17 00:00:00 2001 >From: Andre Heinecke <aheinecke@intevation.de> >Date: Fri, 29 Nov 2013 09:49:53 +0100 >Subject: [PATCH 2/3] Add show_dialog option to get_authentication > > This allows to silently check if the authentication credentials > can be found in the keyring and only shows the interactive > password dialog when running as applet. >--- > jobviewer.py | 13 +++++++++---- > 1 files changed, 9 insertions(+), 4 deletions(-) > >diff --git a/jobviewer.py b/jobviewer.py >index 83fe8a9..cd619a0 100644 >--- a/jobviewer.py >+++ b/jobviewer.py >@@ -909,12 +909,17 @@ class JobViewer (GtkGUI): > job_requires_auth = (s == cups.IPP_JOB_HELD and > data.get ('job-hold-until', 'none') == > 'auth-info-required') >- if self.applet and job_requires_auth: >+ if job_requires_auth: >+ # Try to get the authentication information. If we are not >+ # running as an applet just try to get the information silently >+ # and not prompt the user. > self.get_authentication (job, data.get ('device-uri'), >- data.get ('auth-info-required', [])) >+ data.get ('auth-info-required', []), >+ self.applet) > self.update_sensitivity () > >- def get_authentication (self, job, device_uri, auth_info_required): >+ def get_authentication (self, job, device_uri, auth_info_required, >+ show_dialog): > # Check if we have requested authentication for this job already > if not self.auth_info_dialogs.has_key (job): > try: >@@ -1009,7 +1014,7 @@ class JobViewer (GtkGUI): > c._end_operation () > nonfatalException () > >- if auth_info_required: >+ if auth_info_required and show_dialog: > username = pwd.getpwuid (os.getuid ())[0] > keyring_attrs["user"] = str (username) > self.display_auth_info_dialog (job, keyring_attrs) >-- >1.7.2.5 >
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 999297
:
814931
|
814932
|
814934
|
830534
| 830535 |
830537