problem with rlm_counter module when reset option is set to never
Ivan Kalik
tnt at kalik.net
Wed May 27 14:49:10 CEST 2009
>>> I tried that but that accounting file is in binary or some other
>>> encrypted format. Will you please let me know about how to delete that
>>> accounting record or how to convert that to simple text file ( which
>>> would make easy deleting expired records) .
>>
>> It's just a DBM file. See the "rad_counter.pl" file in the source
>> tree. It shows how to edit the file.
>>
> I tried deleting using rad_counter.pl, but it doesn't work as gdbm
> does not allow more than one writer to that file.
>
> I guess I need to patch up freeradius where a delete user message
> (my own defnied) is sent to freeradius from NAS. On recieveing this
> freeradius would just go and delete the users mentioned in that
> message. I would be introducing a new listener for that purpose.
> will that be ok ?
Why don't you just increase the limit? Why all this exercise with removing
previous records?
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list