Handling Multiple Scripts; Configuring A Remote Server For Aa - Cisco Access Registrar 4.2 Installation And Configuration Manual

Cisco systems network device installation and configuration guide
Hide thumbs Also See for Cisco Access Registrar 4.2:
Table of Contents

Advertisement

Configuring a Remote Server for AA

Use the cd command to change to Scripts.
Step 3
Use the add command to add the new script, specifying the name, description, language, filename and
Step 4
an optional entry point. If you do not specify an entry point, Cisco AR uses the script's name.
The following example specifies the name
Extension), the filename
Use the save command to save your changes:
Step 5
Use the reload command to reload the server.
Step 6

Handling Multiple Scripts

Cisco AR can run only one script from a given extension point. However, you can write a script that runs
several scripts serially, one after the other. For example, the following tcl script, MasterScript, might
look like the following:
## this MasterScript executes both tParseAAA and MyProcedure
# it assumes that tclscript.tcl and myscripts.tcl are in the same
#
directory as this file
source tclscript.tcl
source myscripts.tcl
proc MasterScript { request response environ } {
tParseAAA $request $response $environ
MyProcedure $request $response $environ
}
Save tcl scripts in the directory /opt/CSCOar/scripts/radius/tcl.
Configuring a Remote Server for AA
All the sites described so far in this chapter have used the Cisco AR RADIUS server for authentication
and authorization. You might want to delegate either one or both of those tasks to another server, such
as an LDAP server or another RADIUS server.
You can specify one of the following services when you want to use a particular remote server:
Installing and Configuring Cisco Access Registrar, 4.2
5-8
cd /Radius/Scripts
LibParseUserName.so
add ParseUserName ""Rex libParseUserName.so ParseUserName
save
reload
radius—authentication and/or authorization
ldap—authentication and/or authorization
tacacs-udp—authentication only.
Chapter 5
, the language
ParseUserName
, and the entry point
ParseUserName
Customizing Your Configuration
(which is RADIUS
Rex
.
OL-17221-02

Advertisement

Table of Contents
loading

Table of Contents