[Tickets #11244] IMP access is denied for hordeauth = false

bugs at horde.org bugs at horde.org
Sat Jul 7 17:19:06 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11244
------------------------------------------------------------------------------
  Ticket             | 11244
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | IMP access is denied for hordeauth = false
  Queue              | IMP
  Version            | Git develop
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2012-07-07 17:19) wrote:

Hi,

I've installed a fresh install from the "develop" branch as of 2012-07-07.
mnemo, nag and a few others are running fine, test.php shows no errors.
Sessions are working, too.

imp fails for me with "User is not authorized for imp" if  
$servers['imap']['hordeauth'] is set to false.

2012-07-07T19:14:48+02:00 EMERG: HORDE User is not authorized for imp  
[pid 14693 on line 266 of  
"/datastore/DEVEL/horde/framework/Core/lib/Horde/Registry.php"]
2012-07-07T19:14:48+02:00 NOTICE: HORDE PHP ERROR: Undefined property:  
Horde_Exception_AuthenticationFailure::$applicaton [pid 14693 on line  
32 of  
"/datastore/DEVEL/horde/framework/Core/lib/Horde/ErrorHandler.php"]

If I set it to true, imp shows up fine and displays my INBOX.

I expected it to show a login screen if hordeauth is set to false.
What's wrong?

My main horde config settings (just a test box):
-------------------------------------------------------
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 3ac73110a3ef553162e6aa53240eb0ddea4dd536 $
$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'] = false;
$conf['use_ssl'] = 1;
$conf['server']['name'] = '192.168.122.254';
$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'] = '192.168.122.254';
$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']['hostspec'] = 'localhost';
$conf['auth']['params']['port'] = 143;
$conf['auth']['params']['secure'] = 'none';
$conf['auth']['driver'] = 'imap';
$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'] = 'localhost';
$conf['imap']['port'] = 143;
$conf['imap']['maildomain'] = 'net.lan';
$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;
-------------------------------------------------------

imp also doesn't even attempt to log into the IMAP server.

Thomas






More information about the bugs mailing list