Install libnet-ldapapi-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-ldapapi-perl
Perl bindings for OpenLDAP C API
Net::LDAPapi provides a Perl interface to the OpenLDAP C libraries. Both the original "C API" and new "Perl OO" style interface methods are supported. This module differs from Net::LDAP in that it uses C bindings to achieve significant performance improvements.