Cisco Cisco 4404 Wireless LAN Controller

Page de 38
7/27/05
Technical Notes for Cisco Wireless LAN Controllers
OL-7431-02
When upgrading Cisco 2000 Series Wireless LAN Controllers and Cisco 4100 Series Wireless 
LAN Controllers from Release 2.0 or 2.2.127.4 to Release 3.0, update the external webauth 
configuration as follows:
A.
Instead of using a preauth ACL, the network manager must configure the external web 
server IP address using the CLI command:
config custom-web ext-webserver add <IP address>
 
where <IP address> is the address of any web server that performs external web 
authentication.
B.
Then the network manager must use the new login_template which is included below: 
<html>
<head>
<meta http-equiv="Pragma" content="no-cache"> <meta 
HTTP-EQUIV=”Content-Type” CONTENT="text/html; charset=iso-8859-1"> 
<title>Web Authentication</title> <script>
function submitAction(){
var link = document.location.href;
var searchString = "redirect=";
var equalIndex = link.indexOf(searchString);
var redirectUrl = "";
var urlStr = "";
if(equalIndex > 0) {
equalIndex += searchString.length;
urlStr = link.substring(equalIndex);
if(urlStr.length > 0){
redirectUrl += urlStr;
if(redirectUrl.length > 255)
redirectUrl = redirectUrl.substring(0,255);
document.forms[0].redirect_url.value = redirectUrl;
}
}
document.forms[0].buttonClicked.value = 4;
document.forms[0].submit();
}
function loadAction(){
var url = window.location.href;
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split("&");
for(var i=0;i<pairs.length;i++){
var pos = pairs[i].indexOf('=');
if(pos == -1) continue;
var argname = pairs[i].substring(0,pos);
var value = pairs[i].substring(pos+1);
args[argname] = unescape(value);
}
//alert( "AP MAC Address is " + args.ap_mac);
//alert( "The Switch URL is " + args.switch_url);
document.forms[0].action = args.switch_url;
// This is the status code returned from webauth login action