Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(ASCEND) Patch: radiusd uses db library
Hi,
Ascend's radius daemon linked with the dbm library appearantly has
a locking problem due to an exclusive read lock when accessing the dbm file.
At least with Linux and GNU dbm this prevents quasi-simultaneous queries
which lead to "Couldn't open /etc/raddb/users for reading..." errors.
To overcome this problem I have patched radiusd to use the Berkeley db
library instead of dbm. Morever, db is faster than dbm.
Anyone who likes to test this may download the patch at:
ftp://ftp.iks-jena.de/pub/mitarb/erik/admin/radius-ascend.diff.971110.gz
This patch is against radius-970814.tar.gz.
Simply by typing 'make db' you get a radiusd linked with libdb and the
program 'builddb' to create the file users.db.
Bug reports and comments are welcome.
Have fun,
Erik
--
| Erik Heinz, IKS GmbH Jena * erik@iks-jena.de * privat: erik@jena.thur.de |
+---------------------------------------------------------------------------+
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <http://www.nealis.net/ascend/faq>
Follow-Ups: