The AddressBook module provides a perl API for accessing LDAP addressbooks. WWW: https://metacpan.org/release/AddressBook