From: Gunnar Wrobel Date: Wed, 4 Nov 2009 15:16:23 +0000 (+0100) Subject: Indicate that binding failed. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=04c70bcff0365c8c3be6bd81c75f460d18776828;p=horde.git Indicate that binding failed. --- diff --git a/framework/Kolab_Server/lib/Horde/Kolab/Server/Connection/Mock/Ldap.php b/framework/Kolab_Server/lib/Horde/Kolab/Server/Connection/Mock/Ldap.php index 0df2e8548..1eba34372 100644 --- a/framework/Kolab_Server/lib/Horde/Kolab/Server/Connection/Mock/Ldap.php +++ b/framework/Kolab_Server/lib/Horde/Kolab/Server/Connection/Mock/Ldap.php @@ -92,7 +92,7 @@ class Horde_Kolab_Server_Connection_Mock_Ldap throw new Horde_Kolab_Server_Exception('User has no password entry!'); } if ($this->_data[$dn]['data']['userPassword'][0] != $pw) { - throw new Horde_Kolab_Server_Exception('Incorrect password!'); + throw new Horde_Kolab_Server_Exception_Bindfailed('Incorrect password!'); } } else if (!empty($this->_params['no_anonymous_bind'])) { throw new Horde_Kolab_Server_Exception('Anonymous bind is not allowed!');