Getting the domain/realm

Alan DeKok aland at
Thu Nov 23 17:33:41 CET 2006

Pshem Kowalczyk wrote:
> Hi,
> I would like to proxy on a realm/domain basis. Users log in with
> standard username at logins, so this should be relatively
> straightforward, the problem is that   most of the providers that we
> serve uses a lot of domains (and we have a few providers as well).
> Which makes the proxy.conf file really long and ugly (as in most cases
> there are 2-3 servers we proxy to for every domain) and many
> information simply overlaps.

  That is getting addressed in the CVS head.  For now, there's another
way to do it.

> Is there a way to extract the realm and put it into a different
> attribute and then proxy on it's basis?


> so for example user at is logging in, i set
> My-Domain :=
> and then in users file
> DEFAULT My-Domain == '', Proxy-To-Realm := domains-realm
> is there a way of doing this?

DEFAULT User-Name =~ "$", Proxy-To-Realm := "domains-realm"


  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Users mailing list