On Thu, Nov 11, 2004 at 10:50:35PM +0100, Nicolas Baradakis wrote:
> Pasi K�rkk�inen wrote:
> 
> > > > > > How do I add new attribute in post-proxy section?
> > > > >
> > > > > See module rlm_attr_rewrite.
> >
> > But you can't use this to add value based on realm..
> 
> You need one module instance of rlm_attr_rewrite for each realm.
> 
> In the "users" file you put something like
> DEFAULT Realm == "foo.net", Post-Proxy-Type := post.proxy.foo
> DEFAULT Realm == "bar.net", Post-Proxy-Type := post.proxy.bar
> 
> Then in the "post-proxy" section of radiusd.conf
> post-proxy {
>       ...
>       Post-Proxy-Type post.proxy.foo {
>               addfoopool
>         }
>       Post-Proxy-Type post.proxy.bar {
>               addbarpool
>         }
>       ...
> }
> 

Thanks for your reply! This looks like a correct way to do this..

But, I'm using sql-users.. How do you put that kind of entries to 
(my)sql?

-- Pasi K�rkk�inen
       
                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.

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

Reply via email to