[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: proxy based on number of numeric char.
From: Agent Smith <news8080 () yahoo ! com>
Date: 2010-04-27 16:43:22
Message-ID: 560019.32257.qm () web50906 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]
That seems to work very well. Thanks..
--- On Mon, 4/26/10, Alan DeKok <aland@deployingradius.com> wrote:
> From: Alan DeKok <aland@deployingradius.com>
> Subject: Re: proxy based on number of numeric char.
> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org>
> Date: Monday, April 26, 2010, 3:42 PM
> Agent Smith wrote:
> > I'd like to have a radius proxy setup where it can
> proxy users based on number of numeric characters in the
> userid.
> >
> > so for example, if the userid is abc123 (with 3
> numeric char. at the end) it should proxy to an instance of
> radius running on the same box and if the user id is abcxxx
> it should proxy the request to a different instance of
> radius running on the same box,
> >
> > is this doable or did I miss something in the
> documentation?
>
> There is nothing in the documentation that says how
> to do this exact
> setup.
>
> What you can do is control proxying manually.
> See raddb/proxy.conf,
> and "man unlang" to put the pieces together.
>
> authorize {
> ...
>
> if (User-Name =~ /^...$$/) {
> update control {
>
> Proxy-To-Realm := "foo"
> }
> }
> ...
> }
>
>
> You will still need to configure realms.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic