[Tickets #12041] Authentication does not work any longer
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Feb 13 22:09:07 UTC 2013
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/12041
------------------------------------------------------------------------------
Ticket | 12041
Erstellt Von | martin.tessun at die-tessuns.de
Zusammenfassung | Authentication does not work any longer
Warteschlange | Horde Base
Version | 5.0.4
Typ | Bug
Status | Unconfirmed
Priorität | 3. High
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
martin.tessun at die-tessuns.de (2013-02-13 22:09) hat geschrieben:
With upgrading from horde 5.0.3 to 5.0.4 IMP-based authentication does
not work any longer:
Log-Snippet:
Feb 13 23:01:36 chewie HORDE: [horde] Login success for xxx
[10.100.14.240] to horde. [pid 11550 on line 163 of
"/srv/www/vhosts/webmail.die-tessuns.de/htdocs_ssl/login.php"]
Feb 13 23:01:36 chewie HORDE: User is not authorized for horde [pid
11550 on line 259 of "/usr/share/php5/PEAR/Horde/Registry.php"]
Feb 13 23:01:36 chewie HORDE: SQL QUERY FAILED: SQLSTATE[23000]:
Integrity constraint violation: 1062 Duplicate entry
's35d7coaa5939aulr1up013umt2hat93' for key 'PRIMARY'
Feb 13 23:01:36 chewie HORDE: [horde] SQL QUERY FAILED:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
's35d7coaa5939aulr1up013umt2hat93' for key 'PRIMARY'
config.php from horde (auth-Section):
$conf['auth']['admins'] = array('root');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['resetpassword'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['list_users'] = 'input';
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
$conf['auth']['params']['count_bad_logins'] = false;
$conf['auth']['params']['login_block'] = false;
$conf['auth']['params']['login_block_count'] = 5;
$conf['auth']['params']['login_block_time'] = 5;
backends.local.php:
$servers['cyrus'] = array(
'disabled' => false,
'name' => 'Cyrus IMAP Server',
'server' => 'localhost',
'secure' => 'none',
'hordeauth' => false,
'protocol' => 'imap',
'port' => 143,
'maildomain' => 'some-domain.de',
'smtphost' => 'localhost',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
'admin' => array(
'params' => array(
'login' => 'cyrus',
'password' => 'somepass',
// The 'userhierarchy' parameter defaults to 'user.'
// If you are using a nonstandard hierarchy for personal
// mailboxes, you will need to set it here.
'userhierarchy' => 'user.',
// Although these defaults are normally all that is required,
// you can modify the following parameters from their default
// values.
'protocol' => 'imap',
'hostspec' => 'localhost',
'port' => 143
)
),
'quota' => array(
'driver' => 'imap',
'params' => array('hide_quota_when_unlimited' => true),
),
'acl' => array(
'driver' => 'rfc2086',
)
);
It all worked until 5.0.4. I changed nothing in the config-Files.
When authenticating this way I get a "normal" Login-Page back.
If I type a wrong Password I get the usual "Access-Denied page"
The Logs look like this in case of wron password:
Feb 13 23:08:24 chewie HORDE: [imp] Der E-Mail-Server hat die
Authentifizierung verweigert. [pid 11509 on line 387 of
"/srv/www/vhosts/webmail.die-tessuns.de/htdocs_ssl/imp/lib/Imap.php"]
Feb 13 23:08:24 chewie HORDE: [horde] FAILED LOGIN for someone
[10.100.14.240] to Horde [pid 11509 on line 192 of
"/srv/www/vhosts/webmail.die-tessuns.de/htdocs_ssl/login.php"]
Feb 13 23:08:24 chewie HORDE: [horde] SQL QUERY FAILED:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
's35d7coaa5939aulr1up013umt2hat93' for key 'PRIMARY'
More information about the bugs
mailing list