Am 25.08.21 um 17:43 schrieb Quanah Gibson-Mount:
I took over a service using the Perl NET::LDAPapi. Now I fail to establish an LDAPS connection. Does anybody know if that's even supported and if so, how I've to setup that?
Yes, it's fully supported and has been as long as I've used it (about 2 decades now). For ldaps:// connections, you need to pass in an ldaps:/// URI. It will pull its defaults for TLS like any other libldap linked ldap application.
Hello,
thanks Quanah, for that clarification. I only found [1] that promise TLS-Support when build with a "Mozilla SDK" I also checked I used ldaps:/// (with three /). LDAPTLS_CACERT was also set, as Michael suggested.
Today I tried to replace Net::LDAPapi with Net::LDAP. Changing the code was not that big thing and at a first try the service works. So I'm fine for now and suggest a complete application rewrite to a more modern architecture sometimes next year.
Andreas