int ldap_debug;
int ldap_syslog;
int ldap_syslog_level;
-int global_schemacheck;
long num_entries_sent;
long num_bytes_sent;
int active_threads;
char *default_referral;
-struct objclass *global_oc;
time_t currenttime;
pthread_t listener_tid;
pthread_mutex_t num_sent_mutex;
pthread_mutex_t replog_mutex;
pthread_mutex_t ops_mutex;
pthread_mutex_t regex_mutex;
+#ifdef SLAPD_CRYPT
+pthread_mutex_t crypt_mutex;
+#endif
static void fork_child( char *prog, char *args[] );
static void wait4kids( int nkidval );
int dbnum;
ID id;
Backend *be = NULL;
+ struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
Avlnode *avltypes = NULL;
}
be = &backends[dbnum];
+ /* disable write sync'ing */
+ li = (struct ldbminfo *) be->be_private;
+ li->li_dbcachewsync = 0;
+
/*
* generate the id2entry index
*/
int vlen, indexmask, syntaxmask;
Datum key, data;
+ memset( &key, 0, sizeof( key ));
+ memset( &data, 0, sizeof( data ));
+
if ( fgets( line, sizeof(line), stdin ) != NULL ) {
int len;