# 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';