Hi list.

I'm trying to implement MAC-Authentication directly from a Mysql database. I follow the wiki page http://wiki.freeradius.org/Mac-Auth for authenticate macs from a file. I want to authenticate macs reading the authorized macs from a mysql database. I understand that in the radcheck table I need to put the macs like this:

username              attribute                      op         value
=======              ======                      ==        ====
00:11:22:33:44:55  Cleartext-Password     :=         00:11:22:33:44:55

I don't know where put the sql instruction for read macs from database. 

Is in the post-auth section? How can I do this?


Regards,
David