On 13/08/12 17:16, Shaun Lowry wrote:
Is it possible to have a per-realm post-proxy section?  We need to add a
couple of attributes to our Access-Accepts which vary in content
depending on which realm we've proxied.  Otherwise, is there an easy way
to distinguish realm in the global post-proxy section?

Just refer to it.

post-proxy {
  if (Realm == abc) {
    update reply {
      ...
    }
  }
  elsif (Realm ...) {
  }
}

...or:

post-proxy {
  switch (Realm) {
    case "abc" {
    }
    case "def" {
    }
    case {
    }
  }
}
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to