LDAP C++ client API and library in openSUSE Leap

According to Migrating to 389 Directory Server from OpenLDAP, openLDAP is deprecated since SUSE Linux Enterprise 15 SP3. I would guess that this also applies to openSUSE Leap, which seems to be confirmed by LDAP with 389 Directory Server. (Cannot see it mentioned in openSUSE Leap 15.3 release notes though)

Both links above mentions that openLDAP is replaced with 389-DS. However, openLDAP also provides C++ client apis and libraries and there is no mention of a replacement for this. Is openldap2-devel and libldap deprecated in openSUSE Leap? If so, what is the replacement?

Packages “389-ds-devel”, “lib389”.

1 Like

Thank you for the reply. Unfortunately I cannot see that these packages provides any LDAP client API, only APIs for developing plugins for the server and such.

According to the 389 DS documentation, they use MozLDAP themselves which is available in recent versions of Leap (15.5, 15.6), but not before that. In my installation of Leap 15.4 389-ds depend on openldap, not sure if this changes in the later versions. MozLDAP does not seem to be maintained upstream, while openldap is…