ClearBox Server™ v1.2 Developer's Guide

Step 1. Defining Database Schema

Create new database with MS Access (we use Access 2000 in our tutorial). Save it as C:\textext.mdb.

Create the following tables with data schema as described:

Clients

This table is filled with data by ClearBox Server administrator and contains information about secrets which are shared by the server and its clients.

Column nameData typeDescription
IDCounter 
NASIPText(15)IP address of a NAS for which shared secrets are stored
TACACShostBooleanFlag specifying if this is a TACACS+ shared secret key
AuthenSecretBooleanFlag specifying whether this a secret for authentication client or accounting (for TACACShost=false)
SecretText(50)Secret shared with RADIUS or TACACS client

Users

This table is filled by ClearBox Server user and contains information about user names and passwords.

Column nameData typeDescription
IDCounterKey field used to address a record in the table
NameText(50)User name (or "login")
PasswordText(50)User password
EnabledBooleanFlag specifying whether the user account is enabled or disabled

Accounting

This tabled is filled with data by ClearBox Server automatically and contains information about user sessions.

Column nameData typeDescription
IDCounter 
UserIDIntegerPoints to a record in Users table
StopTimeDate/timeTime when Stop accounting record was received
ElapsedIntegerDuration of a session in seconds
BytesInIntegerNumber of input bytes transferred during the connection
BytesOutIntegerNumber of input bytes transferred during the connection

Go to the next step.


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

Created by chm2web html help conversion utility.