Built RPM's and installed 0.8.1 on test server... used default radiusd.conf
with default sample counter configuration, enabled counter in instantiate,
authorize and accounting sessions. Added the following lines to the default
users file
test Daily-Session-Time > 3600, Auth-Type = Reject
Reply-Message = "You've used up more than one hour today"
per the sample. Made sure that db.counter did not exist prior to starting
radiusd, verified that it was created after radiusd started.
With the following result...
# radtest test testtest 192.168.1.20 12 secret ppp
Sending Access-Request of id 155 to 192.168.1.20:1812
User-Name = "test"
User-Password = "\276b\357\255P\236\375\261\366m%\240O\031\303\205"
NAS-IP-Address = test20.domain.com
NAS-Port = 12
Framed-Protocol = PPP
rad_recv: Access-Reject packet from host 192.168.1.20:1812, id=155,
length=61
Reply-Message = "You've used up more than one hour today"
So basically same result with 0.8.1 as with 0.5
Ideas?
Cheers,
>>>>> Mike <<<<<
> -----Original Message-----
> "Mike Cisar" <[EMAIL PROTECTED]> wrote:
> > I am trying to set up a counter to be able to disable a particular
> > account(s) after a certain amount of time used in a month. I've
> There isn't a lot of point in debugging configurations from
> 0.5. Upgrade first, and odds are that will solve a lot of problems.
> Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html