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
        }
        ...
}

> Any idea why the "proxy_reply" is illegal value for searchin?
> It was in an example in the radiusd.conf..

It's strange... I can't help you with that, sorry.

-- 
Nicolas Baradakis

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

Reply via email to