From 8295d6d9b09a28aa0e3aca03133db9c553ff4a56 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 12 Mar 2015 15:36:52 +0100 Subject: [PATCH] Do not require the `connection' directive when creating a LDAP resource --- library/Icinga/Protocol/Ldap/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Protocol/Ldap/Connection.php b/library/Icinga/Protocol/Ldap/Connection.php index f36de1a5e..3f79a063f 100644 --- a/library/Icinga/Protocol/Ldap/Connection.php +++ b/library/Icinga/Protocol/Ldap/Connection.php @@ -78,7 +78,7 @@ class Connection $this->bind_pw = $config->bind_pw; $this->root_dn = $config->root_dn; $this->port = $config->get('port', $this->port); - $this->connectionType = $config->connection; + $this->connectionType = $config->get('connection'); $this->reqCert = (bool) $config->get('reqcert', $this->reqCert); }