mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 15:23:11 -05:00
try to propagate cf info; required, e.g. by translucent overlay and more (please review)
This commit is contained in:
parent
d32187df16
commit
950c9a78a1
1 changed files with 4 additions and 0 deletions
|
|
@ -72,12 +72,14 @@ over_db_config(
|
|||
slap_overinfo *oi = be->bd_info->bi_private;
|
||||
slap_overinst *on = oi->oi_list;
|
||||
BackendInfo *bi_orig = be->bd_info;
|
||||
struct ConfigOCs *be_cf_ocs = be->be_cf_ocs;
|
||||
ConfigArgs ca = {0};
|
||||
ConfigTable *ct;
|
||||
int rc = 0;
|
||||
|
||||
if ( oi->oi_orig->bi_db_config ) {
|
||||
be->bd_info = oi->oi_orig;
|
||||
be->be_cf_ocs = oi->oi_orig->bi_cf_ocs;
|
||||
rc = oi->oi_orig->bi_db_config( be, fname, lineno,
|
||||
argc, argv );
|
||||
|
||||
|
|
@ -149,6 +151,8 @@ over_db_config(
|
|||
}
|
||||
}
|
||||
be->bd_info = bi_orig;
|
||||
be->be_cf_ocs = be_cf_ocs;
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue