Re: Multiple Accounting copies

2011-06-11 Thread Alan DeKok
Shreya Shah wrote: > I need to send copies of accounting packets going to multiple servers. > I do not want to set this up as failover or load balancing. > > I was able to setup one home server in proxy.conf for accounting and > that is working fine but I'm unable to send this to multiple server

Multiple Accounting copies

2011-06-11 Thread Shreya Shah
Hi, I need to send copies of accounting packets going to multiple servers. I do not want to set this up as failover or load balancing. I was able to setup one home server in proxy.conf for accounting and that is working fine but I'm unable to send this to multiple servers.Do I need to have multi

Re: Proxy based on User-Name with regex

2011-06-11 Thread Alexander Clouter
ivaylosp wrote: > User-Name = "1234abcdefg" > "12341234567" > if (User-Name =~ /[1-4]{4}[A-Za-z0-9]{6}/) > This matches four numbers and then *six* alphanumerics; anywhere in your string (substr-esque)...might not be what you want? Did you mean to include a '/^$/'? Cheers --

Re: Proxy based on User-Name with regex

2011-06-11 Thread ivaylosp
Thanks Alan. I did notice that and i created the realm. It is forwarding now. Just one thing i can not understand is why do i get the message +++[control] returns notfound Or this is a default response when you use UPDATE PS. Thanks for your help i really appreciate it. -- View this message in c

Re: Proxy based on User-Name with regex

2011-06-11 Thread Alan Buxey
Hi, > rlm_sql (sql): Released sql socket id: 3 > [sql] User 1234abcdefg not found > ++[sql] returns notfound > WARNING: You set Proxy-To-Realm = ISE, but the realm does not exist! > Cancelling invalid proxy request. ^^ seems fairly obvious. check that you have a '

Re: Proxy based on User-Name with regex

2011-06-11 Thread ivaylosp
Thanks for the reply Alan, I have tried that and for some reason i can not manipulate the CONTROL or REQUEST parameters within authorize section with update. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Proxy-based-on-User-Name-with-regex-tp4477408p4478407.html Sent fr

Re: Proxy based on User-Name with regex

2011-06-11 Thread ivaylosp
rad_recv: Access-Request packet from host 192.168.1.12 port 49733, id=242, length=51 User-Name = "1234abcdefg" User-Password = "test" # Executing section authorize from file /etc/freeradius/sites-enabled/ims +- entering group authorize {...} ++- entering policy api_addPrefix {...} +

Re: Proxy based on User-Name with regex

2011-06-11 Thread Alan Buxey
Hi, > Hi there, > > I have been trying to setup a freeradius server that will proxy the > authentication to another server if the User-Name starts with 1234. So for > instance a user logs in with username 1234XX then in section AUTHORIZE i > have a policy that checks with regex if the username

Re: Proxy based on User-Name with regex

2011-06-11 Thread Phil Mayers
On 06/10/2011 10:55 PM, ivaylosp wrote: Hi there, I have been trying to setup a freeradius server that will proxy the authentication to another server if the User-Name starts with 1234. So for instance a user logs in with username 1234XX then in section AUTHORIZE i have a policy that checks