From 21bcabb47fce81f330d9be2f982e459e639be817 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sat, 15 Nov 2025 17:12:44 -0600 Subject: [PATCH] ldap: Switch from bdb to mdb --- tests/ldap/slapd-init.in | 4 ++-- tests/ldap/slapd.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ldap/slapd-init.in b/tests/ldap/slapd-init.in index f6e9fe93a..1f29340dd 100644 --- a/tests/ldap/slapd-init.in +++ b/tests/ldap/slapd-init.in @@ -32,10 +32,10 @@ done touch modules.conf || exit 1 if ! slapadd -d 0 -f "${srcdir}/slapd.conf" < "${srcdir}/init.ldif"; then - echo "moduleload back_bdb.la" >> modules.conf + echo "moduleload back_mdb.la" >> modules.conf if ! slapadd -d 0 -f "${srcdir}/slapd.conf" < "${srcdir}/init.ldif"; then echo "modulepath /usr/lib/ldap" > modules.conf - echo "moduleload back_bdb.la" >> modules.conf + echo "moduleload back_mdb.la" >> modules.conf slapadd -d 0 -f "${srcdir}/slapd.conf" < "${srcdir}/init.ldif" || exit 1 fi fi diff --git a/tests/ldap/slapd.conf b/tests/ldap/slapd.conf index caec47207..9b800c50d 100644 --- a/tests/ldap/slapd.conf +++ b/tests/ldap/slapd.conf @@ -20,7 +20,7 @@ include modules.conf defaultsearchbase "o=TEST,dc=H5L,dc=SE" -database bdb +database mdb suffix "o=TEST,dc=H5L,dc=SE" directory db index objectClass eq