Indicate that binding failed.
authorGunnar Wrobel <p@rdus.de>
Wed, 4 Nov 2009 15:16:23 +0000 (16:16 +0100)
committerGunnar Wrobel <p@rdus.de>
Wed, 4 Nov 2009 15:16:23 +0000 (16:16 +0100)
framework/Kolab_Server/lib/Horde/Kolab/Server/Connection/Mock/Ldap.php

index 0df2e85..1eba343 100644 (file)
@@ -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!');