Net_LDAP allows you to query and manipulate the data stored in directory servers using PHP in an object-oriented way.
Detailed usage examples are available at: /your/pear/path/docs/Net_LDAP/examples/