Experimenting With Noc-Authenticate.vbs; Retrieve Noc-Authenticate.vbs; Running The Program; Examples - Colubris Networks CN3000 Administrator's Manual

Table of Contents

Advertisement

Chapter 17 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Experimenting with NOC authentication - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chapter 17

Experimenting with noc-authenticate.vbs

Now you are ready to use noc-autenticate.vbs to test the NOC authentication feature.
Retrieve noc-
Retrieve noc-authenticate.vbs from \backend\vb and put it into a working folder.
You will also need cscript, which is a Microsoft tool that enables you to run VBScript
authenticate.vbs
from the command line. If cscript is not installed on your system, go to the Microsoft site
and download it. It is part of Windows 2000 SP3.
Running the
The program runs from a command line session with the syntax:
cscript noc-authenticate.vbs " CN3000_domain_name " " username " " password "
program
" user_IP " " client certificate "
The program posts the information you specify to the following URL:
https://www.noc-cn3000.com:8090/goform/HtmlNocLoginRequest
The CN3000 will answer the post with the results of the RADIUS authentication. The
program will print these results so you can view them. For a complete description of all
possible return values, see

Examples

Example 1 - successful authentication
In this example, authentication is requested for a valid customer account that was
defined during creation of the backend sample with Login name = user and Password =
user.
cscript noc-authenticate.vbs "www.noc-cn3000.com" "user" "user" "192.168.1.10"
"LOCAL_MACHINE\Test-Only client certificate for demo"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
result:
status:
url:
cn3000&u
ser=user02&wantedurl=&nasipaddress=&nasid=L003-00069
session-url: http://192.168.1.1:8080/session.asp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 408 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parameter
Description
Specify the domain name or IP address of the CN3000.
CN3000_domain_name
For this example, use the domain name www.noc-
cn3000.com.
Specify the name of an existing user account.
usename
Specify the password for the user account.
password
Specify the the IP address of the client station you want
user_IP
to grant access to.
Specify the name of client certificate. For this example,
client_certificate
the name of the client certificate is
certificate for demo.
was specified when the certificate noc-client.pfx was
created.
10
100
https://206.162.167.226:8888/cebit-php/welcome.php?site=eperie-
This is the distinguished name that
"Authentication results" on page
Test-Only client
410.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents