SQL and Huntgroups

Alan DeKok aland at deployingradius.com
Mon Apr 22 15:33:45 CEST 2013


gregoire.leroy at retenodus.net wrote:
> First, I want to check is the user has the right password. If he has the
> right password, I want to give him a configuration and if he's in the
> "one_huntgroup_name" (i.e he's from a special NAS), I want to give him
> the Framed-IP-Address. That's the current behavior of my users file, and
> I want to translate it in SQL. Do you know how to do that ?

  Yes.  I said the rlm_sql documentation says that it mirrors the
functionality of the "users" file.

  Read the documentation.

  To a very large extent, you can just take the "users" file entries,
and map them directly to the SQL tables.

  Alan DeKok.


More information about the Freeradius-Users mailing list