On Thu, 26 Feb 2009 12:03:22 +0200, Alan DeKok <al...@deployingradius.com> wrote:

alt_ wrote:
Can you show some examples please? I try to do like this:

    noresetBytecounter

    if (reject) {
        update reply {
            Reply-Message := "Traffic limit exceeded."
        }
    }

but if noresetBytecounter return reject freeradius immediatly return reject
to user and do not process 'if' clause

  You need to put this in the "post-auth" section, "Reject" subsection.
 See the example configuration files.


/etc/freeradius/sites-enabled/default[412]: "SQL Counter" modules aren't allowed in 'post-auth' sections -- they have no such method.

--
ISP CrIS, Softwarium
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to