How to add a prefix to User-Name before proxying to another RADIUS server?

Alex French alex at evilal.com
Tue May 22 15:19:28 CEST 2007


On 14/05/07, Clark J. Wang <dearvoid at gmail.com> wrote:
> I have two RADIUS servers rad_1 and rad_2. For some users rad_1 needs to
> forward the requests to rad_2 and I want to add some prefix like `QA/' to
> User-Name before forwarding to rad_2. Does FreeRADIUS support that? And how
> to configure?
>

You can do that in the preproxy_users file, based on things like the realm, e.g.

DEFAULT realm == "somerealm"
        User-Name := `QA/%{User-Name}`

Thanks,

Alex



More information about the Freeradius-Users mailing list