How to integrate leveldb database to FreeRadius-server-2.2.9
mcn4 at leicester.ac.uk
Thu Jul 28 11:25:32 CEST 2016
On Thu, Jul 28, 2016 at 08:43:37AM +0000, Gengxiang Meng wrote:
> I porting freeradius-server-2.2.9 to my system,
If you're starting fresh, you would be better to use 3.0.11.
Version 2 is end-of-life and no longer supported.
> I have a leveldb(https://github.com/google/leveldb) database to
> manage local users.
> I check the module support list in source code src\modules, not
> sure which module I should use to integrate with my leveldb,
> is it rlm_dbm?
There isn't a module to use a "leveldb" database.
> (looks like rlm_dbm depend on gdbm, but I don't want to use gdbm to manage my database)
LevelDB is not Berkeley DBM/gdbm. rlm_dbm has been deleted from
the latest code because it's obsolete.
> Do you already have another module name like "rlm_leveldb"? Thanks your support.
There are modules for SQL (including sqlite), redis, couchbase,
and more which can do what you want. Just not LevelDB at present.
Patches welcome :)
Though I'd be slightly concerned by the word "possibly" in their
statement "Only a single process (possibly multi-threaded) can
access a particular database at a time."
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>
Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
More information about the Freeradius-Users