Fwd: Re: [horde] Horde working - almost

Jan Schneider jan at horde.org
Mon Apr 29 04:20:20 PDT 2002



----- Weitergeleitete Nachricht von Stuart Conroy <stuart at conroy.co.uk> ----
-
    Datum: Mon, 29 Apr 2002 10:15:16 +0100
    Von: Stuart Conroy <stuart at conroy.co.uk>
Antwort an: Stuart Conroy <stuart at conroy.co.uk>
 Betreff: Re: [horde] Horde working - almost
      An: Jan Schneider <jan at horde.org>

Thanks Jan,

I've updated my horde.php by copying your comments below, but I've obviously
done something else wrong because the login page still returns to itself
after submitting.

IS there anything else which I may have left out?


Regards



Stuart


----- Original Message -----
Wrom: KSTTZRCLBDXRQBGJSNBOHMKHJYFMYXO
To: "Stuart Conroy" <stuart at conroy.co.uk>
Cc: <horde at lists.horde.org>
Sent: Monday, April 29, 2002 10:16 AM
Subject: Re: [horde] Horde working - almost


> Zitat von Stuart Conroy <stuart at conroy.co.uk>:
>
> > Hi Jan,
> >
> > Thanks for the advice.
> >
> > I checked the previous posts and followed the quidance given to others.
> >
> > I then changed my horde.php file to include the following, which may or
> > may
> > not be correct - apologies for my inexperience.
> >
> > // An array holding any parameters that the Auth object will need to
> > // function correctly.
> > $conf['auth']['params'] = array(
> > $conf['prefs']['params']['phptype'] = 'mysql';
> > $conf['prefs']['params']['hostspec'] = 'localhost';
> > $conf['prefs']['params']['username'] = 'horde';
> > $conf['prefs']['params']['password'] = 'mypassword';
> > $conf['prefs']['params']['database'] = 'horde';
> > $conf['prefs']['params']['table'] = 'horde_users';
> > );
> >
> >
> > // Any parameters that the preferences driver needs. This includes
> > // database or ldap server, username/password to connect with, etc.
> > $conf['prefs']['params'] = array(
> > $conf['prefs']['params']['phptype'] = 'mysql';
> > $conf['prefs']['params']['hostspec'] = 'localhost';
> > $conf['prefs']['params']['username'] = 'horde';
> > $conf['prefs']['params']['password'] = 'mypassword';
> > $conf['prefs']['params']['database'] = 'horde';
> > $conf['prefs']['params']['table'] = 'horde_prefs';
> > );
> >
> > Now when I go the the horde or imp login page it just and login it just
> > returns me to the same login page again and again.
>
> Yes, of course. You set the parameter for the preference backend two times
> instead of setting the parameters for the authentication backend in the
> first code block and nest the arrays wrong.
>
> It should look like this:
>
> // An array holding any parameters that the Auth object will need to
> // function correctly.
> $conf['auth']['params'] = array();
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['username'] = 'horde';
> $conf['auth']['params']['password'] = 'mypassword';
> $conf['auth']['params']['database'] = 'horde';
> $conf['auth']['params']['table'] = 'horde_users';
>
>
> // Any parameters that the preferences driver needs. This includes
> // database or ldap server, username/password to connect with, etc.
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'horde';
> $conf['prefs']['params']['password'] = 'mypassword';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
>


----- Ende der weitergeleiteten Nachricht -----


Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the horde mailing list