From 42baf3be3293bae46d1c686e6e46e258680d766f Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 25 Jun 2021 17:51:28 -0400 Subject: [PATCH] Use (L)MDB backend instead of HDB OpenLDAP 2.5.x has deprecated and removed support for the HDB backend, which makes the tests fail. This commit changes the backend to MDB, which is the recommended one now. Closes #7 Signed-off-by: Sergio Durigan Junior --- volatildap/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatildap/server.py b/volatildap/server.py index 64127d1..185dadd 100644 --- a/volatildap/server.py +++ b/volatildap/server.py @@ -144,8 +144,8 @@ def quote(base, *args): yield quote('TLSCertificateFile %s', self._tls_certificate_path) yield quote('TLSCertificateKeyFile %s', self._tls_key_path) - yield quote('moduleload back_hdb') - yield quote('database hdb') + yield quote('moduleload back_mdb') + yield quote('database mdb') yield quote('directory %s', self._datadir) yield quote('suffix %s', self.suffix) yield quote('rootdn %s', self.rootdn)