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:
committed by
Daniel Stenberg
parent
606b933a4f
commit
2e056353b0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user