[horde] need help to install / config horde - can't login

Markus Gottscheber markus.gottscheber at gmx.at
Thu Nov 28 02:55:53 PST 2002


my system: linux redhat7.1, php 4.2.1, pear 4.1.0 ... http://webmail.power-web.at/test.php

i installed horde 2.1 with following settings in the config files:
  horde.php:
  $conf['auth']['driver'] = 'imap';
  $conf['auth']['params']['dsn'] = '{localhost/imap:143}INBOX';
  $conf['prefs']['driver'] = 'sql';
  $conf['prefs']['params']['phptype'] = 'mysql';
  $conf['prefs']['params']['hostspec'] = 'localhost';
  $conf['prefs']['params']['username'] = 'horde';
  $conf['prefs']['params']['password'] = 'aDMIN01';
  $conf['prefs']['params']['database'] = 'horde';
  $conf['prefs']['params']['table'] = 'horde_prefs';
  $conf['mailer']['type'] = 'sendmail';

  lang.php:
  $nls['defaults']['language'] = 'de_DE';

  registry.php:
  // $this->registry['auth']['login'] = 'imp';
  // $this->registry['auth']['logout'] = 'imp';
  $this->applications['horde'] = array(
      'fileroot' => dirname(__FILE__) . '/..',
      'webroot' => '',
      'initial_page' => 'login.php',
      'icon' => '/graphics/home.gif',
      'name' => _("Horde"),
      'allow_guests' => true,
      'show' => true,
      'templates' => dirname(__FILE__) . '/../templates',
      'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
      'cookie_path' => '/horde',
      'server_name' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
      'server_port' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']
  );
now i have the problem, that i can't login in horde - he does't accept my username and password of the local linux user / mail user! - which setting is wrong?

i tryed to install imp 3 and modifyed following horde settings in registry.php:
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

i also modifyed the imp config files ... and now it works! i can login with my mail username and password. :)

****************************************
now i wanted to install the latest version of horde and imp (and other modules)
i removed my old version of horde and imp and took the latest version of this modules from cvs and modifyed the following config files of horde:

conf.php:
$conf['cookie']['domain'] = $_SERVER['webmail.power-web.at'];
$conf['server']['name'] = $_SERVER['webmail.power-web.at'];
$conf['sql']['phptype'] = 'mysql';
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'aDMIN01';
$conf['sql']['database'] = 'horde';
$conf['auth']['admins'] = array('root', 'webmail', 'horde');
$conf['auth']['driver'] = 'imap';
// $conf['auth']['driver'] = 'application';
// $conf['auth']['params']['app'] = 'imp';
$conf['auth']['params']['dsn'] = '{localhost/imap:143}INBOX';
$conf['category']['driver'] = 'sql';
$conf['mailer']['type'] = 'sendmail';
$conf['problems']['email'] = 'service at power-web.at';

nls.php:
$nls['defaults']['language'] = 'de_DE';

prefs.php:
$_prefs['language'] = array(
    'value' => 'de_DE',
    'locked' => false,
    'shared' => true,
    'type' => 'select',
    'desc' => _("Select your preferred language:"));

registry.php:
$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '',
    'initial_page' => 'login.php',
    'icon' => '/graphics/home.gif',
    'name' => _("Horde"),
    'allow_guests' => true,
    'status' => 'active',
    'templates' => dirname(__FILE__) . '/../templates'
);

$this->applications['imp'] = array(
    'fileroot' => dirname(__FILE__) . '/../imp',
    'webroot' => $this->applications['horde']['webroot'] . '/imp',
    'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif',
    'name' => _("Mail"),
    'allow_guests' => false,
    'status' => 'active',
    'provides' => 'mail'
);

when i want to login to horde comes the following error description: Authentifizierung fehlgeschlagen: Benutzername und/oder Passwort nicht richtig.
... wrong username or password! ... this time i can't install imp to make a workarround - to finish the installation i have to login to horde as administrator to create the correct conf.php file.

what can i do?
thank you!
markus gottscheber


More information about the horde mailing list