Alan DeKok a écrit :
Mustapha Bouikhif wrote:
I am having problemes getting Post-Proxy-Type to work in FreeRadius (FR); I did tests with FR v2.0.3 and FR v2.0.5 after update without success; Here is what i want to do: Use attr_rewrite to write some attributes (those for setting VLAN) in proxy replies received from the home server. So I had defined 3 sections for attr_rewrite in radiusd.conf:
...
post-proxy {
...
Post-Proxy-Type post.proxy.dr4 {
Why are you using a Post-Proxy-Type here?
The uses file looks like:
DEFAULT Huntgroup-Name == "Nomade_Eduroam", Realm == "DEFAULT", Post-Proxy-Type := post.proxy.dr4
I don't think setting the Post-Proxy-Type here works the way you want. You should probably just use virtual servers, instead. Set the virtual server for the realm. See "proxy.conf".
In proxy.conf file, I have set: post_proxy_authorize = yes
Don't. It doesn't work.
When I started radiusd (in debug mode), it tells me : Parse error (check) for entry DEFAULT: Unknown value for post.proxy.dr4 for attribute Post-Proxy-Type
I don't know what i am doing wrong ?
Use virtual servers. They're a lot easier.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks Alain, I have set a virtual server for the DEFAULT realm... -- Mustapha BOUIKHIF Service Systèmes d'Information CNRS - DR4 tel: +33 1 69 82 33 97 fax: +33 1 69 82 33 39