RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
J.J.Bailey [EMAIL PROTECTED] wrote: A few months ago I looked into dbm support too. I wasn't sure it was working, so I started reading the code. This is from today's snapshot, unchanged since earlier: muttley# find . -print | xargs fgrep use_dbm ./src/include/radiusd.h:extern intuse_dbm; ./src/main/radiusd.c:int use_dbm = FALSE; I was unable to determine whether this flag needs to be set for dbm to work or if it's simply unused. It's unused. It should be deleted. Alan DeKok. Ok, I will try that and see what happens. Thanks a lot for the help, Brad - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: HELP!.....Using Berkeley DBM
BC *in* the modules section. BC Ok, then what parameters would it be looking for? I have told it the path BC to the dbm file, what else would it need? Only usersfile parameter is expected in this version. In general way the section of dbm configuration look like: dbm { usersfile = ${confdir}/users.db } Ok, then what configuration do you think is missing? When I start radius I keep getting this error: Error: ERROR: Cannot find a configuration entry for module dbm. Thanks, Brad BC - BC 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: HELP!.....Using Berkeley DBM
J.J.Bailey [EMAIL PROTECTED] wrote: A few months ago I looked into dbm support too. I wasn't sure it was working, so I started reading the code. This is from today's snapshot, unchanged since earlier: muttley# find . -print | xargs fgrep use_dbm ./src/include/radiusd.h:extern intuse_dbm; ./src/main/radiusd.c:int use_dbm = FALSE; I was unable to determine whether this flag needs to be set for dbm to work or if it's simply unused. It's unused. It should be deleted. Alan DeKok. Ok, I will try that and see what happens. Thanks a lot for the help, Brad I changed the value in ./src/main/radiusd.c:int use_dbm = FALSE; to TRUE, ran make and make install in the same directory as radiusd.c and there was no change. I probably did not do something right. Do I need to go back to the raddb directory and run make/make install there? That Makefile did not refer to radiusd.c like the Makefile in /src/main/ did. I am a little out of my league on this, but need to get it going sometime, so much thanks for the help! Brad - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Re[2]: HELP!.....Using Berkeley DBM
BC Ok, then what configuration do you think is missing? When I start radius I BC keep getting this error: BC Error: ERROR: Cannot find a configuration entry for module dbm. BC Thanks, BC Brad AKPlease send a fragment of your configuration file with all dbm AKrelated lines. Also specify context in which sections are declared. AKIn my case: Under the Modules section of /usr/local/etc/raddb/radiusd.conf I have the following lines: #DBM file dbm { usersfile = /usr/db/user_db_casstel.db } with all other modules commented out except preprocess and detail. Under the Authorization section I have the following: authorize { dbm } All other lines in this section are commented out. Under Authenticate I have basically the same...everything commented out except dbm: authenticate { dbm } These are the only three instances of dbm in my radiusd.conf file. Thanks again for the help! Brad - - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Re[4]: HELP!.....Using Berkeley DBM
rlm_dbm doesn't authenticates user. It only stores user's info. Remove dbm from authenticate section. Ok, that took away my error about dbm, but now I have the following error: ERROR: Cannot find a configuration entry for module pap. Right now pap is the only thing uncommented in the authenticate section. It seems that whatever is uncommented in autheticate is what the server comes back with the error about. So what configuration am I missing for pap? The following is my entery for pap in the modules section: pap { encryption_scheme = crypt } By the way, when I start radius in debug mode, I don't get a message that rlm_dbm has loaded, so I am not even sure that I am loading the dbm module yet. Thanks, Brad - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: SP/ROUTING: Re: Re[4]: HELP!.....Using Berkeley DBM
It sounds like something is really wrong with your local installation. Try deleting ALL of the FreeRADIUS related files, and installing the snapshot from last night. Ok thanks, that got the dbm module to load without any errors. I think I am really close now, but when I run radtest I get the following: rad_recv: Access-Reject packet from host 208.142.64.112:1645, id=43, length=20 and when I tail the radiusd.log file, I don't even show that the request hit the radius server...there is no new entry at all. I have all firewalling turned off, I am using the correct port, and I have added this machine by both name and IP in the clients file. Any thoughts? Thanks. You are very helpful! Brad - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: HELP!.....Using Berkeley DBM
ndrei Koulik [EMAIL PROTECTED] wrote: Here new version of rlm_dbm module documentation written by Bjorn Nordbo. Please apply this version. Added, thanks. Alan DeKok. Yeah, thanks a lot...that is helpful. I have added the following lines to radiusd.conf: dbm { usersfile = /usr/db/user_db_casstel.db } under the modules section. Then I added dbm to both the Authorize and Authentication. I have commented everything else out as this is the only way I will authenticate. Now when I start radius I get the following error: ERROR: Cannot find a configuration entry for module dbm. Where is it looking that I have not configured the module? Thanks, Brad List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
*in* the modules section. Ok, then what parameters would it be looking for? I have told it the path to the dbm file, what else would it need? should be it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
HELP!.....Using Berkeley DBM
Thanks for the help! I am using freeradius 0.6 and my radius.conf does not have anything about DBM in it. In the Module Configuration section I have PAM, UNIX, EAP, MS-CHAP, PAP, LDAP, passwd, realm, and pre-processing, but nothing about DBM. I read somewhere that you can run ./configure with the --with-dbm flag, and I have tried that with identical results. Brad Crotchett [EMAIL PROTECTED] wrote: No, I am using freeradius...I was just confused earlier because I was trying cistron first. OK, then you edit the relevant section in 'radiusd.conf' for the module you're using. Look for 'dbm', it's not hard. Note that the Cistron dbm files CANNOT be used with FreeRADIUS. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
HELP!.....Using Berkeley DBM
We are trying to use a berkeley style dbm hash file for authentication with freeradius 0.6. I have compiled freeradius with DBM support, but now I am not sure how to tell radius to use my DBM file instead of the users file. Any help is greatly appreciated. Brad - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
Yeah, I guess the compilation was actually from cistron-radiusmy bad. So in radiusd.conf I would specify the path to my dbm file under what section? Thanks, Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan DeKok Sent: Monday, July 08, 2002 12:32 PM To: [EMAIL PROTECTED] Subject: SP/ROUTING: Re: HELP!.Using Berkeley DBM Brad Crotchett [EMAIL PROTECTED] wrote: We are trying to use a berkeley style dbm hash file for authentication with freeradius 0.6. I have compiled freeradius with DBM support, I'm not sure how you did that. FreeRADIUS builds a DBM *module*, if you have DBM libraries. There's no way of telling FreeRADIUS to build with DBM. but now I am not sure how to tell radius to use my DBM file instead of the users file. Any help is greatly appreciated. See 'radiusd.conf' Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
No, I am using freeradius...I was just confused earlier because I was trying cistron first. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan DeKok Sent: Monday, July 08, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: Re: SP/ROUTING: Re: HELP!.Using Berkeley DBM Brad Crotchett [EMAIL PROTECTED] wrote: Yeah, I guess the compilation was actually from cistron-radiusmy bad. So in radiusd.conf I would specify the path to my dbm file under what section? If you're using Cistron, it doesn't *have* a 'radiusd.conf'. Ask on the Cistron list. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
Thanks for the help! I am using freeradius 0.6 and my radius.conf does not have anything about DBM in it. In the Module Configuration section I have PAM, UNIX, EAP, MS-CHAP, PAP, LDAP, passwd, realm, and pre-processing, but nothing about DBM. I read somewhere that you can run ./configure with the --with-dbm flag, and I have tried that with identical results. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan DeKok Sent: Monday, July 08, 2002 1:14 PM To: [EMAIL PROTECTED] Subject: Re: SP/ROUTING: Re: HELP!.Using Berkeley DBM Brad Crotchett [EMAIL PROTECTED] wrote: No, I am using freeradius...I was just confused earlier because I was trying cistron first. OK, then you edit the relevant section in 'radiusd.conf' for the module you're using. Look for 'dbm', it's not hard. Note that the Cistron dbm files CANNOT be used with FreeRADIUS. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
DBM file usage
Hi, I am trying to get freeradius 0.6.6 to use our dbm file containing users and passwords. I have already compiled radius to have dbm support, but when I try to start radius with the -d option, I just get the usage screen meaning I have something wrong. Can anyone help me tell freeradius to use my dbm file? Thanks, Brad - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html