From 19d9ce4dac23f6ce1189c7a39bf0aefe73ea920d Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 13 Sep 2010 15:28:01 +0200 Subject: [PATCH] Fix parameter name and error message. --- framework/Group/lib/Horde/Group/Ldap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']); -- 2.11.0