[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


classmap.ini File

The classmap.ini initialization file specifies what Steel-Belted Radius Carrier does with RADIUS attributes encoded in one or more Class attributes included in accounting requests it receives.

[AttributeName] Section

The [AttributeName] section of classmap.ini specifies whether RADIUS information encapsulated in a Class attribute is appended to an accounting request or replaces a current value in an accounting request. If one attribute is replaced by another, the original attribute can be added to the request with a different identifier.

[AttributeName]
<add | replace> = Attribute [,Attribute]



Table 59: classmap.ini [Attributename] Syntax 
Parameter
Function

AttributeName

Name of the attribute encoded into the Class attribute by the authenticating server.

<add | replace>

Specifies whether the attribute value is added to the accounting request (leaving all other values intact) or whether one value replaces another in the accounting request.

Attribute

Specifies the name of the attribute that is added to the accounting request that contains the original value of the attribute identified by AttributeName.

[,Attribute]

Specifies the name of the attribute in the accounting request that should contain the value of the attribute displaced when the value of AttributeName replaces the existing Attribute value.

Valid only when the replace keyword is used.



NOTE: The RADIUS Class attribute cannot contain IPv6 attributes.


In the following example, the encapsulated User-Name attribute would replace the existing User-Name in the accounting request.

[User-name]
replace = User-Name

In the following example, the encapsulated User-Name attribute would be placed in the accounting request as User-Name, and the original value for User-Name would be added to the request as Funk-Full-User-Name.

[User-name]
replace = User-Name, Funk-Full-User-Name

In the following example, the encapsulated User-Name attribute would be added to the accounting request as a new attribute, and the original User-Name attribute would remain unchanged.

[User-name]
add = Funk-Full-User-Name



[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]