[Tickets #11271] Re: Re-login fails (with Kolab IMAP storage enabled)
bugs at horde.org
bugs at horde.org
Wed Jul 18 15:43:00 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11271
------------------------------------------------------------------------------
Ticket | 11271
Updated By | Thomas Jarosch <thomas.jarosch at intra2net.com>
Summary | Re-login fails (with Kolab IMAP storage enabled)
Queue | Horde Framework Packages
Version | Git develop
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Jan Schneider
------------------------------------------------------------------------------
Thomas Jarosch <thomas.jarosch at intra2net.com> (2012-07-18 15:42) wrote:
> I cannot reproduce this. Use have authentication set to use IMAP and
> IMP to use hordeauth, right?
Right now it's the opposite way, horde uses imp as auth backend
and imp auths against an imap server. Here's my horde and imp config:
--- horde config ----
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: c5dce22b09ad20b025a5a7702998d46a70e1111f $
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['secret_key'] = '4ff85f9e-a674-43ea-804f-3969c0a87afe';
$conf['umask'] = 077;
$conf['testdisable'] = true;
$conf['use_ssl'] = 1;
$conf['server']['name'] = '172.16.1.123';
$conf['urls']['token_lifetime'] = 30;
$conf['urls']['hmac_lifetime'] = 30;
$conf['urls']['pretty'] = false;
$conf['safe_ips'] = array();
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = false;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = '172.16.1.123';
$conf['cookie']['path'] = '/';
$conf['sql']['database'] = '/datastore/horde/horde_sql.db';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['phptype'] = 'sqlite';
$conf['ldap']['useldap'] = false;
$conf['auth']['admins'] = array('admin');
$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'] = 'list';
$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;
$conf['signup']['allow'] = false;
$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['params']['format'] = 'default';
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['params']['directory'] = '/datastore/horde/prefs';
$conf['prefs']['driver'] = 'File';
$conf['alarms']['driver'] = false;
$conf['datatree']['driver'] = 'null';
$conf['group']['driver'] = 'Mock';
$conf['perms']['driver'] = 'Null';
$conf['share']['no_sharing'] = false;
$conf['share']['auto_create'] = true;
$conf['share']['world'] = true;
$conf['share']['any_group'] = false;
$conf['share']['hidden'] = false;
$conf['share']['cache'] = false;
$conf['share']['driver'] = 'Kolab';
$conf['cache']['default_lifetime'] = 86400;
$conf['cache']['params']['sub'] = 0;
$conf['cache']['driver'] = 'File';
$conf['cache']['compress'] = true;
$conf['cache']['use_memorycache'] = '';
$conf['cachecss'] = false;
$conf['cachejs'] = false;
$conf['cachethemes'] = false;
$conf['lock']['driver'] = 'Null';
$conf['token']['driver'] = 'Null';
$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
$conf['mailer']['params']['sendmail_args'] = '-oi';
$conf['mailer']['type'] = 'sendmail';
$conf['mailformat']['brokenrfc2231'] = false;
$conf['vfs']['params']['vfsroot'] = '/tmp';
$conf['vfs']['type'] = 'File';
$conf['sessionhandler']['type'] = 'Builtin';
$conf['sessionhandler']['memcache'] = false;
$conf['spell']['driver'] = '';
$conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');
$conf['gnupg']['timeout'] = 10;
$conf['nobase64_img'] = false;
$conf['image']['driver'] = false;
$conf['exif']['driver'] = 'Bundled';
$conf['timezone']['location'] = 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz';
$conf['problems']['email'] = 'webmaster at example.com';
$conf['problems']['maildomain'] = 'example.com';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = true;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['prefs'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['user']['verify_from_addr'] = false;
$conf['user']['select_view'] = true;
$conf['facebook']['enabled'] = false;
$conf['twitter']['enabled'] = false;
$conf['urlshortener'] = false;
$conf['weather']['provider'] = false;
$conf['imap']['server'] = '192.168.122.254';
$conf['imap']['port'] = 143;
$conf['imap']['secure'] = 'tls';
$conf['imap']['maildomain'] = 'm.i2n';
$conf['imap']['cache_folders'] = true;
$conf['imap']['enabled'] = true;
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
$conf['memcache']['enabled'] = false;
$conf['activesync']['enabled'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
-----------------------
--- imp backend config ---
$servers['advanced'] = array(
// Disabled by default
'disabled' => false,
'name' => 'Advanced IMAP Server',
'hostspec' => '192.168.122.254',
'hordeauth' => 'full',
'protocol' => 'imap',
'port' => 143,
'secure' => 'tls',
'maildomain' => 'm.i2n',
'smtp' => array(
// 'auth' => true,
// 'localhost' => 'localhost',
// 'host' => 'smtp.example.com',
// 'password' => null,
// 'port' => 25,
// 'username' => null
),
// 'admin' => array(
// 'user' => 'cyrus',
// 'password' => 'cyrus_pass',
// 'userhierarchy' => 'user.'
// ),
'quota' => array(
'driver' => 'imap',
'params' => array(
'hide_when_unlimited' => true,
'unit' => 'MB'
)
),
'acl' => true,
'cache' => false,
);
------------------------------
Maybe this helps a bit: I also can't authenticate at all to another
IMAP server in the local network when I change the global IMAP server
IP and the IP in the imp backend config.
Output in the horde log:
------------------------
2012-07-18T17:34:05+02:00 NOTICE: HORDE [horde] Login success for
peter.mueller [172.16.1.253] to horde. [pid 16868 on line 160 of
"/datastore/DEVEL/horde/horde/login.php"]
2012-07-18T17:34:06+02:00 NOTICE: HORDE [imp] Login success for
peter.mueller (Horde user peter.mueller) [172.16.1.253] to
{172.16.1.99:143 [imap]} [pid 16868 on line 176 of
"/datastore/DEVEL/horde/imp/lib/Auth.php"]
2012-07-18T17:34:15+02:00 ERR: HORDE [kronolith] Mail server denied
authentication. [pid 16868 on line 61 of
"/datastore/DEVEL/horde/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Driver/Imap.php"]
2012-07-18T17:34:15+02:00 EMERG: HORDE [horde] exception
'Horde_Imap_Client_Exception' with message 'Mail server denied
authentication.' in
/datastore/DEVEL/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php:374
------------------------
I can see in the server logs that the authentication was fine. This
corresponds to the first line in the horde log, too.
Wild guess: It's somehow related to the Kolab shares driver since
that's the one failing above.
Thomas
More information about the bugs
mailing list