Maintaining a (very) dynamic user list with freeradius

Phil Mayers p.mayers at imperial.ac.uk
Fri Nov 2 12:11:17 CET 2007


On Fri, 2007-11-02 at 09:00 +0100, Jos Vos wrote:
> Hi,
> 
> What is the best way to maintain a very dynamic user list for freeradius
> (on a Linux platform)?
> 
> I'm talking about a setup where every few minutes (sometimes every minute)
> a user has to be added and/or removed, with in total up to about 200 users
> in the user base at the same moment.
> 
> Ideally, I'd like to just regenerate the users file with a script whenever
> a change is needed and let radiusd reload it, but I saw in the docs that
> reloading the config (and the users file) is "expensive", so this will
> probably not be very suitable for this situation.
> 
> If anyhow possible I'd like to minimize any extra overhead, and avoid
> running PostgreSQL or MySQL servers, for example.  Maybe use DBM?

The DBMs cannot be concurrently updated.

Use SQL or LDAP. Running a postgresql server for ~200 row table is very
little effort.





More information about the Freeradius-Users mailing list