Hi,
=~ used to do this i.e. loop over the attributes, but no longer does; I think it got lost in the great unlang rewrite.
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.
cant you also do that 'pulling magical blob that lists all groups in one call' method too? (cant recall the thread on this list that has the example but i'm sure there was plenty of interest/excitement about it!)
That's the one which concat's all the values into one "huge" attribute, and you can regex the part you want out of it? Well the people there can be members of up to some 50 groups, all having a 100+ character DN. I know that this busted FreeRADIUS 2.x max attribute length limit, and I guess it might also be too much for the (2000 char'ish) limit in 3.x. The foreach however does its job nicely :-) Thanks for the quick suggestions! Greetings, Stefan Winter -- Stefan WINTER Ingenieur de Recherche Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg Tel: +352 424409 1 Fax: +352 422473 PGP key updated to 4096 Bit RSA - I will encrypt all mails if the recipient's key is known to me http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0DE6A358A39DC66