Support OpenLDAP 2.5+
Begin arcbot message
This merge request is automatically cherrypicked from !1558 (merged) from source branch https://source.coderefinery.org/ellert/arc/-/tree/openldap-2.5+ orginally made by @ellert .
The original MR went to branch: https://source.coderefinery.org/nordugrid/arc/-/tree/master
End arcbot message
For context see:
https://bugzilla.redhat.com/show_bug.cgi?id=2150344 https://github.com/EGI-Federation/bdii/pull/42 https://github.com/EGI-Federation/bdii/issues/41
Fixes infosys-ldap om EPEL 9, Fedora 36+ and others with OpenLDAP 2.5+.