Parameters Sent To Was - Gemtek Systems P-560 User Manual

54mb hotspot-in-a-box
Table of Contents

Advertisement

User's Guide

Parameters Sent to WAS

Parameters that are sent to the WAS for user authentication pages redirection:
parameter
nasid
nasip
cientip
mac
ourl
sslport
lang
In order to logon, log-off or get user status WAS submits POST request to the following URLs:
1. Remote user logon
Script name:
Parameters (all parameters are required):
secret
ip
username
password
Script call example:
https://P560/pplogon.user?secret=sharedSecret&ip=<user_IP_address>&username
=userName&password=UserPassword
Script produces XML output:
<logon>
<status>Ok</status>
<error>0</error>
<description>User logged on.</description>
<replymessage>Hello user!</replymessage>
</logon>
Response status and error codes:
status
OK
Not checked
No IP
No username
Disabled
Bad secret
No password
OK
Failed to authorize
Bad password
Gemtek Systems
description
NAS server ID value. Can be changed or specified under the network
interface | RADIUS | RADIUS settings menu
P-560 WAN IP address. Can be changed or specified under the network
interface | configuration | interface configuration menu.
Client IP address. Cannot be defined manually.
Client MAC address. Cannot be defined manually.
Initial URL where not authorized client enter to his/her browser and tries to
browse. After authentication the user is redirected in this URL (optional).
HTTPS port number of AC (by default: 443). Not configurable.
Parameter "accept-language" from client browser request (optional).
pplogon.user
shared secret, to protect page from accidental use
IP address of user to be logged on.
Username of the user to be logged on.
Password of the user to be logged on.
error
0
100
101
102
103
104
105
110
111
112
Chapter 4 – User Pages
description
User is logged on.
Logon information not checked.
No user IP address supplied.
No username supplied.
Remote authentication is disabled.
Incorrect shared secret supplied.
No user password.
User already logged on.
Failed to authorize user.
Incorrect username or/and password.
Page 35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P-560 and is the answer not in the manual?

Questions and answers

Table of Contents