[Tickets #12081] Re: badlogin not working whith IMP authentication

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Mar 4 09:39:42 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12081
------------------------------------------------------------------------------
  Ticket             | 12081
  Updated By         | patrick.vangilst at labri.fr
  Summary            | badlogin not working whith IMP authentication
  Queue              | Horde Groupware Webmail Edition
  Version            | 5.0.4
  Type               | Bug
  State              | Not A Bug
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.vangilst at labri.fr (2013-03-04 09:39) wrote:

What I can see is that IMP_Auth fails with  REASON_BADLOGIN only in  
case of empty login/password:

if (!isset($credentials['userId']) ||
                 !isset($credentials['password'])) {
                 throw new Horde_Auth_Exception('',  
Horde_Auth::REASON_BADLOGIN);
             }

I have bad login counting enabled, this is the relevant part of  
/var/www/horde/config/conf.local.php:

$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
$conf['auth']['params']['count_bad_logins'] = true;
$conf['auth']['params']['login_block'] = true;
$conf['auth']['params']['login_block_count'] = 2;
$conf['auth']['params']['login_block_time'] = 5;

But bad login count isn't working for me....
Where can I find the code that does real imp authentication and throws  
REASON_BADLOGIN exception in case of wrong authentication ?
thanks in advance.







More information about the bugs mailing list