regex in suffix

Tony Peña at
Fri Mar 22 17:11:11 CET 2013

Hi to all.

I have some suffix configure, to can do load balance between some sql
accountings servers.
and I have this check into radiusd.conf

if (User-Name =~ /^(.+) {
                else {

and I have some users configured to can access by other way in the public
PAP, using part of the suffix so i want to balance too

in fact.. the question is my suffix for


can use monthlycounter2

and the rest.. with only been 'just the user part'
by montlycounter1

i test this

if (User-Name =~ /^(.+)@institute?.domain?.cu/) {
                else {

and the servers running fine.. but i'm not sure if the regex is defined
can help me in that...?

thanxs in advance.

Antonio Peña
Secure email with PGP 0x8B021001 available at
Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list