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 =~ /\\.first\\.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

Reply via email to