diff --git a/library/Icinga/Protocol/Ldap/Connection.php b/library/Icinga/Protocol/Ldap/Connection.php index 038a45c42..966dd2667 100644 --- a/library/Icinga/Protocol/Ldap/Connection.php +++ b/library/Icinga/Protocol/Ldap/Connection.php @@ -113,7 +113,7 @@ class Connection implements Selectable return $this->port; } - public function getDN() + public function getDn() { return $this->root_dn; } diff --git a/library/Icinga/Protocol/Ldap/Query.php b/library/Icinga/Protocol/Ldap/Query.php index fe6539515..62433886a 100644 --- a/library/Icinga/Protocol/Ldap/Query.php +++ b/library/Icinga/Protocol/Ldap/Query.php @@ -156,7 +156,7 @@ class Query extends SimpleQuery { $result = $this->fetchAll(); $sorted = array(); - $quotedDn = preg_quote($this->ds->getDN(), '/'); + $quotedDn = preg_quote($this->ds->getDn(), '/'); foreach ($result as $key => & $item) { $new_key = LdapUtils::implodeDN( array_reverse( diff --git a/library/Icinga/Protocol/Ldap/Root.php b/library/Icinga/Protocol/Ldap/Root.php index 769437a31..5f1fb545d 100644 --- a/library/Icinga/Protocol/Ldap/Root.php +++ b/library/Icinga/Protocol/Ldap/Root.php @@ -215,7 +215,7 @@ class Root */ public function getDN() { - return $this->connection->getDN(); + return $this->connection->getDn(); } /**