TCCRadius uses ADO, the latest Microsoft technology wrapper
for OLE-DB. Therefore to use TCCRadius, you need to have the
latest Microsoft Universal Data Access Components. At the time of
this release, the latest version was 2.1.1.3711.11 (GA) and could
be found at http://www.microsoft.com/data/download.htm. The main
ADO website is at http://www.microsoft.com/ado.
You must have at least ADO Version 2.0 in order to use TCCRadius.
1. Create a System DSN that points to the database that contains the usernames, passwords, and attributes. See the included sample database for an example of what a very simple user database would look like.
2. Modify the TCCRadius.cfg file and put the name of the DSN that you have created. The default is DSN = TCCRadius.
3. Verify that the DSNUsername and DSNPassword matches the System DSN information. If you option to not use passwords, comment out these entries with a #.
4. Verify that the Database Table information in the TCCRadius.cfg file matches your database.
Default:
## ODBC/SQL Information
# All fields must be in the same table
Table = UserInfo
UsernameField = Username
PasswordField = Password
AttributesField = Attributes
Default Explained:
Table: This is the name of the table inside the database that
contains the username, password, and attributes.
Field Names: If your field names differ from the standard
Username, Password, and Attributes, you can change them here.
Example:
If your database had a table called AuthInformation and had the
usernames in the User field and the Passwords in the Pass field,
your entry would look like this:
## ODBC/SQL Information
# All fields must be in the same table
Table = AuthInformation
UsernameField = User
PasswordField = Pass
AttributesField = Attributes
Attributes ODBC Field
The attributes field works exactly the same as the attributes
section in Text mode (see the Text Mode section), but the
attributes would be semicolon delimited.
Example ODBC User:
Username: Tom
Password: pizzapie
Attributes:
framed-ip-address=192.168.0.1;tccradius-time-intervals=2;tccradius-start-time1=12:00;tccradius-stop-time1=20:00;tccradius-start-time2=21:00;tccradius-stop-time2=22:00
Receiving this error indicates a failure to load the Microsoft ADO and connect to the ODBC server specifed in the DSN.
Steps to take to correct this:
1. Upgrade to the latest Microsoft Universal Data Access Components.
2. Verify that you have a msado15.dll on your system, typically at this location: c:\program files\common files\system\ado\msado15.dll
3. Verify that the System DSN you have created matches the same information specified in the TCCRadius.cfg file.
4. Contact support@tccsoftware.com if all else fails.