Using a database schema other than the one created by db_mysql.sql

Kevin Bonner keb at pa.net
Tue Aug 2 23:20:31 CEST 2005


On Tuesday 02 August 2005 16:35, Ana Bizarro wrote:
> We have a (mysql) database where we have usernames and passwords and I
> recently installed freeradius on our server. I would like the freeradius
> server to authenticate using the database but, obviously, our database
> schema is completely different than the one created by db_mysql.sql.

If you can craft a query to return the proper rows, you shouldn't have a 
problem with your current schema.  Read doc/rlm_sql and the comments in 
sql.conf as they specify what should be returned by your SQL query.

Kevin Bonner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20050802/70bc115d/attachment.pgp>


More information about the Freeradius-Users mailing list