I hesitate to ask this follow-up CDB question, since it seems like the
answer is probably obvious, but I can't figure it out. I now have the
CDB_File module installed, and so the "Can't locate CDB_File.pm" error
message is gone.
So here's the question:
How do I create the "users.cdb" file?
The "cdb" way to create the file would be with "cdbmake". However, the
standard "users" file is not suitable for cdbmake conversion. On the other
hand, CDB_File appears that it has it's own method of compiling cdb
databases. However, although I've read all the docs, I don't read Perl
fluently, and I can't figure out the following related questions:
a) Is my source "users" file supposed to be created in normal Radius
"users" format, in a cdbmake source file format, in a CDB_File format, or
some other format?
b) Is the "users.cdb" file compiled automatically by Radiator from my
users file, or must it be manually compiled by me using cdbmake or CDB_File
or something else?
Thanks again for your help!
Dave
On Thursday, December 09, 1999 6:41 AM, Pedro Melo [SMTP:[EMAIL PROTECTED]] wrote:
> Hi!
>
> I'm not on the list. This message was forward to me by a friend.
>
> I hacked the initial support for CDB into Radiator... The problem you are
> having is that you dont have the CDB_File module installed.
>
> Get it from CPAN (http://cpan.org/) and install it. The rest of the
> configuration looks good.
>
> BTW, if you have the CPAN perl module configured, you should be able to
do
> perl -MCPAN -e 'install CDB_File'
>
> Regards,
>
> On 07-Dec-1999 Dave Kitabjian wrote:
> >
> > I have not been able to find any documentation explaining how to
implement
> > the AuthBy CDB option.
> >
> > Here is the error message from the Trace 4 output:
> >
> > Tue Dec 7 13:13:20 1999: ERR: Could not load authentication module
> > Radius/AuthC
> > DB.pm: Can't locate CDB_File.pm in @INC (@INC contains: .
> > /usr/libdata/perl/5.00
> > 503/mach /usr/libdata/perl/5.00503
> > /usr/local/lib/perl5/site_perl/5.005/i386-fre
> > ebsd /usr/local/lib/perl5/site_perl/5.005 .) at
> > /usr/local/lib/perl5/site_perl/5
> > .005/Radius/AuthCDB.pm line 19, <FILE> chunk 27.
> > BEGIN failed--compilation aborted at
> > /usr/local/lib/perl5/site_perl/5.005/Radius
> > /AuthCDB.pm line 19, <FILE> chunk 27.
> >
> > I can't find the "CDB_File.pm " file it's seeking anywhere. I'm also
> > curious why there is no documentation regarding where it would like the
CDB
> > binaries, such as cdbmake, or whether they are even needed.
> >
> > I'm simply using simple.cfg with the following modification:
> >
> ># <AuthBy FILE>
> ># Filename ./dhk.users
> ># </AuthBy>
> > <AuthBy CDB>
> > Filename ./dhk.users.cdb
> > </AuthBy>
> >
> > Thanks very much for your help!
> >
> > Dave
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.