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 595339 Details for
Bug 836628
authconfig shouldn't set dns_lookup_xxx = false
[?]
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]
Patch which fixes the problem
dont-overrite-dns-lookup.patch (text/plain), 1.80 KB, created by
Stef Walter
on 2012-06-29 16:45:03 UTC
(
hide
)
Description:
Patch which fixes the problem
Filename:
MIME Type:
Creator:
Stef Walter
Created:
2012-06-29 16:45:03 UTC
Size:
1.80 KB
patch
obsolete
>--- authinfo.py 2012-02-18 20:18:47.000000000 +0100 >+++ authinfo.py.mod 2012-06-29 18:36:35.548532568 +0200 >@@ -880,5 +880,7 @@ > > def formatBool(val): >- if val: >+ if val is None: >+ return "not set" >+ elif val: > return "enabled" > else: >@@ -3021,5 +3023,5 @@ > continue > if section == "libdefaults" and matchLine(ls, "dns_lookup_realm"): >- if not wrotednsrealm: >+ if not wrotednsrealm and self.kerberosRealmviaDNS is not None: > output += " dns_lookup_realm = " > output += str(bool(self.kerberosRealmviaDNS)).lower() >@@ -3028,5 +3030,5 @@ > continue > if section == "libdefaults" and matchLine(ls, "dns_lookup_kdc"): >- if not wrotednskdc: >+ if not wrotednskdc and self.kerberosKDCviaDNS is not None: > output += " dns_lookup_kdc = " > output += str(bool(self.kerberosKDCviaDNS)).lower() >@@ -3065,10 +3067,10 @@ > output += "\n" > wrotedefaultrealm = True >- if not wrotednsrealm: >+ if not wrotednsrealm and self.kerberosRealmviaDNS is not None: > output += " dns_lookup_realm = " > output += str(bool(self.kerberosRealmviaDNS)).lower() > output += "\n" > wrotednsrealm = True >- if not wrotednskdc: >+ if not wrotednskdc and self.kerberosKDCviaDNS is not None: > output += " dns_lookup_kdc = " > output += str(bool(self.kerberosKDCviaDNS)).lower() >@@ -3110,9 +3112,9 @@ > output += defaultrealm > output += "\n" >- if not wrotednsrealm: >+ if not wrotednsrealm and self.kerberosRealmviaDNS is not None: > output += " dns_lookup_realm = " > output += str(bool(self.kerberosRealmviaDNS)).lower() > output += "\n" >- if not wrotednskdc: >+ if not wrotednskdc and self.kerberosRealmviaDNS is not None: > output += " dns_lookup_kdc = " > output += str(bool(self.kerberosKDCviaDNS)).lower()
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 836628
: 595339