[cvs] [Wiki] changed: SQLAuthHowTo
Eric Rostetter
eric.rostetter at physics.utexas.edu
Tue Sep 16 03:42:55 UTC 2008
ericr Mon, 15 Sep 2008 23:42:55 -0400
Modified page: http://wiki.horde.org/SQLAuthHowTo
New Revision: 1.4
Change log: slight cleanup
@@ -1,35 +1,34 @@
NOTE: This page is a work in progress, and has not been tested. It may
or may not be of any use, may contain numerous errors, and may turn your
tongue a strange color. Use at your own risk.
-First, install MySQL, following the directions found on numerous web
sites on the internet.
+First, install and configure MySQL (root user and password, access
rules, firewall rules, etc) following the directions found on numerous
web sites on the internet. This will be operating system dependent,
and vary based on your needs.
-Next, install Horde and IMP, following directions elsewhere on this wiki.
+Next, install Horde and IMP, following directions found elsewhere on
this wiki. Specific instructions vary by operating system and your
access to the system.
-Then, install dovecot, following the instructions on http://wiki.dovecot.org/
-
-Configure dovecot to use MySQL as per the directions at
http://wiki.dovecot.org/AuthDatabase/SQL
+Then, install dovecot, following the instructions on
http://wiki.dovecot.org/ and
+configure dovecot to use MySQL as per the directions at
http://wiki.dovecot.org/AuthDatabase/SQL
Now, configure IMP:
* Backup horde/imp/config/servers.php and imp/config/conf.php
* Edit imp/config/servers.php and set 'hordeauth' => 'full' so users only
- need to login once (Horde passes authentication data to IMP).
+ need to login once (Horde passes authentication data to IMP)
Now, configure Horde:
* Backup your horde/config/conf.php file
-* Backup any relevant MySQL databases
-* Log in to Horde as an administrative user.
-* Navigate: Administration -> Setup -> Horde select the Authentication tab.
-* Switch authentication backend ($conf[auth][driver]) to SQL
authentication w/custom-made queries
-* Set the phptype setting to MySQL
-* Set the protocol setting to TCP/IP
-* Leave port as the default 5432
-* Set the hostspec to localhost
+* Backup any relevant MySQL databases, if they have live/important
data in them
+* Log in to Horde as an administrative user
+* Navigate: Administration -> Setup -> Horde, and select the
Authentication tab.
+* Switch the authentication backend driver to "SQL authentication
w/custom-made queries"
+* Set the phptype setting to "MySQL"
+* Set the protocol setting to "TCP/IP"
+* Leave port as the default "5432"
+* Set the hostspec to "localhost" (or to your SQL host if it is not
on the same machine)
* Set the username and password paramters to the SQL database
username and password you set when creating the database
-* Set the encryption to use to store the password in the table to crypt-md5?
+* Set the encryption to use to store the password in the table to
crypt-md5 (is this correct?)
* Set the database field to the one defined when you configured
dovecot's SQL database (in this case, we will use "users" like on the
dovecot website)
* For query_auth, enter:
SELECT * FROM users WHERE userid = \L AND password = MD5(\P);
* For query_add, enter:
More information about the cvs
mailing list