problem with rlm_dbm_parser and DEFAULT Realms

Alan DeKok aland at deployingradius.com
Fri Apr 3 19:36:22 CEST 2009


Seamus Bridgeman wrote:
> Using freeradius2.1.3 and rlm_dbm module

  Why?  There's no need to use the DBM module.  See recent messages on
this list.

> Having a problem with rlm_dbm_parser to create dbm file. Testing with 3
> DEFAULT Realm records and two username/password. Seems to
> be overwriting DEFAULT Realm as only last one exists. rlm_dbm_parser
> reports all records read and no errors but rlm_dbm_cat shows
> only last Default.

  <shrug>  Don't bother debugging it.  Just use the "users" file.

> Desired approach is
> - dbm file with large numbers of DEFAULT Realm and all with no fallthru.

  Why is DBM a *requirement*?  The server can load 10's of 1000's of
"users" file entries in less than a second.

> - Also using dbm as faster/ less memory resources and no need to restart
> radiusd as dbm files change - and do change constantly..

  No.  In 2.x. you can reload the server dynamically.  In 2.1.x, you can
even use "radmin" to reload *just* the "files" module.

  Alan DeKok.



More information about the Freeradius-Users mailing list