Add 'accept' policy
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Apr 2014 17:39:45 +0000 (18:39 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 2 May 2014 13:57:54 +0000 (14:57 +0100)
raddb/policy.d/control

index cbf23af..b056ed1 100644 (file)
@@ -10,3 +10,13 @@ do_not_respond {
        handled
 }
 
+#
+#  Have the server accept the current request.
+#  Can only be called from authorize.
+#  Unlike calling the always module instance 'reject' the request will continue to be processed.
+#
+accept.authorize {
+       update control {
+               Auth-Type := accept
+       }
+}