driver = mysql
connect = host=/mysql.sock dbname=dbname user=db_user password=db_pw

default_pass_scheme = PLAIN-MD5
password_query = SELECT password FROM users WHERE userid = '%n' AND %Ls = '1' AND active = '1'