PEAR::DB_ldap class provides a DB compliant interface to LDAP servers. WWW: http://pear.php.net/package/DB_ldap/