EGI-Federation / bdii

Berkeley Database Information Index
Apache License 2.0
8 stars 8 forks source link

Migrate to openldap 2.5+ #42

Closed ellert closed 1 year ago

ellert commented 1 year ago

Summary

Issue #41 describes how updating to openldap 2.5 or later breaks bdii due to the removal of the hdb slapd backend used by bdii. The issue is now more urgent, since RedHat Enterprise Linux 9, and derivatives such as CentOS Stream 9 and Rocky Linux 9, uses openldap 2.6.

This PR proposes a migration to the mdb slapd backend. The changes were first proposed by andreas.haupt@desy.de in a bugzilla ticket for the EPEL 9 version of bdii in the RedHat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2150344


Related issue: #41

gwarf commented 1 year ago

Thanks a lot @ellert! We have seen that in https://src.fedoraproject.org/rpms/bdii/c/68201bd332defa7cd8fba764c5b2ade85cdd08fe?branch=rawhide you are using a patch to do this only for >= C9, I guess we may want to do the same.

So can we borrow your patch? or maybe you want to add it yourself to this PR?

We have discussed this with @andrea-manzi and we plan to:

gwarf commented 1 year ago

You should also have received an invitation to join the EGI Federation org, if you accept it would grant you write rights to this repo and to a bunch of other BDII repos, I guess it makes sense.

ellert commented 1 year ago

So can we borrow your patch? or maybe you want to add it yourself to this PR?

The patch in the Fedora/EPEL build is generated from the git commit in the PR:

git format-patch a3312f93c372f9a8dd420fb991d04383531faae6~1..a3312f93c372f9a8dd420fb991d04383531faae6