Policy.conf - multiple @

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Wed Nov 28 14:32:06 CET 2012


hi,

if(User-Name =~ /@(.+)?@/i ) {
=====================================

Would this not be simpler just by using '/@.*@/' ?


its good to get feedback.

yes, theres no need for case insensitive for this one....and also, we dont care
about feeding the results to a following process....so no need for the brackets.

alan


More information about the Freeradius-Users mailing list