#define LDAP_URLEXT_X_SEARCHEDSUBTREE "x-searchedSubtree"
#define LDAP_URLEXT_X_FAILEDNAME "x-failedName"
-#ifdef LDAP_DEVEL
#define LDAP_X_TXN "1.3.6.1.4.1.4203.666.11.7" /* tmp */
#define LDAP_EXOP_X_TXN_START LDAP_X_TXN ".1"
#define LDAP_CONTROL_X_TXN_SPEC LDAP_X_TXN ".2"
#define LDAP_EXOP_X_TXN_END LDAP_X_TXN ".3"
#define LDAP_EXOP_X_TXN_ABORTED_NOTICE LDAP_X_TXN ".4"
-#endif
/* LDAP Features */
#define LDAP_FEATURE_ALL_OP_ATTRS "1.3.6.1.4.1.4203.1.5.1" /* RFC 3673 */
#endif /* HAVE_TLS */
-#ifdef LDAP_DEVEL
#define LDAP_USE_NON_BLOCKING_TLS
-#endif /* LDAP_DEVEL */
/* RFC2459 minimum required set of supported attribute types
* in a certificate DN
/* USE_GMTIME_R and USE_LOCALTIME_R defined in ldap_pvt.h */
-#ifdef LDAP_DEVEL
- /* to be released with 2.5 */
#if !defined( USE_GMTIME_R ) || !defined( USE_LOCALTIME_R )
/* we use the same mutex for gmtime(3) and localtime(3)
* because implementations may use the same buffer
* for both functions */
static ldap_pvt_thread_mutex_t ldap_int_gmtime_mutex;
#endif
-#else /* ! LDAP_DEVEL */
- ldap_pvt_thread_mutex_t ldap_int_gmtime_mutex;
-#endif /* ! LDAP_DEVEL */
# if defined(HAVE_GETHOSTBYNAME_R) && \
(GETHOSTBYNAME_R_NARGS < 5) || (6 < GETHOSTBYNAME_R_NARGS)
int bdp_size;
};
-#ifdef LDAP_DEVEL
#define BDB_MONITOR_IDX
-#endif /* LDAP_DEVEL */
typedef struct bdb_monitor_t {
void *bdm_cb;
#define LDAP_CONTROL_OBSOLETE_PROXY_AUTHZ "2.16.840.1.113730.3.4.12"
-#ifdef LDAP_DEVEL
#define SLAP_AUTH_DN 1
-#endif
#if LDAP_BACK_PRINT_CONNTREE > 0
return rc;
}
-#ifdef LDAP_DEVEL
rc = supported_feature_load( &slap_FEATURE_CANCHAINOPS );
if ( rc != LDAP_SUCCESS ) {
Debug( LDAP_DEBUG_ANY, "slapd-distproc: "
rc, 0, 0 );
return rc;
}
-#endif
rc = register_supported_control( LDAP_CONTROL_X_RETURNCONTREF,
SLAP_CTRL_GLOBAL|SLAP_CTRL_ACCESS|SLAP_CTRL_HIDE, NULL,
/* Default to 10MB max */
#define DEFAULT_MAPSIZE (10*1048576)
-#ifdef LDAP_DEVEL
#define MDB_MONITOR_IDX
-#endif /* LDAP_DEVEL */
typedef struct mdb_monitor_t {
void *mdm_cb;
#ifndef SLAPD_META_H
#define SLAPD_META_H
-#ifdef LDAP_DEVEL
#define SLAPD_META_CLIENT_PR 1
-#endif /* LDAP_DEVEL */
#include "proto-meta.h"
#include "../back-ldap/back-ldap.h"
#include "back-meta.h"
-#ifdef LDAP_DEVEL
#define SLAP_AUTH_DN 1
-#endif
static ConfigDriver meta_back_cf_gen;
static ConfigLDAPadd meta_ldadd;
0, 0, 0 );
return -1;
}
-#ifndef LDAP_DEVEL
- (*lattrs[i].ad)->ad_type->sat_flags |= SLAP_AT_HIDE;
-#endif
}
for ( i=0; locs[i].ot; i++ ) {
0, 0, 0 );
return -1;
}
-#ifndef LDAP_DEVEL
- (*locs[i].oc)->soc_flags |= SLAP_OC_HIDE;
-#endif
}
return overlay_register(&accesslog);
#include "config.h"
-#ifdef LDAP_DEVEL
/*
* Control that allows to access the private DB
* instead of the public one
* Monitoring
*/
#define PCACHE_MONITOR
-#endif
/* query cache structs */
/* query */
#include "config.h"
#include "ldap_rq.h"
-#ifdef LDAP_DEVEL
#define CHECK_CSN 1
-#endif
/* A modify request on a particular entry */
typedef struct modinst {
LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) entry2str_mutex;
-#ifndef LDAP_DEVEL
- /* to be removed with 2.5 */
-#define gmtime_mutex ldap_int_gmtime_mutex
-#endif /* ! LDAP_DEVEL */
-
LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) ad_index_mutex;
LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) ad_undef_mutex;
LDAP_SLAPD_V (ldap_pvt_thread_mutex_t) oc_undef_mutex;
BER_BVC(LDAP_FEATURE_ABSOLUTE_FILTERS), /* (&) and (|) search filters */
BER_BVC(LDAP_FEATURE_LANGUAGE_TAG_OPTIONS), /* Language Tag Options */
BER_BVC(LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS), /* Language Range Options */
-#ifdef LDAP_DEVEL
BER_BVC(LDAP_FEATURE_SUBORDINATE_SCOPE), /* "children" search scope */
-#endif
BER_BVNULL
};
static struct berval *supportedFeatures;
LDAP_BEGIN_DECL
-#ifdef LDAP_DEVEL
#define LDAP_COLLECTIVE_ATTRIBUTES
#define LDAP_COMP_MATCH
#define LDAP_SYNC_TIMESTAMP
#ifndef SLAP_SCHEMA_EXPOSE
#define SLAP_SCHEMA_EXPOSE
#endif
-#endif
#define LDAP_DYNAMIC_OBJECTS
#define SLAP_CONTROL_X_TREE_DELETE LDAP_CONTROL_X_TREE_DELETE
ber_socket_t sl_sd;
Sockaddr sl_sa;
#define sl_addr sl_sa.sa_in_addr
-#ifdef LDAP_DEVEL
#define LDAP_TCP_BUFFER
-#endif
#ifdef LDAP_TCP_BUFFER
int sl_tcp_rmem; /* custom TCP read buffer size */
int sl_tcp_wmem; /* custom TCP write buffer size */