Oops, just a typo.... :)<br><br>Anyway I have tested it with one domains, (I will have more in the future) but in theory it should work and my testing using RADNTPING and RADIUS -X shows that it should.<br><br>Thanks<br>
Bob<br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 12:36 PM, Alan Buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
> if ( User-Name =~ /^host\//i ) {<br>
> if ( User-Name =~ /\\.first\\.domain$/i ) {<br>
> update control {<br>
> Proxy-To-Realm := "first.domain"<br>
> }<br>
> }<br>
> if ( User-Name =~ /\\.second\\.domain$/i ) {<br>
> update control {<br>
> Proxy-To-Realm := "second.domain"<br>
> }<br>
> }<br>
> if ( User-Name =~ /\\<b>.third</b>\\.domain$/i ) {<br>
> update control {<br>
> Proxy-To-Realm := "third.domain"<br>
> }<br>
> }<br>
> }<br>
<br>
</div>will that 4th if ever work (first.domain being sent to third.domain)<br>
as the match would have already happened on the 2nd if......<br>
<font color="#888888"><br>
alan<br>
</font><div><div></div><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>The problem with socialism is that you eventually run out of other people's money. - Margaret Thatcher<br><br>