Install libnet-ldap-filterbuilder-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-ldap-filterbuilder-perl
module to build LDAP filter statements
Net::LDAP::FilterBuilder constructs LDAP filter statements which are compliant with the RFC 4515 syntax and also safely escape special characters. Filter statements can be built incrementally using simple logic operations.