From 977b4db32cde91d043562e9bafedbc563b6ae464 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 10 May 2006 21:58:42 +0000 Subject: Add example configuration files --- doc/mysql-example.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/mysql-example.conf (limited to 'doc/mysql-example.conf') 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'; -- cgit v1.2.3