Rewriting User-Name in pre-proxy

William Taylor williamt at corp.sonic.net
Fri May 22 15:25:27 CEST 2009


On May 22, 2009, at 6:13 AM, Alan DeKok wrote
>
>  If you use the Perl module rather than exec'ing a program, it would  
> be
> more efficient.
>
>  Alan DeKok.
> -
>

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.

Is it possible to do the same the with the perl module that I'm doing  
with the exec module ?

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.


Thanks,
   William



More information about the Freeradius-Users mailing list