Check that user auths ok

Alan DeKok aland at deployingradius.com
Thu Nov 17 14:24:08 CET 2011


koos wrote:
> I have a large users.db file with a dummy user at the start and at the end.
> I basically want to write a perl script that will check that both these
> users are present in the users.db file, thus ensuring that my users.db file
> built fine with rlm_dbm_parse.

  There's no need to use rlm_dbm.  In 2.1.x, the "users" file is hashed
in memory for speed.  It is *very* fast, and it can be re-loaded on the fly.

  And why are you using these dummy users to check if the DB built with
rlm_dbm_parse?  Why not look at the output of rlm_dbm_parse?

  Alan DeKok.



More information about the Freeradius-Users mailing list