Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Add LMDB KDB module

Add a new KDB module using LMDB. For this module, combine policy and
principal databases into one environment with two databases, but split
out principal lockout fields into a separate environment so that
nothing blocks KDC writes for more than a trivial amount of time.

https://github.com/krb5/krb5/commit/03e3115222e7f8ce61b2daec7bcbb2365f3190f9
Author: Greg Hudson <ghudson@mit.edu>
Commit: 03e3115222e7f8ce61b2daec7bcbb2365f3190f9
Branch: master
src/Makefile.in | 2 +
src/config/pre.in | 4 +
src/configure.in | 21 +
src/include/k5-int.h | 3 +
src/plugins/kdb/lmdb/Makefile.in | 27 +
src/plugins/kdb/lmdb/deps | 53 ++
src/plugins/kdb/lmdb/kdb_lmdb.c | 1143 ++++++++++++++++++++++++++++++++++++
src/plugins/kdb/lmdb/klmdb-int.h | 78 +++
src/plugins/kdb/lmdb/klmdb.exports | 1 +
src/plugins/kdb/lmdb/lockout.c | 180 ++++++
src/plugins/kdb/lmdb/marshal.c | 339 +++++++++++
11 files changed, 1851 insertions(+), 0 deletions(-)
From: ghudson@mit.edu
Subject: git commit
Download (untitled) / with headers
text/plain 1.4KiB

Add LMDB KDB module tests

Add a new k5test function multidb_realms() which yields a realm using
BDB and a realm using LMDB. Run the tests in t_dump.py, t_iprop.py,
the lockout tests in t_policy.py, and kdbtest (in t_kdb.py) with both
databases.

If K5TEST_LMDB is set in the environment, use LMDB for all Python
tests and all tests in tests/dejagnu, with two exceptions
(t_unlockiter.py and t_kdb_locking.py) which test BDB-specific
behavior. To support those exceptions, add the "bdb_only" realm
initialization flag.

In t_iprop.py, be sure to properly clean up kpropd daemons, using a
new k5test realm method stop_kpropd() to stop a kpropd daemon started
with start_kpropd() and remove it from the realm's list.

https://github.com/krb5/krb5/commit/dafc1daeedb008faa9dc6246e33f37a5c45462ca
Author: Greg Hudson <ghudson@mit.edu>
Commit: dafc1daeedb008faa9dc6246e33f37a5c45462ca
Branch: master
src/Makefile.in | 6 +-
src/tests/dejagnu/config/default.exp | 15 +-
src/tests/dejagnu/krb-standalone/kprop.exp | 9 +-
src/tests/t_dump.py | 158 ++++----
src/tests/t_iprop.py | 662 ++++++++++++++--------------
src/tests/t_kdb.py | 6 +-
src/tests/t_kdb_locking.py | 2 +-
src/tests/t_policy.py | 48 +-
src/tests/t_unlockiter.py | 4 +-
src/util/k5test.py | 48 ++-
10 files changed, 518 insertions(+), 440 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Add database type documentation

Document the new profile variables added for the LMDB KDB module and
the new configure option. Add a new admin section on database types,
and document the behavior of all current modules.

https://github.com/krb5/krb5/commit/1c8223ecf9d4a892eb5ff0114a31b218625f76d5
Author: Greg Hudson <ghudson@mit.edu>
Commit: 1c8223ecf9d4a892eb5ff0114a31b218625f76d5
Branch: master
doc/admin/conf_files/kdc_conf.rst | 22 +++++-
doc/admin/conf_ldap.rst | 2 +
doc/admin/dbtypes.rst | 147 +++++++++++++++++++++++++++++++++++++
doc/admin/index.rst | 1 +
doc/admin/lockout.rst | 2 +
doc/build/options2configure.rst | 3 +
doc/mitK5features.rst | 2 +-
7 files changed, 176 insertions(+), 3 deletions(-)