ClearBox Server™ v1.2 Developer's Guide

Step 5. Compiling and Testing Extension

Now extension can be tested for the first time, although it still does nothing useful.

1. Compile the project. If some errors occur during compilation or linking, make sure you've done all the previous steps and code you've inputted is correct.

2. Configure ClearBox Server to use server extension we've created. Run Server Manager from the Start menu, connect to the server, switch to the "Server Settings" tab. Select "Base settings" category and type TestExt.MyFirst.1 in the "Server extension ProgID" box. Click Save.

3. Input the following data into Clients table of our database:

NASIPTACACShostAuthenSecretSecret
127.0.0.1falsetruesample1
127.0.0.1falsefalsesample2

These are shared secrets (or 'keys') that server will use for packets received from local host (127.0.0.1). Another address may be specified on machines connected to LAN.

4. Run ClearBox Server, run Client Tool (see its manual to learn more about it).

Input any user name and password, sample1 as a shared secret for authentication packets, and send authentication request (choose any authentication method except for 'None'). Packet will be rejected if all the steps were made correctly. If there's no response from the server, check errlog.txt (see Troubleshooting for details) for possible errors. It may happen that server discarded the packet as it could not find secret shared with client. In this case the error would be "Unknown client address".

Go to the next step.


© 2001-2003 XPerience Technologies. www.xperiencetech.com

Created by chm2web html help conversion utility.