Discussion:
[horde] need help to install / config horde - can't login
Markus Gottscheber
2002-11-28 10:55:53 UTC
Permalink
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'] =3D 'imap';
$conf['auth']['params']['dsn'] =3D '{localhost/imap:143}INBOX';
$conf['prefs']['driver'] =3D 'sql';
$conf['prefs']['params']['phptype'] =3D 'mysql';
$conf['prefs']['params']['hostspec'] =3D 'localhost';
$conf['prefs']['params']['username'] =3D 'horde';
$conf['prefs']['params']['password'] =3D 'aDMIN01';
$conf['prefs']['params']['database'] =3D 'horde';
$conf['prefs']['params']['table'] =3D 'horde_prefs';
$conf['mailer']['type'] =3D 'sendmail';

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

registry.php:
// $this->registry['auth']['login'] =3D 'imp';
// $this->registry['auth']['logout'] =3D 'imp';
$this->applications['horde'] =3D array(
'fileroot' =3D> dirname(__FILE__) . '/..',
'webroot' =3D> '',
'initial_page' =3D> 'login.php',
'icon' =3D> '/graphics/home.gif',
'name' =3D> _("Horde"),
'allow_guests' =3D> true,
'show' =3D> true,
'templates' =3D> dirname(__FILE__) . '/../templates',
'cookie_domain' =3D> $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
'cookie_path' =3D> '/horde',
'server_name' =3D> $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
'server_port' =3D> $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'] =3D 'imp';
$this->registry['auth']['logout'] =3D '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'] =3D $_SERVER['webmail.power-web.at'];
$conf['server']['name'] =3D $_SERVER['webmail.power-web.at'];
$conf['sql']['phptype'] =3D 'mysql';
$conf['sql']['hostspec'] =3D 'localhost';
$conf['sql']['username'] =3D 'horde';
$conf['sql']['password'] =3D 'aDMIN01';
$conf['sql']['database'] =3D 'horde';
$conf['auth']['admins'] =3D array('root', 'webmail', 'horde');
$conf['auth']['driver'] =3D 'imap';
// $conf['auth']['driver'] =3D 'application';
// $conf['auth']['params']['app'] =3D 'imp';
$conf['auth']['params']['dsn'] =3D '{localhost/imap:143}INBOX';
$conf['category']['driver'] =3D 'sql';
$conf['mailer']['type'] =3D 'sendmail';
$conf['problems']['email'] =3D '***@power-web.at';

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

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

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

$this->applications['imp'] =3D array(
'fileroot' =3D> dirname(__FILE__) . '/../imp',
'webroot' =3D> $this->applications['horde']['webroot'] . '/imp',
'icon' =3D> $this->applications['horde']['webroot'] . =
'/imp/graphics/imp.gif',
'name' =3D> _("Mail"),
'allow_guests' =3D> false,
'status' =3D> 'active',
'provides' =3D> '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
Markus Gottscheber
2002-11-28 12:11:20 UTC
Permalink
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" <***@viebranz.de>
To: "'Markus Gottscheber'" <***@gmx.at>
Sent: Thursday, November 28, 2002 12:06 PM
Subject: AW: [horde] need help to install / config horde - can't login
Uncommand
// $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-----
Gesendet: Donnerstag, 28. November 2002 11:56
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
$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';
$nls['defaults']['language'] = 'de_DE';
// $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
$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'] =
$nls['defaults']['language'] = 'de_DE';
$_prefs['language'] = array(
'value' => 'de_DE',
'locked' => false,
'shared' => true,
'type' => 'select',
'desc' => _("Select your preferred language:"));
$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'
);
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/
Markus Gottscheber
2005-02-04 16:07:42 UTC
Permalink
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" <***@viebranz.de>
To: "'Markus Gottscheber'" <***@gmx.at>
Sent: Thursday, November 28, 2002 12:06 PM
Subject: AW: [horde] need help to install / config horde - can't login
Uncommand
// $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-----
Gesendet: Donnerstag, 28. November 2002 11:56
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
$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';
$nls['defaults']['language'] = 'de_DE';
// $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
$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'] =
$nls['defaults']['language'] = 'de_DE';
$_prefs['language'] = array(
'value' => 'de_DE',
'locked' => false,
'shared' => true,
'type' => 'select',
'desc' => _("Select your preferred language:"));
$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'
);
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/
Loading...