mirror of
https://github.com/curl/curl.git
synced 2026-08-02 09:00:27 +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
|
|
@ -170,12 +170,12 @@ static const char * const protocols[] = {
|
|||
#if defined(USE_SSL) && !defined(CURL_DISABLE_IMAP)
|
||||
"imaps",
|
||||
#endif
|
||||
#ifndef CURL_DISABLE_LDAP
|
||||
#if !defined(CURL_DISABLE_LDAP) || defined(USE_OPENLDAP)
|
||||
"ldap",
|
||||
#endif
|
||||
#if defined(HAVE_LDAP_SSL) && !defined(CURL_DISABLE_LDAP)
|
||||
#if defined(HAVE_LDAP_SSL) || defined(USE_OPENLDAP)
|
||||
"ldaps",
|
||||
#endif
|
||||
#endif
|
||||
#ifndef CURL_DISABLE_POP3
|
||||
"pop3",
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue