On Sat, 29 Dec 2001, Ker Ruben Ramos wrote:

> And still... no success... logs shows...
> [LOG]
> rlm_sql: Released sql socket id: 4
>   modcall[authorize]: module "sql" returns ok
> rlm_counter: Entering module authorize code
> rlm_counter: Could not find Check item value pair
>   modcall[authorize]: module "counter" returns noop
>     users: Matched DEFAULT at 144
>     users: Matched DEFAULT at 173
>   modcall[authorize]: module "files" returns ok
> [LOG]
> 
> do I still have to touch some of the configs?


Well, you will have to do the following very stupid thing:

radiusd.conf:

authorize{
        [...]
        counter
        files
        counter
}

That way the counter module will instantiate before the files module and it will
be able to add the necessary attributes to the server schema. Then we need the
files module *before* the counter module in order to set the Max-Daily-Session
to the appropriate values. So we add another counter instance after the
files module. This is one problem I though someone had fixed by now. But I guess
it hasn't. Anyway, try this and it should work.

--
kkalev


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

Reply via email to