HP-UX AAA Server A.08.02 Administrator's Guide
Table 72 Input Mapping Data Types and Syntax
SyntaxInput Mapping Type
source
• RAD(vendor_id:attribute, attr_type, MAND)
• FUNC(mappingfunction)
• DBR(result) or DBR(ret code:error code)
target
• RAD(vendor_id:attribute, attr_type, MAND)
• FUNC(mappingfunction)
• DBP(placeholder, db_width, db_type)
• RET (return event)
Table 73 Output Mapping Data Types and Syntax
SyntaxOutput Mapping Type
source
• RAD(vendor_id:attribute, attr_type, MAND)
• DBC(db_column, db_width, db_type)
• DBP(placeholder, db_width, db_type)
• FUNC(mappingfunction)
• DBR(result) or DBR(ret code:error code)
target
• RAD(vendor_id:attribute, attr_type, MAND)
• FUNC(mappingfunction)
• RET (return event)
NOTE: You must store the values of tagged attributes in raw format, in the SQL Access database.
Following are the syntax and sample values of the tagged attributes:
• Tagged Integer — The syntax for the Tagged Integer attribute is :<tag value>:<attribute
value>. The value must always comprise four octets, of which the tag value must comprise
one octet and the attribute value must comprise three octets.
For example, the value :3:32 must be stored as 03000020. 03 is the hexadecimal equivalent
of 3 and 0000020 is the hexadecimal equivalent of 32. The additional 0s are included to
ensure that the value comprises four octets.
• Tagged String — The syntax for the Tagged String attribute is :<tag value>:<string>.
The value can comprise a maximum of 254 octets, of which the tag value must comprise one
octet and the string must comprise a maximum of 253 octets.
For example, the value :12:Sample must be stored as 0C53616D706C65. In the example,
OC is the hexadecimal equivalent of 12 and 53616D706C65 is the hexadecimal equivalent
of Sample.
RAD Mapping
The RAD mapping identifies a RADIUS attribute for input and/or output mapping. If a RADIUS
attribute is the source in input mapping, the target can either be a DB placeholder map, a RADIUS
attribute, or a mapping function. The most common use for a RADIUS attribute output mapping is
to map to a database column and value from the SQL statement execution.
If the same attribute is specified in multiple source mappings for a given SQL statement, the order
of mappings will match the order of appearance in the RADIUS attribute queue associated with
Implementing SQL Access 259