| 1 |
<html> |
| 2 |
<body> |
| 3 |
|
| 4 |
<h2><a href="cvm.html">CVM</a></h2> |
| 5 |
<h2><a href="sql.html">CVM SQL Framework</a></h2> |
| 6 |
|
| 7 |
<h1>The cvm-pgsql Module</h1> |
| 8 |
|
| 9 |
<h2>Synopsis:</h2> <p>PgSQL module</p> |
| 10 |
|
| 11 |
<h2>Credentials:</h2> |
| 12 |
|
| 13 |
<ol> |
| 14 |
<li>Pass phrase |
| 15 |
</ol> |
| 16 |
|
| 17 |
<h2>Description:</h2> |
| 18 |
|
| 19 |
<p>This module queries a PgSQL database for the account name, compares |
| 20 |
the stored pass phrase with the given one using <tt>crypt</tt>.</p> |
| 21 |
|
| 22 |
<h2>Configuration Variables:</h2> |
| 23 |
|
| 24 |
<p>The server hostname, port, database, username, password, and |
| 25 |
additional options can be controlled by setting <tt>$PGHOST</tt>, |
| 26 |
<tt>$PGPORT</tt>, <tt>$PGDATABASE</tt>, <tt>$PGUSER</tt>, |
| 27 |
<tt>$PGPASSWORD</tt>, and <tt>$PGOPTIONS</tt> respectively, which are |
| 28 |
parsed by the PgSQL client library.</p> |
| 29 |
|
| 30 |
<dl> |
| 31 |
|
| 32 |
<dt><tt>$CVM_MYSQL_POSTQ</tt> (optional)</dt> <dd>The <a |
| 33 |
href="sql.html">SQL</a> query to execute after the credentials have been |
| 34 |
validated.</dd> |
| 35 |
|
| 36 |
<dt><tt>$CVM_PGSQL_PWCMP</tt> (optional)</dt> <dd>The <a |
| 37 |
href="../pwcmp/pwcmp.html">password comparison module</a> to use.</dd> |
| 38 |
|
| 39 |
<dt><tt>$CVM_PGSQL_QUERY</tt> (optional)</dt> <dd>The <a |
| 40 |
href="sql.html">SQL</a> query to issue to retrieve the row containing |
| 41 |
the account information from the database.</dd> |
| 42 |
|
| 43 |
</dl> |
| 44 |
|
| 45 |
</body> |
| 46 |
</html> |