[4061] in Kerberos
Re: krb4 and gdbm
daemon@ATHENA.MIT.EDU (Larry J. Hughes Jr.)
Wed Oct 19 19:25:11 1994
To: kerberos@MIT.EDU
Date: Wed, 19 Oct 1994 18:29:34 GMT
From: hughes@logos.ucs.indiana.edu (Larry J. Hughes Jr.)
In article <CxvFMw.3F8@usenet.ucs.indiana.edu>,
Larry J. Hughes Jr. <hughes@logos.ucs.indiana.edu> wrote:
>Has anyone successfully gotten kerb V4 to work with gdbm on an
>Ultrix system? I remember a recent thread on this, but never heard
>a definite "yes, it works and I'm doing it."
I'll answer my own question. Modify this in the config.Imakefile:
#ifdef NDBM
DBMFLAG=-DNDBM
KDB_LIB=$(KDB_LIBDEP)
#else
to be this:
#ifdef NDBM
DBMFLAG=-DNDBM
KDB_LIB=$(KDB_LIBDEP) -L/usr/local/lib -lgdbm
#else
(assuming you've got /usr/local/lib/libgdbm.a).
My database of 23,000 principals now occupies only 8.5MB. With
ndbm, it occupies 25MB (and looks to be 200MB due to sparsity).
Oh, and gzip compresses that 8.5MB down to under 1MB...which is
about 1/2 the size of the dumped text version. Great for doing
those nightly tape backups. :-)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Larry J. Hughes, Jr. hughes@indiana.edu
Software Engineer http://copper.ucs.indiana.edu/~hughes
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=