The AddressBook module provides a perl API for accessing LDAP addressbooks. WWW: http://search.cpan.org/dist/AddressBook/