summaryrefslogtreecommitdiff
path: root/doc/mysql-example.conf
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-05-10 21:58:42 +0000
committerStef Walter <stef@memberwebs.com>2006-05-10 21:58:42 +0000
commit977b4db32cde91d043562e9bafedbc563b6ae464 (patch)
tree6b20230f026cd391cfe9cf8b6e53b944b81e51ba /doc/mysql-example.conf
parent0311bd877289e6a5074b6a54b58ee72e9f5fdbac (diff)
Add example configuration files
Diffstat (limited to 'doc/mysql-example.conf')
-rw-r--r--doc/mysql-example.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/mysql-example.conf b/doc/mysql-example.conf
new file mode 100644
index 0000000..7f3c608
--- /dev/null
+++ b/doc/mysql-example.conf
@@ -0,0 +1,19 @@
+# Authenticate against MySQL
+
+# Create a new handler called 'MyHandler'
+[MYSQL:MyHandler]
+
+# The realm displayed to the user
+Realm: LDAP Example
+
+# Only digest authentication allowed
+AuthTypes: Digest
+
+# Connect to mysql server with:
+DBServer: var/lib/mysql/mysql.sock
+DBUser: testuser
+DBPassword: testuser
+DBDatabase: test
+
+# And authenticate against the clear password in the 'pw' column
+DBQuery: SELECT pw FROM testauth WHERE uid = '%u';