cURL, libcurl, and LDAP