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: 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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
> > Ok, then what parameters would it be looking for? I have told it the path > > to the dbm file, what else would it need? > I don't know, sorry. All I know about it is what I've read in the > module documentation. 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 int use_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. Jack - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
"Brad Crotchett" <[EMAIL PROTECTED]> wrote: > Ok, then what parameters would it be looking for? I have told it the path > to the dbm file, what else would it need? I don't know, sorry. All I know about it is what I've read in the module documentation. Alan DeKok. - 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
Re: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
> Configure the server to use the DBM module. Configure the DBM > module with the values it needs. These configurations do NOT come > with the server by default. Never mind... I've added them to the server. Look in the CVS snapshot from tonight: doc/rlm_dbm raddb/experimental.conf Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
"Brad Crotchett" <[EMAIL PROTECTED]> wrote; > I don't think the fastuser module will support exactly what we need. You > said that freeradius should refer to a module in radius.conf if it detected > dbm libraries upon install. No, I didn't. I said that the module would be built automatically if configure find DBM libraries. If you want to make the server *use* the module, you've got to edit radius.conf yourself, to tell the server when and where to use the module. > I have made sure that we have gdbm-1.8.0-14 and > even re-installed it, but there is still no module for dbm in > radius.conf. Did you bother reading my previous message? LIke the section where I said the rlm_dbm module was experimental, and that you would have to search the list archives for examples of how to configure it? > I did make sure that rlm_dbm-0.6.so and rlm_dbm-0.6.la are both present in > /usr/local/lib and I added /usr/local/lib (where my gdbm libraries are > installed) in /etc/ld.so.conf. Any ideas on getting the dbm modules to show > up? Configure the server to use the DBM module. Configure the DBM module with the values it needs. These configurations do NOT come with the server by default. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: SP/ROUTING: Re: HELP!.....Using Berkeley DBM
I don't think the fastuser module will support exactly what we need. You said that freeradius should refer to a module in radius.conf if it detected dbm libraries upon install. I have made sure that we have gdbm-1.8.0-14 and even re-installed it, but there is still no module for dbm in radius.conf. I did make sure that rlm_dbm-0.6.so and rlm_dbm-0.6.la are both present in /usr/local/lib and I added /usr/local/lib (where my gdbm libraries are installed) in /etc/ld.so.conf. Any ideas on getting the dbm modules to show up? Thanks again! Brad "Brad Crotchett" <[EMAIL PROTECTED]> wrote: > I read somewhere that you can run ./configure with the --with-dbm > flag, and I have tried that with identical results. So you didn't try looking at 'configure --help', which outputs the flags it *does* accept. There is no '--with-dbm' > 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. There's the 'fastusers' module, which should do what you want. There is also an 'rlm_dbm' module, but it's experimental, and not well documented. Search the list archives for more details. 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
"Brad Crotchett" <[EMAIL PROTECTED]> wrote: > I read somewhere that you can run ./configure with the --with-dbm > flag, and I have tried that with identical results. So you didn't try looking at 'configure --help', which outputs the flags it *does* accept. There is no '--with-dbm' > 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. There's the 'fastusers' module, which should do what you want. There is also an 'rlm_dbm' module, but it's experimental, and not well documented. Search the list archives for more details. Alan DeKok. - 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
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
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
"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
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