Mike Sturdee <[EMAIL PROTECTED]> wrote:
> I am trying to set the Realm attribute based on the Called-Station-Id.
> Doesn't look to work in users (not done soon enough).

  The "users" file updates the reply, and the check items.  The Realm
is usually a property of the request list, so the "users" file can't
add it there.

> Does the hints file support regex comparisons?

  It supports attributes and operators, which includes regexes.

> I am needing the realm set before radiusd reaches the authentication
> / authorization modules.

  Uh... the "preprocess" module is in "authorize", and is the module
which handles "hints".

  In the "hints" file, you should be able to do:

DEFAULT  Called-Station-Id =~ "foo.*bar"
         Realm = "foo"

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to