Alan DeKok wrote: > Eddie Stassen <[EMAIL PROTECTED]> wrote: > >> DEFAULT >> [EMAIL PROTECTED],Called-Station-Id==1234,Proxy-To-Realm:=realm.com >> >> Problem is that the Suffix attribute always strips the username making the 'nostrip' >> option in rlm_realm useless. As most of my realms require the nostrip option >> I cannot use the above at present. >> > > I agree. And the Suffix attribute isn't the nicest thing, either. > > >> So my question - Is there perhaps another way I can achieve this type of proxying >> without the realm being stripped? >> > > Regular expressions. > > DEFAULT User-Name =~ "@realm\.com$", > Called-Station-Id==1234,Proxy-To-Realm:=realm.com > Aargh! I was trying to steer clear of regexes for performance reasons. Now I have to use Suffix for those realms that want stripping and regex for those who don't. A bit messy, but will do for now. I think I may just end up writing my own module to do all this a bit more efficiently...
Eddie - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
