I found the solution. The preproxy_users file can rewrite attribute by the specific realm. Thanks. Rio 2006/10/20, Rio Yang <rioyang.tw@gmail.com>:
Thanks.
But the hints file can only add new attributes. I wanna to rewrite the attribute not create new one. Any new idea?
Rio
2006/10/20, Richard Cotrina < rcc@speedy.net.pe>:
You might use regular expressions in the hints file.
----- Original Message ----- *From:* Rio Yang <rioyang.tw@gmail.com> *To:* freeradius-users@lists.freeradius.org *Sent:* Tuesday, October 17, 2006 8:03 PM *Subject:* Rewrite Attribute when proxy the specific realm
Hi,
I have tried attr_rewrite function to rewrite attribute value on specific attribute successfully. But now, I want to rewrite to attribute that proxy to specific realm. For example, When the AUTH proxy the realm " abc.com". I wanna to rewrite the attribute "NAS-Identifier" value into new one. Could somebody know to how configure it?
Thanks.
Rio
------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html