BW2251 User Guide v1.0
Nov. 2013
Page 170 of 187
Disabled
103
Remote authentication is disabled.
Bad secret
104
Incorrect shared secret supplied.
No password
105
No user password.
OK
110
User already logged on.
Failed to authorize
111
Failed to authorize user.
Bad password
112
Incorrect username or/and password.
Network failed
113
Network connection failed.
Accounting error
114
Accounting error.
Too many users
115
Too many users connected.
Unknown authorization error
120
Unknown authorization error.
<replymessage>
is RADIUS Reply-Message attribute value. If RADIUS responds with Reply-
Message(s), they are added to logon response. If RADIUS does not responds with Reply-Message,
<replymessage> attribute is not added to output XML.
2. Remote user log-off
Script name: pplogoff.user
Parameters:
secret
shared secret, to protect page from accidental use
ip
IP address of user to be logged off.
username Username of the user to be logged off.
mac
AC address of the user to be logged off.
All parameters are required, except the IP and MAC. At least one of IP and MAC addresses should be
supplied. If supplied only IP, user is checked and logged off by username and IP. If IP and MAC
addresses are supplied, then user is checked and logged off by username, IP and MAC addresses.
Script call example:
https://P720/pplogoff.user?secret=sharedSecret&username=UserName&ip=<user_I
P_address>
Script produces XML output:
<logoff>
<status>Ok</status>
<error>0</error>
<description>User logged off.</description>
</logoff>
Response statuses and error codes:
status
error
Description
OK
0
User is logged off.
Not checked
100
Logoff information not checked.
No username
102
No username supplied.
Disabled
103
Remote authentication is disabled.
Bad secret
104
Incorrect shared secret supplied.
No IP/MAC
106
No user IP and/or MAC address
supplied.
No user by MAC
121
User with supplied MAC address not