mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#8859 Enable backend configuration
This commit is contained in:
parent
1f2caff7b9
commit
d10fc664f7
@ -5519,6 +5519,11 @@ ok:
|
||||
if ( coptr->co_type == Cft_Database ) {
|
||||
rc = backend_startup_one( ca->be, &ca->reply );
|
||||
|
||||
} else if ( coptr->co_type == Cft_Backend ) {
|
||||
if ( ca->bi->bi_open ) {
|
||||
rc = ca->bi->bi_open( ca->bi );
|
||||
}
|
||||
|
||||
} else if ( coptr->co_type == Cft_Overlay ) {
|
||||
if ( ca->bi->bi_db_open ) {
|
||||
BackendInfo *bi_orig = ca->be->bd_info;
|
||||
@ -7227,6 +7232,10 @@ config_back_db_open( BackendDB *be, ConfigReply *cr )
|
||||
if ( !e ) {
|
||||
return -1;
|
||||
}
|
||||
if ( bi->bi_cf_ocs && bi->bi_cf_ocs->co_cfadd ) {
|
||||
rs_reinit( &rs, REP_RESULT );
|
||||
bi->bi_cf_ocs->co_cfadd( op, &rs, e, &c );
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user