Status of theclient before authentication
The followingshow userco mmandshows the role of the client is logon before the authentication request is
processed by the controller.
The followingcommand 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
Sendingthe authenticationcommand
Use the authenticatekeyword in the script to send the authentication command request.
Figure 360: Authenticatingthe client—request andresponse
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 sendst hefollowing information in the request to the controller:
lClient IP address: 10.10.10.248
lClient username:john
lClient password: password
lAuthentication server IP address: 10.11.12.13
lAuthentication command: authenticate
lKey to validate authentication request: $abcd$1234$
lKey is sent in cleartext format
Responsefrom thecontroller
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>
Status of theclient after authentication
Thefollowing show usercommandshows the role of the client is change to guest after theauthentication request
isprocessed by the controller.
DellPowerConnect W- Series ArubaOS 6.2 | UserGuide ExternalUser Manageme nt | 79 0