On Thu, Dec 12, 2024 at 03:10:37PM -0000, duttaa@hotmail.com wrote:
Hi,
I want to build an application using Java and C++ to convert LDAP responses (sub tree search, tree with multi level hierarchy) into LDIF file. Are there any open source libraries which can be used for this use case.
Hi Abhijit, you can have a look at ldif.h and ldif_put_wrap() which is how ldapsearch does it[0], should be straightforward to use from C++ as well. I'm not very familiar with Java LDAP/LDIF libraries but there is a list you might want to evaluate[1].
[0]. https://git.openldap.org/openldap/openldap/-/blob/master/clients/tools/ldaps... [1]. https://directory.apache.org/api/java-api.html
Regards,