How to use FreeRADIUS proxy to set an attribute value only if not provided by end RADIUS server ?
We would like to use FreeRADIUS (acting as a proxy server) to set the Primary-DNS-Server and Secondary-DNS-server attributes in the auth response to the RADIUS client only if these attributes are not provied by the end RADIUS server (which we don't control). Is there anyway to do this without making a FreeRADIUS source code change ? Thanks much, John Butala Senior Staff Engineer Qwest
On 4/19/07, John Butala <jbutala@qwest.net> wrote:
We would like to use FreeRADIUS (acting as a proxy server) to set the Primary-DNS-Server and Secondary-DNS-server attributes in the auth response to the RADIUS client only if these attributes are not provied by the end RADIUS server (which we don't control). Is there anyway to do this without making a FreeRADIUS source code change ?
You can try to write simple rlm_perl script and call it from post-proxy. It will check for presence of attribute(s) and add it/them as needed. However, there may be better way to achieve this... th.
participants (2)
-
John Butala -
Tomas Hoger