NAME
Auth::Kokolores::Plugin::SqlRetrieve - kokolores plugin for retrieving users from SQL databases
VERSION
version 1.00
DESCRIPTION
Retrieve a user from a SQL database.
Will fail if no user is found.
If a user is found all fields of the record will be stored in the current requests userinfo field.
EXAMPLE
<Plugin retrieve-user>
module = "SqlRetrieve"
dsn = "dbi:SQLite:dbname=/var/lib/kokolores/users.sqlite"
select = "SELECT * FROM passwd WHERE username = ?"
</Plugin>
MODULE PARAMETERS
select (default: SELECT username, method, salt, cost, hash FROM users WHERE username = ?)
Define a SQL SELECT query to retrieve the user from the SQL database.
user (default: '')
User used to connect to SQL database.
password (default: '')
Password used to connect to SQL database.
dsn (default: 'dbi:SQLite:dbname=/var/lib/saslauthd/saslauth.sqlite')
A connection string for the database in perl-DBI format.
AUTHOR
Markus Benning <ich@markusbenning.de>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991