32 #if APR_MAJOR_VERSION < 2
36 #define APR_HAS_LDAP 0
39 #if APR_HAS_SHARED_MEMORY
47 #if defined(LDAP_UNAVAILABLE) || APR_HAS_MICROSOFT_LDAPSDK
48 #define AP_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN \
49 ||(s) == LDAP_UNAVAILABLE)
51 #define AP_LDAP_IS_SERVER_DOWN(s) ((s) == LDAP_SERVER_DOWN)
68 #define LDAP_DECLARE(type) type
69 #define LDAP_DECLARE_NONSTD(type) type
70 #define LDAP_DECLARE_DATA
71 #elif defined(LDAP_DECLARE_STATIC)
72 #define LDAP_DECLARE(type) type __stdcall
73 #define LDAP_DECLARE_NONSTD(type) type
74 #define LDAP_DECLARE_DATA
75 #elif defined(LDAP_DECLARE_EXPORT)
76 #define LDAP_DECLARE(type) __declspec(dllexport) type __stdcall
77 #define LDAP_DECLARE_NONSTD(type) __declspec(dllexport) type
78 #define LDAP_DECLARE_DATA __declspec(dllexport)
80 #define LDAP_DECLARE(type) __declspec(dllimport) type __stdcall
81 #define LDAP_DECLARE_NONSTD(type) __declspec(dllimport) type
82 #define LDAP_DECLARE_DATA __declspec(dllimport)
85 #if APR_HAS_MICROSOFT_LDAPSDK
86 #define timeval l_timeval
99 never=LDAP_DEREF_NEVER,
100 searching=LDAP_DEREF_SEARCHING,
101 finding=LDAP_DEREF_FINDING,
102 always=LDAP_DEREF_ALWAYS
106 typedef struct util_ldap_connection_t {
127 struct util_ldap_connection_t *next;
128 struct util_ldap_state_t *st;
132 int ReferralHopLimit;
138 } util_ldap_connection_t;
140 typedef struct util_ldap_config_t {
142 int ReferralHopLimit;
144 } util_ldap_config_t;
147 typedef struct util_ldap_state_t {
156 long search_cache_ttl;
157 long search_cache_size;
158 long compare_cache_ttl;
159 long compare_cache_size;
161 struct util_ldap_connection_t *connections;
168 #if APR_HAS_SHARED_MEMORY
174 void *util_ldap_cache;
176 long connectionTimeout;
177 struct timeval *opTimeout;
186 struct mod_auth_ldap_groupattr_entry_t {
203 util_ldap_connection_t *ldc));
245 const char *binddn,
const char *bindpw, deref_options deref,
267 const char *
url,
const char *dn,
const char *reqdn,
268 int compare_dn_on_server));
285 const char *
url,
const char *dn,
const char *attrib,
const char *value));
313 const char *
url,
const char *dn,
const char *attrib,
const char *value,
315 int cur_subgroup_depth,
int max_subgroup_depth));
337 const char *
url,
const char *basedn,
int scope,
char **attrs,
338 const char *filter,
const char *bindpw,
const char **binddn,
const char ***retvals));
359 const char *
url,
const char *basedn,
int scope,
char **attrs,
360 const char *filter,
const char **binddn,
const char ***retvals));
392 char *util_ald_cache_display(
request_rec *
r, util_ldap_state_t *st);
Symbol export macros and hook functions.
APR Platform Definitions.
APR-UTIL registration of functions exported by modules.
APR-UTIL Relocatable Memory Management Routines.
APR Shared Memory Routines.
APR Thread Mutex Routines.
APR Reader/Writer Lock Routines.
APR Versioning Interface.
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition: apr_optional.h:50
struct apr_rmm_t apr_rmm_t
Definition: apr_rmm.h:40
request_rec * r
Definition: mod_dav.h:518
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
const char * name
Definition: mod_dav.h:805
proxy_worker proxy_server_conf char * url
Definition: mod_proxy.h:657
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
apr_int64_t apr_time_t
Definition: apr_time.h:45
Definition: apr_arch_global_mutex.h:23
Definition: apr_arch_shm.h:61
Definition: apr_arch_thread_mutex.h:28
A structure that represents the current request.
Definition: httpd.h:856