[horde] Imp for auth -- not working

Michael Rubinsky mrubinsk at horde.org
Fri Sep 17 17:03:59 UTC 2010


Quoting Chris <cjdl01 at brokensolstice.com>:

> Hi, I have been struggling with this for a couple days now.  I am  
> using all the current packages from horde, though at this point,  
> I've only installed horde-3.3.8 and imp-4.3.7
>
> They both installed beautifully with no errors.  The problem is,  
> that when I tell horde to use imp for authentication, it will not  
> let me log in.  The /tmp/horde.log and my /var/log/mail.log tell me  
> that the authentication worked -- plus I get no failure message on  
> the screen -- so the authentication works -- but it won't let me in.  
> I just keeps displaying the login window.  This happens regardless  
> of what I set my session handler to.
>
> If I leave the authentication to Automatic, I can log in to imp just  
> fine.  My test files for horde and imp look good.  I'm using an  
> up-to-date install of debian Lenny.
>
> There is no error output anywhere.  My /tmp/horde.log file says this:
> Sep 17 11:08:37 HORDE [notice] [imp] Login success for joe  
> [10.99.99.161] to {localhost:143 [imap/notls]} [pid 16670 on line  
> 307 of "/var/www/horde/imp/lib/Session.php"]
>
> I am at a loss.  Thanks for the help.

This sounds like a cookie issue. Check that your browser cookies are  
enabled, maybe clear the cookie cache. Also, check that the cookie  
settings (path and domain) are correct for your installation in the  
Horde configuration.


>
>
> -Chris
>
> My horde conf.php:
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Horde: horde/config/conf.xml,v 1.74.2.89 2010/04/21 08:02:24 jan Exp $
> $conf['vhosts'] = false;
> $conf['debug_level'] = E_ALL & ~E_NOTICE;
> $conf['max_exec_time'] = 0;
> $conf['compress_pages'] = true;
> $conf['secret_key'] = 'its a secret, like I'd tell you!';
> $conf['umask'] = 077;
> $conf['use_ssl'] = 2;
> $conf['server']['name'] = $_SERVER['SERVER_NAME'];
> $conf['server']['port'] = $_SERVER['SERVER_PORT'];
> $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'] = true;
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['timeout'] = 0;
> $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
> $conf['cookie']['path'] = '/horde';
> $conf['sql']['persistent'] = false;
> $conf['sql']['username'] = 'hordeuser';
> $conf['sql']['password'] = 'hordepasswd';
> $conf['sql']['socket'] = '/var/run/mysqld.sock';
> $conf['sql']['protocol'] = 'unix';
> $conf['sql']['database'] = 'hordedb';
> $conf['sql']['charset'] = 'utf-8';
> $conf['sql']['ssl'] = false;
> $conf['sql']['splitread'] = false;
> $conf['sql']['phptype'] = 'mysql';
> $conf['auth']['admins'] = array('admin', 'Administrator');
> $conf['auth']['checkip'] = true;
> $conf['auth']['checkbrowser'] = 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['signup']['allow'] = false;
> $conf['log']['priority'] = PEAR_LOG_NOTICE;
> $conf['log']['ident'] = 'HORDE';
> $conf['log']['params'] = array();
> $conf['log']['name'] = '/tmp/horde.log';
> $conf['log']['params']['append'] = true;
> $conf['log']['type'] = 'file';
> $conf['log']['enabled'] = true;
> $conf['log_accesskeys'] = false;
> $conf['prefs']['params']['driverconfig'] = 'horde';
> $conf['prefs']['driver'] = 'sql';
> $conf['alarms']['driver'] = false;
> $conf['datatree']['params']['driverconfig'] = 'horde';
> $conf['datatree']['driver'] = 'sql';
> $conf['group']['driver'] = 'datatree';
> $conf['group']['cache'] = false;
> $conf['perms']['driver'] = 'datatree';
> $conf['share']['no_sharing'] = false;
> $conf['share']['any_group'] = false;
> $conf['share']['cache'] = false;
> $conf['share']['driver'] = 'datatree';
> $conf['cache']['default_lifetime'] = 86400;
> $conf['cache']['driver'] = 'none';
> $conf['lock']['driver'] = 'none';
> $conf['token']['params']['driverconfig'] = 'horde';
> $conf['token']['driver'] = 'sql';
> $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']['driverconfig'] = 'horde';
> $conf['vfs']['type'] = 'sql';
> $conf['sessionhandler']['params']['persistent'] = false;
> $conf['sessionhandler']['params']['rowlocking'] = true;
> $conf['sessionhandler']['params']['socket'] = '/var/run/mysqld/mysqld.sock';
> $conf['sessionhandler']['params']['protocol'] = 'unix';
> $conf['sessionhandler']['params']['hostspec'] = 'localhost';
> $conf['sessionhandler']['params']['username'] = 'hordeuser';
> $conf['sessionhandler']['params']['password'] = 'hordepasswd';
> $conf['sessionhandler']['params']['database'] = 'hordedb';
> $conf['sessionhandler']['type'] = 'mysql';
> $conf['sessionhandler']['memcache'] = false;
> $conf['problems']['email'] = 'webmaster at example.com';
> $conf['problems']['maildomain'] = 'example.com';
> $conf['problems']['tickets'] = false;
> $conf['problems']['attachments'] = true;
> $conf['menu']['apps'] = array();
> $conf['menu']['always'] = false;
> $conf['menu']['links']['help'] = 'all';
> $conf['menu']['links']['options'] = 'authenticated';
> $conf['menu']['links']['problem'] = 'all';
> $conf['menu']['links']['login'] = 'all';
> $conf['menu']['links']['logout'] = 'authenticated';
> $conf['hooks']['permsdenied'] = false;
> $conf['hooks']['username'] = false;
> $conf['hooks']['preauthenticate'] = false;
> $conf['hooks']['postauthenticate'] = false;
> $conf['hooks']['authldap'] = false;
> $conf['hooks']['groupldap'] = false;
> $conf['portal']['fixed_blocks'] = array();
> $conf['accounts']['driver'] = 'null';
> $conf['user']['verify_from_addr'] = false;
> $conf['imsp']['enabled'] = false;
> $conf['kolab']['enabled'] = false;
> $conf['memcache']['enabled'] = false;
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
> -- 
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
Mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

Mike

?The only reason for time is so that everything doesn't happen at  
once." - A. Einstein



More information about the horde mailing list