mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
LDAP: properly implemented as a curl_handler
makes the LDAP code much cleaner, nicer and in general being a better libcurl citizen. If a new enough OpenLDAP version is detect, the new and shiny lib/openldap.c code is then used instead of the old cruft Code by Howard, minor cleanups by Daniel.
This commit is contained in:
parent
606b933a4f
commit
2e056353b0
9 changed files with 597 additions and 12 deletions
|
|
@ -181,13 +181,12 @@ static const struct Curl_handler * const protocols[] = {
|
|||
&Curl_handler_dict,
|
||||
#endif
|
||||
|
||||
#ifndef CURL_DISABLE_LDAP
|
||||
#if !defined(CURL_DISABLE_LDAP) || defined(USE_OPENLDAP)
|
||||
&Curl_handler_ldap,
|
||||
#endif
|
||||
|
||||
#if !defined(CURL_DISABLE_LDAP) && defined(HAVE_LDAP_SSL)
|
||||
#if defined(HAVE_LDAP_SSL) || defined(USE_OPENLDAP)
|
||||
&Curl_handler_ldaps,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CURL_DISABLE_FILE
|
||||
&Curl_handler_file,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue