SQL xlat and multivalued attributes

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Sep 22 19:59:14 CEST 2014


On 22 Sep 2014, at 11:34, Alan DeKok <aland at deployingradius.com> wrote:

> Phil Mayers wrote:
>> Yeah, that would be handy. I've a few use-cases as well. I currently
>> work around it by pushing the selection logic down into the SQL query,
>> but it's a bit clever/magic and hard to maintain.
> 
>  I've done the same.  It's not pretty.
> 
>> I have no real love for any of the rlm_$lang modules; they all seem to
>> have super-gnarly edge cases or weirdness :o(
> 
>  Hmm... 3.0 is better.  A LOT better.  The SQL and LDAP modules have
> been completely re-written to make sense.
> 
>  I'm using both modules heavily in production.

The rlm_$lang modules have a few weird things fixed. rlm_perl should be
a bit faster. The main issue, is it's marshalling/un-marshalling every
attribute in every request irrespective of whether it's needed or 
modified.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140922/171cf22e/attachment.pgp>


More information about the Freeradius-Users mailing list