From: Jan Schneider Date: Mon, 13 Sep 2010 13:28:01 +0000 (+0200) Subject: Fix parameter name and error message. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=19d9ce4dac23f6ce1189c7a39bf0aefe73ea920d;p=horde.git Fix parameter name and error message. --- diff --git a/framework/Group/lib/Horde/Group/Ldap.php b/framework/Group/lib/Horde/Group/Ldap.php index 0d6bdd51f..354ce9510 100644 --- a/framework/Group/lib/Horde/Group/Ldap.php +++ b/framework/Group/lib/Horde/Group/Ldap.php @@ -94,7 +94,7 @@ class Horde_Group_Ldap extends Horde_Group if (isset($this->_params['binddn'])) { $bind = @ldap_bind($this->_ds, $this->_params['binddn'], - $this->_params['password']); + $this->_params['bindpw']); } else { $bind = @ldap_bind($this->_ds); } @@ -554,7 +554,7 @@ class Horde_Group_Ldap extends Horde_Group $search = @ldap_search($this->_ds, $this->_params['basedn'], $this->_filter, array($this->_params['gid'])); if (!$search) { - throw new Horde_Group_Exception('Could not reach the LDAP server'); + throw new Horde_Group_Exception('Could not search the LDAP server'); } @ldap_sort($this->_ds, $search, $this->_params['gid']);