<div dir="ltr"><div><div>Hi to all.<br><br><br></div>I have some suffix configure, to can do load balance between some sql accountings servers.<br></div>and I have this check into radiusd.conf<br><br>if (User-Name =~ /^(.+)@<a href="http://institute.domain.cu/">institute.domain.cu/</a>) {<br>

                         monthlycounter2<br>                        }<br>                else {<br>                        monthlycounter1<br>                }<br><br clear="all"><div><div><div><br></div><div>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<br>

<br></div><div>in fact.. the question is my suffix for<br><br></div><div>@institute<br></div><div>@institude.domain<br></div><div>@<a href="http://institude.domain.cu">institude.domain.cu</a><br><br></div><div>can use monthlycounter2<br>

<br></div><div>and the rest.. with only been 'just the user part' <br></div><div>by montlycounter1<br><br></div><div>i test this <br><br>if (User-Name =~ /^(.+)@institute?.domain?.cu/) {<br>                         monthlycounter2<br>

                        }<br>                else {<br>                        monthlycounter1<br>                }<br></div><div><br></div><div>and the servers running fine.. but i'm not sure if the regex is defined ok...<br>

</div><div>can help me in that...?<br><br></div><div>thanxs in advance.<br><br></div><div>-- <br><font color="#888888"><font color="#888888">Antonio Pe</font><span><font color="#888888">ñ</font></span><font color="#888888">a</font><span></span><br>

<font color="#888888">Secure email with PGP 0x8B021001 available at <a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br></font></font><font color="#888888">
<font color="#888888">Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001</font></font>
</div></div></div></div>