Re: Rewrite Attribute when proxy the specific realm

2006-10-19 Thread Richard Cotrina



Youmight use regular expressions in the hints 
file.

  - Original Message - 
  From: 
  Rio Yang 
  
  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

Re: Rewrite Attribute when proxy the specific realm

2006-10-19 Thread Rio Yang
Thanks.But the hints file can only add new attributes.I wanna to rewrite the attribute not create new one.Any new idea?Rio2006/10/20, Richard Cotrina 
[EMAIL PROTECTED]:






Youmight use regular expressions in the hints 
file.

  - Original Message - 
  
From: 
  Rio Yang 
  
  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

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Rewrite Attribute when proxy the specific realm

2006-10-19 Thread Rio Yang
I found the solution.The preproxy_users file can rewrite attribute by the specific realm.Thanks.Rio2006/10/20, Rio Yang [EMAIL PROTECTED]
:Thanks.But the hints file can only add new attributes.I wanna to rewrite the attribute not create new one.
Any new idea?Rio2006/10/20, Richard Cotrina 
[EMAIL PROTECTED]:






Youmight use regular expressions in the hints 
file.

  - Original Message - 
  

From: 
  Rio Yang 
  
  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




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Rewrite Attribute when proxy the specific realm

2006-10-17 Thread Rio Yang
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