[horde] need help to install / config horde - can't login
Markus Gottscheber
markus.gottscheber at gmx.at
Thu Nov 28 04:11:20 PST 2002
that is my server.php entry:
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'mail/',
'namespace' => '',
'maildomain' => 'webmail.power-web.at',
'smtphost' => 'mail.webmail.power-web.at',
'realm' => '',
'preferred' => '',
'quota' => false);
i 've uncommanded
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';
in the conf.php
... now imp wants to handle the login, but that does not work - he wants to
jump to http:///imp/login.php ... that doesn't work - he loses de server
name :(
imp cannot handle the login - it is not configured ready - i don't have a
imp/config/conf.php file. to get such a file i have to login to horde as
administrator.
ciao
markus
----- Original Message -----
From: "Maik Caro" <maik.caro at viebranz.de>
To: "'Markus Gottscheber'" <markus.gottscheber at gmx.at>
Sent: Thursday, November 28, 2002 12:06 PM
Subject: AW: [horde] need help to install / config horde - can't login
> Uncommand
> registry.php:
> // $this->registry['auth']['login'] = 'imp';
> // $this->registry['auth']['logout'] = 'imp';
> Imp now will handle you login.
>
> Check
> /imp/conf/server.php
> Here you have to specify you imap server settings.
>
> maik
>
>
> -----Ursprüngliche Nachricht-----
> Von: horde-bounces at lists.horde.org
> [mailto:horde-bounces at lists.horde.org] Im Auftrag von Markus Gottscheber
> Gesendet: Donnerstag, 28. November 2002 11:56
> An: horde at lists.horde.org
> Betreff: [horde] need help to install / config horde - can't login
>
>
> 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
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
More information about the horde
mailing list