xlat in rlm_attr_filer

Bjørn Mork bjorn at mork.no
Tue Apr 25 15:12:08 CEST 2006


"Alan DeKok" <aland at nitros9.org> writes:
> =?iso-8859-1?Q?Bj=F8rn_Mork?= <bjorn at mork.no> wrote:
>> But I found that rlm_attr_filter doesn't do xlat.  So I was wondering
>> why?  Is a patch welcome, or are there good reasons not to do this?
>
>   I don't think there's any good reason for this.
>
>   The patch shouldn't be too hard.

How about something like this?  It does add a bit of overhead by
making an xlatted copy of the complete checklist, but this allows us
to _test against_ xlatted values in addition to adding them.

Thoughts?  Unnecessary to xlat anything but the added attributes?


Bjørn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlm_attr_filter.diff
Type: text/x-patch
Size: 1917 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20060425/c17721b4/attachment.bin>


More information about the Freeradius-Devel mailing list