22 May
2009
22 May
'09
9:33 a.m.
William Taylor wrote:
Hi Alan thanks for the response. I tried to use the perl module at first but the hash was read only. So I couldn't figure out how to get the value back into freeradius.
Huh? The arrays are read/write.
Is it possible to do the same the with the perl module that I'm doing with the exec module ?
Yes.
So far I have tried modifying the REQUEST hash from pre_proxy in perl and also tried printing out My-Local-String like I'm doing in exec. Neither seem to work.
The REQUEST hash is for the *request*. You are trying to edit the *proxy* request. Use: $RAD_REQUEST_PROXY{'Attr-name'} = "foo"; Alan DeKok.