[horde] Fwd: horde: authentication via sql

Chuck Hagenbuch chuck at horde.org
Fri May 28 06:52:20 PDT 2004



----- Forwarded message from oliver.tiebel at web.de -----
    Date: Fri, 28 May 2004 07:42:54 +0200
    From: Oliver Tiebel <oliver.tiebel at web.de>
Reply-To: Oliver Tiebel <oliver.tiebel at web.de>
 Subject: horde:  authentication via sql
      To: chuck at horde.org

Hi Chuck;

I am trying to setup a sql-based authentication for the Horde-framework.

I have created the horde_user-table and inserted the &#8222;admin&#8220;-user
via the &#8222;auth_initial_user.sql&#8220;-script.

The login fails with the following message:

A fatal error has occurred:
Required 'phptype' not specified in authentication configuration.
[line 98 of e:\wwwroot\horde\lib\Auth\sql.php]
Details have been logged for the administrator.

So I think something has do be done within the ...auth\sql.php-file.

However, I do not get the point regarding your information in the header of this
file.

Where do I have to make the arrangements for the following parameters?

* Required values for $params:
*      'phptype'       The database type (ie. 'pgsql', 'mysql, etc.).
*      'hostspec'      The hostname of the database server.
*      'protocol'      The communication protocol ('tcp', 'unix', etc.).
*      'username'      The username with which to connect to the database.
*      'password'      The password associated with 'username'.
*      'database'      The name of the database.
*
* Optional values:
*      'table'         The name of the auth table in 'database'. Defaults to
'horde_users'.
*
* Required by some database implementations:
*      'options'       Additional options to pass to the database.
*      'tty'           The TTY on which to connect to the database.
*      'port'          The port on which to connect to the database.

Do they come from &#8222;horde.php&#8220;?!?
Do I have to clarify them within &#8222;sql.php&#8220;? If yes, where and how?

Thank you very much in advance!

Oliver

________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193

----- End forwarded message -----


-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez



More information about the horde mailing list