Removing attributes from a reply

Joe Maimon jmaimon at ttec.com
Tue Oct 11 02:01:14 CEST 2005



Thor Spruyt wrote:
> Joe Maimon wrote:
> 
>>I need to remove an A/V from the reply list, but only if another A/V
>>is already there.
>>This needs to be done post-proxy stage for my needs.
> 
> 
> rlm_attr_filter can do it
> 
I have read the docs, I user rlm_attr_filter already, but I dont see how 
I can test for existence of Attribute X and if exists, remove attribute Y
(using rlm_attr_filter -- I am sure there are other things I could 
try....such as rlm_perl(?) sending all A/V to a shell script.......)

Do you have an example?

Thanks,
Joe



More information about the Freeradius-Users mailing list