Users Guide

Table Of Contents
1123 | External User Management Dell Networking W-Series ArubaOS 6.4.x| User Guide
output += 2;
}
}
}
##### Authentication Script Example -- END --
Understanding Request and Response
The controller processes the authentication task and sends a response to the authentication server in the XML
format to the authentication server. The XML response contains the status of the request and a code in case of
an error.
Request format: <script_name> [options] <controller-ip> <command> <secret_key>
Understanding XML API Request Parameters
The Table 249 lists all parameters that you can use in a request.
Parameter Description
script_name
The name of the script executable.
Options
l -i <ip_addr>—Specify the client’s IP address.
l -m <mac_addr>—Specify the client’s MAC address.
l -n <name>—Specify the client’s user name.
l -p <passwd>—Specify the client password.
l -r role—Specify the current user role of the client.
l -t timeout—User session timeout.
l -v version—API version number. Default is 1.0
l -a method—Specify the encryption method to send the secret key. You can specify
MD5 or SHA-1 or cleartext as the encryption method. By default, cleartext method is
used to send the key.
l -s sessid—Active session Id
controller-ip
The IP address of the controller that will receive the authentication requests.
command The authentication command sent to the controller. You can send one of the following
commands per request:
l add: Adds the client to your network.
l delete: Deletes the client from your network
l query: Fetches information about the client
l blacklist: Blacklists or block the client from connecting to your network
l authenticate: Authenticates the client and assigns the default authenticated role.
secret_key
The password used to validate the authentication request from your authentication
server. See
Configuring the XML API Server on page 1115 for more information.
Table 249: XML API Request Parameters and Descriptions