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