Eduardo Roldan <[EMAIL PROTECTED]> wrote: > I want to read/update this database too. > But the counter module is opening the db.counter file with locking.(the > default operation of the gdbm library is to open a file locked)
Yes. The code SHOULD do a gdbm_open with the NOLOCK option. However, that also means that the module MUST do file locking itself. That code hasn't been written yet. As always, patches are welcome. > How can we update/read this database when freeradius is running? Source code patches to the module. > A option to add to the counter module is to set decrement of an > accounting attribute instead of an increment. That's a good idea, too. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
