HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Table 22-8 Pre-defined Mapping Functions
DescriptionMapping FunctionMapping Type
Returns the AAA Server hostname. It uses the RADIUS
Server host name stored in aaa.config or the result
AAALocalHost
Source
of the gethostname() system call when hostname
is not configured.
Returns the local IP address in binary format as
returned by getaddrinfo() for AAALocalHost.
AAALocalIP
Source
Returns the local IPv6 address in binary format as
returned by getaddrinfo() for AAALocalHost.
AAALocalIPv6
Source
Retrieves the session ID from the RADIUS request’s
CLASS attribute-value pair or generates a session ID if
the CLASS attribute-value pair does not exist.
get_sid
Source
Initiates the release of the input IP address via DHCP
(IPv4 only). Can be used only if session management
with DHCP is enabled in the FSM.
AAAFreeIP
Target
Returns ACK irrespective of the input. Typically used
with the DBR source mapping to force the continuation
ACKonAll
Target
of mapping execution even if a previous SQL statement
failed.
Returns ACK if the function’s input data is zero. Else,
it returns NAK. Typically used with the DBR source
ACKonZero
Target
mapping to return ACK when DBResultCode or
DBMatchRow are zero.
Returns RETRIEVE_SUCCESS is the function’s input
data is zero. Else, it returns NAK. Typically used with
RetrieveOnZero
Target
the DBR source mapping to return
RETRIEVE_SUCCESS for user retrieval actions.
Returns NAK if the function’s input data is zero.
Typically used with the DBR source mapping to return
NAK when DBResultCode or DBMatchRow are zero.
NAKOnZero
Target
A failure of a mapping function results in the termination of the SQL action.
The following input mapping example for OCI uses the pre-defined mapping function
get_sid as a source to set a session ID.
input
FUNC(get_sid) DBP(sessid, 254, CHAR)
The following output mapping example for OCI uses the pre-defined mapping function
AAAFreeIP as a target to initiate the freeing of the input IP address via DHCP:
output
DBP(ipaddr, 11, INT) FUNC(AAAFreeIP)
360 SQL Access