Arne Brutschy <[EMAIL PROTECTED]> wrote:
> I want to use wildcards in my realm for proxying. But the method posted
> by Alan does not work.

  Hmm... that can happen, but I'm not sure.

> ~  DEFAULT User-Name =~ "@foo", Proxy-To-Realm := "foo.com"
> 
> I get an error:
> 
> ~  WARNING: You set Proxy-To-Realm = foo.com but it is a LOCAL realm!
> ~  Cancelling invalid proxy request.

  That's a WARNING, in large letters.  It's not an error.

> foo.com is my local realm, and I need the DEFAULT realm to be proxied to
> another server.

  Which can be configured in "proxy.conf"

> I want to handle all realm like "@.*foo\.com" on my local server
> (and the NULL realm), everything else should be forwarded using the
> DEFAULT realm.

  Since the "realms" module doesn't do regular expression matching,
the suggestion I posted, and what you're using WILL WORK.

  Try it.  The warning message is just a warning, it's NOT an error.
If it was an error, the message would be labelled "ERROR".

  Alan DeKok.


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

Reply via email to