Radius and SQL server problem

Ronen I. Kat ( ronen@israsrv.net.il )
Fri, 14 Feb 1997 07:46:38 +-200


I am trying to use RadiusNT 1.16.60 with SQL server 6.5.

I found out that RadiusNT some times query the database for the same table diffrently:

for example:

SQL Statement: Select Name, RadAttributeID, Type From RadAttributes


SQL Statement: Select ra.Name, rv.Name, rv.Value From RadValues rv, RadAttributes ra Where rv.RadAttributeID = ra.RadAttributeId

and I get:

ODBC: SQLExecDirect Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'RadAttributeId'.

Only time it uses RadAttributeId and another RadAttributeID ( with capital 'D' at the end ),
This cause an SQL error on SQL server.

Can someone help me with this ?