be->be_cf_ocs = be->bd_info->bi_cf_ocs;
-#if 0 /* disable by now */
rc = ldap_back_monitor_db_init( be );
-#endif
return rc;
}
ldapinfo_t *li = (ldapinfo_t *)be->be_private;
slap_bindconf sb = { 0 };
- int rc;
+ int rc = 0;
Debug( LDAP_DEBUG_TRACE,
"ldap_back_db_open: URI=%s\n",
}
}
-#if 0 /* disable by now */
/* monitor setup */
rc = ldap_back_monitor_db_open( be );
if ( rc != 0 ) {
+ /* ignore by now */
+ rc = 0;
+#if 0
goto fail;
- }
#endif
+ }
li->li_flags |= LDAP_BACK_F_ISOPEN;
{
int rc = 0;
-#if 0 /* disable by now */
if ( be->be_private ) {
rc = ldap_back_monitor_db_close( be );
}
-#endif
return rc;
}
if ( be->be_private ) {
ldapinfo_t *li = ( ldapinfo_t * )be->be_private;
-#if 0 /* disable by now */
(void)ldap_back_monitor_db_destroy( be );
-#endif
ldap_pvt_thread_mutex_lock( &li->li_conninfo.lai_mutex );