cURL and LDAP

Anyone who has done an LDAP connection with cURL (without OpenLDAP) and can give me a little help? I want to recieve some information by searching in LDAP.