Users Guide

Table Of Contents
1125 | External User Management Dell Networking W-Series ArubaOS 6.4.x| User Guide
john@linux:/home/john/tools/xml-api# ./auth -i 10.10.10.248 10.11.12.13 delete $abcd$1234$
This command sends the following information in the request to the controller:
l Client IP address: 10.10.10.248
l Authentication server IP address: 10.11.12.13
l Authentication command: delete
l Key to validate authentication request: $abcd$1234$
l Key is sent in cleartext format
Response from the controller
server=10.11.12.13, command=delete, version=1.0, secret=$abcd$1234$sessid=
Message authentication is cleartext ($abcd$1234$)
HTTP/1.1 200 OK
Date: Tue, 03 Aug 2010 23:30:32 GMT
Server:
Content-Length: 56
Connection: close
Content-Type: text/xml
<authresponse>
<status>Ok</status>
<code>0</code>
</authresponse>
Authenticating a Client
This command will authenticate and change the role of a client. To illustrate the authentication command
request process this section displays status of the client before and after the authentication command
request.
Status of the client before authentication
The following show user command shows the role of the client is logon before the authentication request is
processed by the controller.
(host) #show user
Users
-----
IP MAC Name Role Age(d:h:m) Auth VPN link AP name Roaming
Essid/Bssid/Phy Profile Forward mode Type Host Name
---------- ------------ ------ ---- ---------- ---- -------- ------- --- ---- --
------------- ------- ------------ ---- ---------
10.10.10.248 00:19:d2:01:0b:84 logon 00:00:00
User Entries: 1/1
The following command shows the captive portal status of the logon role of the client.
(host) (config-role) #show rights logon | include "Captive Portal profile"
Captive Portal profile = default
Sending the authentication command
Use the authenticate keyword in the script to send the authentication command request.
john@linux:/home/john/tools/xml-api# ./auth -i 10.10.10.248 -n john -p password 10.11.23.24
authenticate $abcd$1234$
This commands sends the following information in the request to the controller:
l Client IP address: 10.10.10.248
l Client username: john