Freeradius realm using multiple sql and virtual server

Alan DeKok aland at deployingradius.com
Sat Jun 23 13:23:24 CEST 2018


> On Jun 23, 2018, at 1:34 AM, Philemon Jaomalaza <philemon.jaomalaza at gmail.com> wrote:
> 
> This the output receiving packet when I try to authentificate for usertest1 at mydomaintest.com with password: usertest1password 

  And you've configured the server to use the "sql" module for all users.

  You've said previously that you want different domains to use different SQL modules.  How did you  configure that?

  i.e. how do you expect it to happen?

  It looks like you've configured multiple realms and SQL modules.  But, (and the important thing here) haven't tied them together in any way.

  You should do something like:

	if realm1
		sql1
	elsif realm2
		sql2
	elsif realm3
		sql3
	else
		sql

  Alan DeKok.




More information about the Freeradius-Users mailing list