"Pshem Kowalczyk" <[EMAIL PROTECTED]> wrote: > So I've compiled the source and gave it a try, but it behaved exactly > as the stable version - didn't replace nor removed any attributes. Is > this supposed to work? > I tested the pre and post proxy methods: ... > # Function to handle pre_proxy > sub pre_proxy { > > &radiusd::radlog(1, "entering pre-proxy"); > > $RAD_REQUEST{'User-Name'} = 'testuser';
You're re-writing the request packet (i.e. the one from the NAS), not the packet that's about to be sent to the home server. Try: $RAD_PROXY_REQUEST{'User-Name'} = 'testuser'; > # Function to handle post_proxy > sub post_proxy { > > &radiusd::radlog(1, "entering post-proxy"); > $RAD_REPLY{'Framed-IP-Address'} = '10.10.1.1'; That works. The debug log you posted shows that in the reply. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html