Re: rewrite accounting request

2007-02-05 Thread Ashraf Al-Basti
i change the process as follow to replace the username with a one from a file but i have the following error, attr_rewrite fixusername { attribute = User-Name # may be packet, reply, proxy, proxy_reply or config searchin = proxy

Re: rewrite accounting request

2007-02-05 Thread Ashraf Al-Basti
Dear All, Anyone can help how to rewrite the password attribute, i want to replace the password with a new one from a file. i'm trying to use the echo but it didnt work Ashraf Al-Basti wrote: i change the process as follow to replace the username with a one from a file but i have

Re: rewrite accounting request

2007-02-04 Thread Alan DeKok
Ashraf Al-Basti wrote: Thanks Alan.. But do have any idea to work around that? See the FAQ. If the NAS doesn't send data in an accounting packet, go read the NAS documentation to see how to configure it to send that information. But send User-Password? Nope. It's impossible. Alan

rewrite accounting request

2007-02-03 Thread Ashraf Al-Basti
Dear All, I need your help to configure FreeRadius to rewrite the User-Name attribute in Accounting-Request. my setup as follow; please correct me if i had a mistake, i'm using Freeradius to do a proxy to another radius server. we are using one username (wanadoo) as a default username for our

Re: rewrite accounting request

2007-02-03 Thread Alan DeKok
Ashraf Al-Basti wrote: ... in the freeradius server we replace the username with a new one which is the same as the password, so we are using pre-proxy to call attr_rewrite that will replace the username with the new one. As an authintecation process every thing goes will, but for the

Re: rewrite accounting request

2007-02-03 Thread Ashraf Al-Basti
Thanks Alan.. But do have any idea to work around that? Alan DeKok wrote: Ashraf Al-Basti wrote: ... in the freeradius server we replace the username with a new one which is the same as the password, so we are using pre-proxy to call attr_rewrite that will replace the username with the

Rewrite accounting request/Proxy-To-Realm

2007-01-22 Thread Rohaizam Abu Bakar
i) How rewrite accounting request to insert certain attribute in order for billing engine to process futher.?? ii) Tried to set Proxy-To-Realm to force proxy accounting using rlm_perl.. But failed... $RAD_REPLY{'Proxy-To-Realm'} = infranet2; --haizam- List info/subscribe/unsubscribe? See