MAC-Authentication from Mysql

David Seira davidseira at
Mon Nov 22 16:41:42 CET 2010

Hi Alan.

Thanks for your time.

In the authorize section I have the next instructions for authorize users in
a mac file:

if((Service-Type == 'Call-Check') || (User-Name =~
update control {
Auth-Type = 'CSID'

I don't know how to call the sql module for read the list users from mysql.
If I put in that section the sql instruction I don't know how compare the
sql results with the Calling-Station-Id that the NAS return in the request.

Another thing is that I don't know why the authorization is made in
post-auth section.

Thanks for your help.


2010/11/22 Alan DeKok <aland at>

> David Seira wrote:
> > I don't know where put the sql instruction for read macs from database.
>   Read raddb/sites-available/default.  Look for "sql".
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list