cange username in mysql auth

Alan DeKok aland at deployingradius.com
Tue Apr 28 15:54:50 CEST 2009


Trujillo Carmona, Antonio wrote:
> Hello and thank for all your work.
> Right now I'm try to use freeradius to validate access to our net throw
> a MAC auth.
> Our problem is that we have a inventory (in mysql) of printers with a
> field named MACADDR and we want check this field in order to grant
> access to the printers.
> How can we change the the sql query to check "MACADDR" instead of
> "username"?

  Edit it.  See the example configuration files for the default SQL
queries.  They can be changed.  The default schema and queries are just
defaults.  You can change them to nearly anything you want.

  Alan DeKok.



More information about the Freeradius-Users mailing list