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 1234XXXXXX then in section AUTHORIZE i
have a policy that checks with regex if the username falls in this category:
        api_proxyRedirect{
           if (User-Name =~ /[1-4]{4}[A-Za-z0-9]{6}/) {
                 update control {
                         Proxy-To-Realm := "myrealm"
                 }
           }
        }
Unfortunatelly everything works up to the point where the control needs to
be updated. The server responds with ++++[control] not found.

Really? Hmm. Everything looks ok at a glance. Can you post a full "radiusd -X" debug?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to