Thursday, June 26, 2003, 1:27:25 AM, Chad Stalvey wrote:

CS> Could someone point me in the right direction, I've been struggling here and
CS> I've almost got it.

CS> I'm using:

CS> # rlm_dbm_parser -i testusers.txt -o testusers

What does  '-i' flag ?
Oops, I think it is an error in the rlm_dbm_parser usage output:
Can anybody apply the patch:

--- rlm_dbm_parser.c.orig       Thu Jun 26 14:23:45 2003
+++ rlm_dbm_parser.c    Thu Jun 26 14:24:08 2003
@@ -290,7 +290,7 @@
 
 
 static void sm_usage(void) {
-       fprintf(stderr, "Usage: %s [-c] [-d raddb] [-f imputfile] [-o outputfile] [-x] 
[-v] [-q] [username1 [username2] ...]\n\n",progname);
+       fprintf(stderr, "Usage: %s [-c] [-d raddb] [-i imputfile] [-o outputfile] [-x] 
[-v] [-q] [username1 [username2] ...]\n\n",progname);
 
        fprintf(stderr, "-c     create new database.\n");
        fprintf(stderr, "-x     debug mode.\n");


CS> what I get is:

CS> testusers.dir
CS> testusers.pag

CS> but no testusers.db ?
pad/dir files are linux version of Berkeley db file and designed to
do the same thing.

CS> How do I get the db file?
You have to link against other libs.

CS> A link to some good reading would be greatly appreciated.
doc/rlm_dbm ?

CS> Thanks.

CS> Chad Stalvey
CS> Systems Engineer
CS> Hayes E-Government Resources
CS> www.hcs.net
CS> 850.297.0551 ext.136
CS> Mobile 508.0485


CS> - 
CS> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Andrei Koulik.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to