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 308474 Details for
Bug 450111
ipa-server-install step 16/16: "Can't contact LDAP server"
[?]
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]
display the LDAP server hostname when reporting connect errors
freeipa-48-connect.patch (text/plain), 1.44 KB, created by
Rob Crittenden
on 2008-06-05 18:46:58 UTC
(
hide
)
Description:
display the LDAP server hostname when reporting connect errors
Filename:
MIME Type:
Creator:
Rob Crittenden
Created:
2008-06-05 18:46:58 UTC
Size:
1.44 KB
patch
obsolete
>From 52f2b543f0b01771f1ab981aeca2f5476b16667b Mon Sep 17 00:00:00 2001 >From: Rob Crittenden <rcritten@redhat.com> >Date: Thu, 5 Jun 2008 14:41:15 -0400 >Subject: [PATCH] When an LDAP connection fails, display the host one is trying to connect to. > >450111 >--- > ipa-server/ipaserver/krbinstance.py | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/ipa-server/ipaserver/krbinstance.py b/ipa-server/ipaserver/krbinstance.py >index 7ad03e1..deea4a6 100644 >--- a/ipa-server/ipaserver/krbinstance.py >+++ b/ipa-server/ipaserver/krbinstance.py >@@ -110,8 +110,8 @@ class KrbInstance(service.Service): > try: > self.conn = ipaldap.IPAdmin(self.fqdn) > self.conn.do_simple_bind(bindpw=self.admin_password) >- except ipaerror.exception_for(ipaerror.LDAP_DATABASE_ERROR), e: >- logging.critical("Could not connect to DS") >+ except Exception, e: >+ logging.critical("Could not connect to the Directory Server on %s" % self.fqdn) > raise e > > self.backup_state("running", self.is_running()) >@@ -245,6 +245,8 @@ class KrbInstance(service.Service): > #except LDAPError, e: > # logging.critical("Error during SASL mapping removal: %s" % str(e)) > except Exception, e: >+ logging.critical("Could not connect to the Directory Server on %s" % self.fqdn) >+ raise e > print type(e) > print dir(e) > raise e >-- >1.5.4 >
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 450111
:
308446
| 308474