Oops, just a typo.... :)
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.
Thanks
Bob
Hi,
will that 4th if ever work (first.domain being sent to third.domain)
> if ( User-Name =~ /^host\//i ) {
> if ( User-Name =~ /\\.first\\.domain$/i ) {
> update control {
> Proxy-To-Realm := "first.domain"
> }
> }
> if ( User-Name =~ /\\.second\\.domain$/i ) {
> update control {
> Proxy-To-Realm := "second.domain"
> }
> }
> if ( User-Name =~ /\\.third\\.domain$/i ) {
> update control {
> Proxy-To-Realm := "third.domain"
> }
> }
> }
as the match would have already happened on the 2nd if......
alan