Freeradius multiple account records per login

2012-02-27 Thread ivaylosp
Hi there, My RADIUS server hard drive recently crashed and i had to reinstall everything from scratch. I got everything working but now every time a user logs in i get 3 sessions registered in the accounting table. I remember this being a networking issue of some sort but i can not remember or

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 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

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

Proxy based on User-Name with regex

2011-06-10 Thread ivaylosp
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 falls in this