User's Manual

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.
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.
Figure 245 Authenticating the client—request and response
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
l Client password: password
l Authentication server IP address: 10.11.12.13
l Authentication command: authenticate
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=authenticate, version=1.0, secret=$abcd$1234$sessid=
Message authentication is cleartext ($abcd$1234$)
HTTP/1.1 200 OK
Date: Tue, 03 Aug 2010 23:23:42 GMT
Server:
Connection: close
Content-Type: text/xml
<authresponse>
<status>Ok</status>
<code>0</code>
</authresponse>
Dell Networking W-Series ArubaOS 6.4.x | User Guide External User Management | 1035