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

Table 78 Pre-defined Conversion Functions (continued)
DescriptionConversion Function
Converts an ASCII string containing the prefix/length format as specified by RFC 2373
to the RADIUS IPv6 Prefix attribute type.
AAAStringtoIPv6Prefix
Converts the RADIUS IPv6 interface identifier attribute type to an ASCII string as
specified by RFC 2373.
AAAIPv6InterfaceIDto
String
Converts the ASCII value of the Tagged Integer attribute represented as :<tag
value>:<integer value> into octets.
AAATagInttoOctets
Converts the ASCII value of the Tagged String attribute represented as :<tag
value>:<string> into octets.
AAATagStrtoOctets
Converts an hexadecimal string to a binary string format The hex string can be of the
form 0x< hex string> or can be just < hex string>.
AAAHexToBinaryString
A failure of a conversion function results in the termination of the SQL action.
The following example for OCI uses the pre-defined conversion function AAAIPtoString in an
input mapping entry to convert a binary IP address to an ASCII string:
input
RAD(Login-IP-Host) DBP(iphost, 46, CHAR) AAAIPtoString
SQL Statement
The SQLStatement section defines the SQL statement using standard SQL statement syntax to
execute on the input data. Following is the syntax of the SQLStatement data structure:
SQLStatement instance {sql_statement}
Where:
instance Database instance identified by the DBID structure.
sql_statement User defined SQL statement. Passed unmodified to the database client library.
Example 4 shows a complete SQL action definition where a row is deleted from the session table
for a stop session action:
264 SQL Access