Skip to content

Commit

Permalink
Use (L)MDB backend instead of HDB
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Sergio Durigan Junior <[email protected]>
  • Loading branch information
Sergio Durigan Junior committed Jun 25, 2021
1 parent 53190fc commit 09a9754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volatildap/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 09a9754

Please sign in to comment.