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

On Tue, Oct 20, 2009 at 12:36 PM, Alan Buxey <[email protected]>wrote:

> Hi,
>
> >     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"
> >             }
> >         }
> >     }
>
> will that 4th if ever work (first.domain being sent to third.domain)
> as the match would have already happened on the 2nd if......
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
The problem with socialism is that you eventually run out of other people's
money.  -  Margaret Thatcher
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to