Freeradius realm using multiple sql and virtual server

Alan DeKok aland at
Fri Jun 22 16:50:58 CEST 2018

On Jun 22, 2018, at 10:40 AM, Philemon Jaomalaza <philemon.jaomalaza at> wrote:
> On the same server where Freeradius 3 is installed, I would like to have
> more instance of sql for each NAS to use its virtual server and its
> database.
> I do not know if it's a good idea but that's what I did:

  That's all good.

> The problems now when I try to authenticate like user at, he
> sees realm "" and Stripped the username in "user" but he
> does not try to use it in the database " radius1 "but always in sql the
> database" radius "of the blow it does not find the user and that gives
> Access-Reject.

  See the "radius_db" configuration in the SQL module configuration:

	# Database table configuration for everything except Oracle
	radius_db = "radius"

  Alan DeKok.

More information about the Freeradius-Users mailing list