On Thu, 20 Feb 2003, Mike Cisar wrote: > Thanks Kostas, > > I had just uncommented the existing counter lines in the sample radiusd.conf > file not stopping to think that the sample might have them in the wrong > order. > > I have moved the counter module down to the bottom of the list and this > seems to have (at least partially) solved the problem. I can now get the > counter working using the > > test Max-Monthly-Session := 120 > Fall-Through = yes > > syntax, which solves my immediate problem THANKS! However, the > > test Monthly-Session-Time > 120, Auth-Type = Reject > Reply-Message = "Monthly time limit exceeded." > > syntax still fails (allows the user to log in regardless of the counter) > with the same error in the logs of
Why do you need both? The counter module will send back a Reply-Message if the user is over quota > > rlm_counter: Entering module authorize code > rlm_counter: Could not find Check item value pair > modcall[authorize]: module "counter" returns noop > > Is there anything else in the configuration I should be checking to enable > it to work with that other syntax as well? Or failing that, anything I can > do to help the authors troubleshoot why it doesn't. > > Cheers, > >>>>> Mike <<<<< > > > -----Original Message----- > > So you have the files module *after* the counter module. How > > will the counter module find the check item > > (Max-Monthly-Session)? As it is clearly stated in the sample > > radiusd.conf: > > > > # The module should be added in the instantiate, > > authorize and > > # accounting sections. Make sure that in the authorize > > # section it comes after any module which sets the > > # 'check-name' attribute. > > > > Make sure you do the above. > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
