HP-UX AAA Server A.07.01 Administrator's Guide

Example 18-3 User and Password Input and Output Mappings
For OCI:
input
RAD(User-ID, REPLY) DBP(userid,64,CHAR)
output
DBC(user_password,128,CHAR) RAD(Password, CHECK)
DBC(address_pool, 128, CHAR) RAD(Address-Pool, REPLY)
For ODBC:
input
RAD(User-Id, REPLY) DBP(1, 254,CHAR)
output
DBC(user_password, 128, CHAR) RAD(Password,CHECK)
DBC(address_pool, 128, CHAR) RAD(Address-Pool,REPLY)
The input mapping locates the RADIUS attribute User-Id in the reply queue and
associates a data pointer to the local value. The output mapping maps the value retrieved
from the database column user_password to the RADIUS attribute Password as a
check item, and the value retrieved from the database column address_pool to the
RADIUS attribute Address-Pool as a reply item.
Mapping Functions
Mapping functions can be used in input and output mapping entries either as a source
or target definition.
Mapping function definitions have the following syntax:
FUNC (mappingfunction)
Where:
mappingfunction
The function name to execute a mapping. Can either be a
pre-defined function included in the AAA Server, or a custom
defined function. See Advanced SQL Mapping Configuration”
(page 232) for more information on custom mapping functions.
HP provides the following pre-defined mapping function, listed in Table 18-8:
Implementing SQL Access 227