> I'm not sure if you can define your check item in the users file because
> there is an initialization order problem.  Your new check item attribute
> will not be defined before your users file is parsed resulting in an
> error.  If anyone knows a work around here, please let me know.

My workaround for this, as silly as it sounds, looks like this:

authorize {
        preprocess
        realmat
        monthlycounter
        files
        monthlycounter
}

And an appropriate "users" file entry would be:

DEFAULT    Group == "limited", Max-Monthly-Session := 216000
                    Fall-Through = 1

Which is more than a little different from the docs included with the
sqlcounter module.  Although this works exactly the way I'd expect it to, am
_I_ the one doing this wrong?

Chris Kalin



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

Reply via email to