[horde] Login Authentication
MAnsboury at Telsource.com
MAnsboury at Telsource.com
Mon May 6 15:21:59 PDT 2002
Stuart/Jan,
I have been reviewing the lists to see if anyone has an answer to Stuart.
I am at exactly the same place and have followed the guidelines left by Jan.
I have tested my access to Mysql and all is well.
I looked through the code and it appears things whould work but I am bounced
out of the Login and am back where I started.
Any further suggestions -- or Stuart have you resolved your problem?
Regards,
Mark
----- 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
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
-------------- next part --------------
Skipped content of type text/html
More information about the horde
mailing list