D-Link DWS-1008 User Manual
0
9. Use the following command to configure the SSID to use the custom page:
set service-profile
name
web-portal-form
url
For the
url
, specify the full path; for example, mycorp-webaaa/mycorp-login.html. If the custom
login page includes gif or jpg images, their path names are interpreted relative to the directory
from which the page is served.
10. Configure WebAAA users and rules as described in “Configuring Web Portal WebAAA”.
Using Dynamic Fields in WebAAA Redirect URLs
You can include variables in the URL to which a WebAAA client is redirected after authentication and
authorization. The table below lists the variables you can include in a redirect URL.
Variable
Description
$u
Username of the Web AAA user
$v
VLAN to which the user was assigned during authorization
$s
SSID the user is on
$p
Name of the service profile that manages the parameters for the SSID
$$
The literal character $
$q
The literal character ?
You can configure a redirect URL for a group of users or for an individual user. For example, the following
command configures a redirect URL containing a variable for the username:
DWS-1008#
set usergroup ancestors attr url http://myserver.com/$u.html
success: change accepted.
The variable applies to all WebAAA users in user group ancestors. When user
zinjanthropus
is
successfully authenticated and authorized, MSS redirects the user to the following URL:
http://myserver.com/zinjanthropus.html
When user
piltdown
is successfully authenticated and authorized, MSS redirects the user to the following
URL:
http://myserver.com/piltdown.html
The following example configures a redirect URL that contains a script argument using the literal
character ?:
DWS-1008#
set usergroup ancestors attr url https://saqqara.org/login.php$quser=$u
success: change accepted.
When user
djoser
is successfully authenticated and authorized, MSS redirects the user to the following
URL:
https://saqqara.org/login.php?user=djoser
To verify configuration of a redirect URL and other user attributes, type the
show aaa command.
Содержание DWS-1008
Страница 1: ......