How to add a prefix to User-Name before proxying to another RADIUS server?
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? Thanks.
On 14/05/07, Clark J. Wang <dearvoid@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
On 5/22/07, Alex French <alex@evilal.com> wrote:
On 14/05/07, Clark J. Wang <dearvoid@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}`
Thank you. Thanks,
Alex - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alex French -
Clark J. Wang -
Jian Wang