34 #define APR_HAS_LDAP 0
37 #define APR_HAS_NETSCAPE_LDAPSDK 0
38 #define APR_HAS_SOLARIS_LDAPSDK 0
39 #define APR_HAS_NOVELL_LDAPSDK 0
40 #define APR_HAS_MOZILLA_LDAPSDK 0
41 #define APR_HAS_OPENLDAP_LDAPSDK 0
42 #define APR_HAS_MICROSOFT_LDAPSDK 0
43 #define APR_HAS_TIVOLI_LDAPSDK 0
44 #define APR_HAS_ZOS_LDAPSDK 0
45 #define APR_HAS_OTHER_LDAPSDK 0
61 #if APR_HAS_TIVOLI_LDAPSDK
62 #define APR_HAS_LDAP_SSL 0
64 #define APR_HAS_LDAP_SSL 1
66 #define APR_HAS_LDAP_URL_PARSE 0
68 #if APR_HAS_OPENLDAP_LDAPSDK && !defined(LDAP_DEPRECATED)
72 #define LDAP_DEPRECATED 1
87 #define APR_HAS_LDAPSSL_CLIENT_INIT 0
88 #define APR_HAS_LDAPSSL_CLIENT_DEINIT 0
89 #define APR_HAS_LDAPSSL_ADD_TRUSTED_CERT 0
90 #define APR_HAS_LDAP_START_TLS_S 0
91 #define APR_HAS_LDAP_SSLINIT 0
92 #define APR_HAS_LDAPSSL_INIT 0
93 #define APR_HAS_LDAPSSL_INSTALL_ROUTINES 0
99 #define LDAPS_PORT 636
108 #ifdef LDAP_DEFAULT_LIMIT
109 #define APR_LDAP_SIZELIMIT LDAP_DEFAULT_LIMIT
112 #define APR_LDAP_SIZELIMIT LDAP_NO_LIMIT
116 #ifndef APR_LDAP_SIZELIMIT
117 #define APR_LDAP_SIZELIMIT 0
123 #ifndef LDAP_VERSION_MAX
124 #define LDAP_VERSION_MAX LDAP_VERSION
126 #if APR_HAS_ZOS_LDAPSDK
127 #define LDAP_VENDOR_NAME "IBM z/OS"
135 #if LDAP_VERSION_MAX <= 2
136 #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.
148 typedef struct apr_ldap_err_t {
162 #if APR_HAS_MICROSOFT_LDAPSDK
163 #define APR_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN \
164 || (s) == LDAP_UNAVAILABLE)
166 #define APR_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN)
173 #ifdef APU_DSO_LDAP_BUILD
175 #define apr_ldap_info apr__ldap_info
176 #define apr_ldap_init apr__ldap_init
177 #define apr_ldap_ssl_init apr__ldap_ssl_init
178 #define apr_ldap_ssl_deinit apr__ldap_ssl_deinit
179 #define apr_ldap_get_option apr__ldap_get_option
180 #define apr_ldap_set_option apr__ldap_set_option
181 #define apr_ldap_rebind_init apr__ldap_rebind_init
182 #define apr_ldap_rebind_add apr__ldap_rebind_add
183 #define apr_ldap_rebind_remove apr__ldap_rebind_remove
185 #define APU_DECLARE_LDAP(type) type
187 #define APU_DECLARE_LDAP(type) APU_DECLARE(type)
APR-UTIL LDAP ldap_init() functions.
APR-UTIL LDAP ldap_init() functions.
APR-UTIL LDAP ldap_*_option() functions.