 |
» |
|
|
 |
To
quickly test the server installation, you will use Server Manager
to add a loopback connection to a AAA server, start the server,
and then check its status for a response. Use the following steps
to test the server installation: Connect to Server
Manager and start the AAA server. See “Starting the HP-UX
AAA Server”. Select the Server Connections
link from the Navigation Tree and then select the Connect to Server
link. Enter the values for your server
in the Add Connection screen that appears and select Create: - Name
The identifying string of a remote server. - Domain Name or IP Address
The IP address (in dotted-quad notation)
or valid Domain Name System (DNS) host name of the AAA
server that the connection maps to.
Verify the server is listed and
selected in the Server Status frame. Select the Administration link
from the Navigation Tree. Select Start. Verify the server started. A
green “GO” icon in the Server Status frame indicates the
server is running. Verify the server is selected
in the Server Status frame and then select the Status option. Check Server Manager’s
Message Frame for the status reply. The following reply at the bottom
of the Message Frame indicates the server is running correctly: “<server name> (port#)” is responding |
 |  |  |  |  | NOTE: If you did not receive this message, refer to the Troubleshooting chapter
in HP-UX AAA Server Administrator’s. |  |  |  |  |
Verify your HP-UX AAA Server
is installed and operating correctly by using the testing user (named
test_user) created during installation. After test_user is authenticated and the AAA server sends an Access-Accept,
the client sends an Accounting-Request to start the session. After
the session is terminated, the client sends an Accounting-Request
stop message to stop the session logging and the AAA server writes
the session information to a file. Enter
the following command: # /opt/aaa/bin/radpwtst -s localhost -i 10.0.0.1 -l 1 test_user |
This command simulates an Access-Request from port 1 of a
NAS with an IP address of 10.0.0.1. When prompted for a password,
enter: password. The command should return the following output: ’test_user’ authentication OK |
Enter the following command: # /opt/aaa/bin/radpwtst -c 4 -s localhost -i 10.0.0.1 -l 1 -u ppp -:Acct-Status-Type=Start test_user This command simulates an Accounting-Request start message,
activating the users’s PPP session. The command should
return the following output: Accounting Response received |
Enter the following command: # /opt/aaa/bin/radpwtst -c 4 -s localhost -i 10.0.0.1 -l 1 -u ppp -:Acct-Status-Type=Stop test_user This command simulates an Accounting-Request stop message,
terminating the users’s session. The command should return
the following output: Accounting Response received |
View the session logs for
test_user’s start and stop accounting messages by selecting
Accounting in Server Manager’s Navigation Tree and clicking
Display.
 |  |  |  |  | IMPORTANT: HP recommends removing test_user or changing it’s default password before deploying
your HP-UX AAA Server in a production environment. See the Securing the HP-UX AAA Server section
in the HP-UX AAA Server Administrator’s Guide. |  |  |  |  |
|