Hello Dave -
On Fri, 17 Dec 1999, Dave Kitabjian wrote:
> 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:
>
It looks to me like CDB_File has some example perl code that you could use to
implement your own tools - the only existing tool is cdbmake in the cdb
distribution.
> 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?
>
Again, it appears that cdbmake expects to find an entire source record on one
line (like the /etc/hosts example).
> 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?
>
Radiator does not compile the users.cdb file - it must be built prior to
Radiator accessing it. There is a "builddbm" utility in the Radiator
distribution that could be modified to use the CDB_File primitives rather than
the DBM primitives, and that would read a standard users file as input.
Otherwise, Pedro might have already built a utility that he might contribute to
the Radiator goodies collection?
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.