17 Nov
2011
17 Nov
'11
8:24 a.m.
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.