On 7 Jul 2014, at 08:42, Alan DeKok <aland@deployingradius.com> wrote:
Phil Mayers wrote:
=~ used to do this i.e. loop over the attributes, but no longer does; I think it got lost in the great unlang rewrite.
It should behave like the other comparison attributes. So that's either consistent and correct, or inconsistent and wrong.
That was bizarre behaviour and very wrong.
You'll have to foreach over the attribute then regexp-compare against "%{Foreach-Variable-X}" - you do need to string-ify it, as it's not a real attribute.
I've tried to figure out how to fix that... it's not obvious. Maybe some bizarre internal hacks would do it.
Could probably use the same mechanism as the ldap groupcmp stuff. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2