[icinga-checkins] icinga.org: icinga-web/master: More output for ldap tls connection

git at icinga.org git at icinga.org
Thu Aug 23 11:49:44 CEST 2012


Module: icinga-web
Branch: master
Commit: 9c37cc41cc2b1928345400cc2422896653ad98ac
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=9c37cc41cc2b1928345400cc2422896653ad98ac

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Aug 23 11:48:57 2012 +0200

More output for ldap tls connection

Thanks mopp, fixes #2986

---

 .../models/Auth/Provider/LDAPModel.class.php       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php b/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php
index 4c131f0..e8f2d73 100644
--- a/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php
+++ b/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php
@@ -206,7 +206,7 @@ class AppKit_Auth_Provider_LDAPModel extends AppKitAuthProviderBaseModel impleme
         if ($this->getParameter('ldap_start_tls', false) == true) {
             $this->log('Auth.Provider.LDAP: Starting TLS', AgaviLogger::DEBUG);
             $tls = @ldap_start_tls($res);
-            $this->log('Auth.Provider.LDAP: Using TLS on connection %s.', ($tls==true && !$this->isLdapError($res, true) ? 'succeeded' : 'failed'), AgaviLogger::INFO);
+            $this->log('Auth.Provider.LDAP: Using TLS on connection %s %s.',$this->getParameter('ldap_dsn'), ($tls==true && !$this->isLdapError($res, true) ? 'succeeded' : 'failed'), AgaviLogger::INFO);
         }
 
         





More information about the icinga-checkins mailing list