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

Table Of Contents
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 attr_type. When RAD is specified as a target mapping, a new
attribute is created to hold the data.
Table 22-5 (page 355) lists the RAD mapping parameters and their descriptions:
Table 22-5 RAD Mapping Parameters
DescriptionParameter
Optional. Specifies the RADIUS vendor ID in the string format. The RADIUS
vendor ID must exist in the dictionary.
Default: 0 (standard RADIUS) attribute.
vendor_id
Mandatory. Specifies the RADIUS attribute ID in the string format as defined
in the dictionary.
attribute
Implementing SQL Access 355