Pshem Kowalczyk wrote: > Hi, > > I would like to proxy on a realm/domain basis. Users log in with > standard [EMAIL PROTECTED] 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? Yes. > so for example [EMAIL PROTECTED] is logging in, i set > My-Domain := domain.com > > and then in users file > > DEFAULT My-Domain == 'domain.com', Proxy-To-Realm := domains-realm > > is there a way of doing this? DEFAULT User-Name =~ "@domain.com$", Proxy-To-Realm := "domains-realm" ... Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html