From: Pierangelo Masarati Date: Mon, 23 May 2005 07:20:49 +0000 (+0000) Subject: try to propagate cf info; required, e.g. by translucent overlay and more (please... X-Git-Tag: OPENLDAP_AC_BP~614 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=950c9a78a1375945ce586b856e3787d0491dea3d;p=openldap try to propagate cf info; required, e.g. by translucent overlay and more (please review) --- diff --git a/servers/slapd/backover.c b/servers/slapd/backover.c index 599899ff85..0e8b0c27ac 100644 --- a/servers/slapd/backover.c +++ b/servers/slapd/backover.c @@ -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; }