Hi,

I've now managed to compile the missing rlm_counter module (the gdbm-devel
lib was missing).


When I try and use it I get the error when it processes the 'users' file:

Syntax error: Previous line is missing a trailing comma for entry DEFAULT.


Radius.conf relevant bits are:

counter {
        filename = ${raddbdir}/db.counter
        key = User-Name
        count-attribute = Acct-Session-Time
        reset = never
        counter-name = Total-Session-Time
        check-name = Max-All-Session
        allowed-servicetype = Framed-User
        cache-size = 10000
        }

instantiate {
        expr
        counter
        }

authorize {
        preprocess
        chap
        counter
        files
        sql
        }

accounting {
        detail
        counter
        sql
        radutmp
        }

First part of users file (as far as it gets) is:

# (Loads of connected out lines)

DEFAULT Max-All-Sessions := 60600
                Fall-through = Yes

DEFAULT Total-Session-Time > 60600, Auth-Type := Reject
                Reply-Message = "Your time has expired."

The last line above is the line number the error refers to.

I'm sure I've done something stupid, but after 4 hours fiddling, I still
can't find it.

regards,
Keith


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

Reply via email to