HP-UX AAA Server A.07.01 Administrator's Guide
Example 18-1 Define the Oracle Database Connection Parameters
## Define the Oracle/OCI connection.
DBID db_oci {
DBClient OracleOCI
DBUser aaaoracleuser
DBPassword aaaoraclepassword
OracleSID "example.db.com:1521/testdb"
}
Example 18-2 (page 221) defines an instance of an ODBC database interface as db_odbc
with the connection parameters:
Example 18-2 Define the MySQL Database Connection Parameters
## Define the MYSQL ODBC connection.
DBID db_odbc {
DBClient ODBC
DBUser mysqlaaauser
DBPassword mysqlaaapassword
ODBCDatastore RadiusStore
}
SQL Actions
SQL actions are defined in the data structure identified by the keyword SQLAction.
Following is the syntax of the SQLAction data structure:
SQLAction action_ID
{
[TimedEvent timed_event]
/* repeat as needed */
{
[input
[source target [conversion_function]]
.
.
[source target [conversion_function]]]
[output
[source target [conversion_function]]
.
.
[source target [conversion_function]]]
[SQLStatement instance {sql_statement}]
}
/* end repeat *
Where:
Implementing SQL Access 221