aren't loaded at slap_init() time
rc = backend_init( );
}
-#ifdef LDAP_SLAPI
- if( rc == 0 ) {
- Slapi_PBlock *pb = slapi_pblock_new();
-
- if ( doPluginFNs( NULL, SLAPI_PLUGIN_START_FN, pb ) < 0 ) {
- rc = -1;
- }
- slapi_pblock_destroy( pb );
- }
-#endif /* LDAP_SLAPI */
-
break;
default:
rc = backend_startup( be );
+#ifdef LDAP_SLAPI
+ if( rc == 0 ) {
+ Slapi_PBlock *pb = slapi_pblock_new();
+
+ if ( doPluginFNs( NULL, SLAPI_PLUGIN_START_FN, pb ) < 0 ) {
+ rc = -1;
+ }
+ slapi_pblock_destroy( pb );
+ }
+#endif /* LDAP_SLAPI */
+
return rc;
}