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.

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 archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to