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

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 ivaylosp
to 192.168.1.12 port 49733 Waking up in 4.9 seconds. Cleaning up request 0 ID 242 with timestamp +129 -- View this message in context: http://freeradius.1045715.n5.nabble.com/Proxy-based-on-User-Name-with-regex-tp4477408p4478402.html Sent from the FreeRadius - User mailing list archive at Nabble.com

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

Re: Proxy based on User-Name with regex

2011-06-11 Thread ivaylosp
in context: http://freeradius.1045715.n5.nabble.com/Proxy-based-on-User-Name-with-regex-tp4477408p4478519.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Proxy based on User-Name with regex

2011-06-11 Thread Alexander Clouter
ivaylosp ivayl...@gmail.com 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 '/^$/'?

Proxy based on User-Name with regex

2011-06-10 Thread ivaylosp
to be updated. The server responds with [control] not found. Any ideas will be very welcome. Regards, Ivaylo Petkov -- View this message in context: http://freeradius.1045715.n5.nabble.com/Proxy-based-on-User-Name-with-regex-tp4477408p4477408.html Sent from the FreeRadius - User mailing list