Trying multiple realms

Arran Cudbard-Bell a.cudbardb at
Wed Jul 27 17:30:40 CEST 2011

On 27 Jul 2011, at 17:14, Charles Plater wrote:

> On Jul 26, 2011, at 4:36 PM, Alan DeKok wrote:
>> Charles Plater wrote:
>>> Is there any way to try multiple realms inside an update control
>>> statement? What I want to do is try proxying to one realm, and if that
>>> fails trying the credentials via the local ream. Thanks in advance.
>>  Read raddb/proxy.conf.  Look for the home server pool section.
>>  This works, and is documented.
> If I'm reading raddb/proxy.conf correctly home_server_pool allows for fail-over and load-balancing configurations. In my case I was to try the same credentials against multiple servers. I'm currently using this bit of unlang to send some requests to another radius server:
> 	if (User-Name !~ /^..[0-9][0-9][0-9].*$/) {
> 		update control {
> 			Proxy-To-Realm := ''
> 		}
> 	}
> What I'm looking at doing is to retry failed proxy attempts locally. Is this possible?

Fail in what way. Because a servers down or because the user was rejected?


Arran Cudbard-Bell
a.cudbardb at

RADIUS - Half the complexity of Diameter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list