00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #ifndef APU_LDAP_H
00024 #define APU_LDAP_H
00025
00032
00033 #define APR_HAS_LDAP 1
00034
00035
00036 #define APR_HAS_NETSCAPE_LDAPSDK 0
00037 #define APR_HAS_SOLARIS_LDAPSDK 0
00038 #define APR_HAS_NOVELL_LDAPSDK 0
00039 #define APR_HAS_MOZILLA_LDAPSDK 0
00040 #define APR_HAS_OPENLDAP_LDAPSDK 1
00041 #define APR_HAS_MICROSOFT_LDAPSDK 0
00042 #define APR_HAS_OTHER_LDAPSDK 0
00043
00044
00045
00046
00047
00048 #if APR_HAS_LDAP
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 #define APR_HAS_LDAP_SSL 1
00059 #define APR_HAS_LDAP_URL_PARSE 0
00060
00061
00062
00063
00064
00065
00066 #include <lber.h>
00067 #include <ldap.h>
00068
00069
00070
00071
00072
00073
00074 #define APR_HAS_LDAPSSL_CLIENT_INIT 0
00075 #define APR_HAS_LDAPSSL_CLIENT_DEINIT 0
00076 #define APR_HAS_LDAPSSL_ADD_TRUSTED_CERT 0
00077 #define APR_HAS_LDAP_START_TLS_S 1
00078 #define APR_HAS_LDAP_SSLINIT 0
00079 #define APR_HAS_LDAPSSL_INIT 0
00080 #define APR_HAS_LDAPSSL_INSTALL_ROUTINES 0
00081
00082
00083
00084
00085 #ifndef LDAPS_PORT
00086 #define LDAPS_PORT 636
00087 #endif
00088
00089
00090
00091
00092
00093
00094
00095 #if LDAP_VERSION_MAX <= 2
00096 #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.
00097 #endif
00098
00099 #ifdef __cplusplus
00100 extern "C" {
00101 #endif
00102
00108 typedef struct apr_ldap_err_t {
00109 const char *reason;
00110 const char *msg;
00111 int rc;
00112 } apr_ldap_err_t;
00113
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117
00118 #include "apr_ldap_url.h"
00119 #include "apr_ldap_init.h"
00120 #include "apr_ldap_option.h"
00121
00123 #endif
00124 #endif