Proxy based on Multiple Realms
Bob Brandt
bob at brandt.ie
Tue Oct 20 16:28:02 CEST 2009
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 <A.L.M.Buxey at lboro.ac.uk>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091020/22b8493a/attachment.html>
More information about the Freeradius-Users
mailing list