From: Pierangelo Masarati Date: Mon, 23 May 2005 07:25:45 +0000 (+0000) Subject: fix interaction with table-driven config of back-ldap (please review) X-Git-Tag: OPENLDAP_AC_BP~609 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc148e8e5419cf570e3b402159cf7fe18475d390;p=openldap fix interaction with table-driven config of back-ldap (please review) --- diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index 9a6483229d..ba948e6193 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -585,6 +585,7 @@ static int translucent_config( slap_overinst *on = (slap_overinst *) be->bd_info; overlay_stack *ov = on->on_bi.bi_private; void *private = be->be_private; + void *be_cf_ocs = be->be_cf_ocs; int rc; /* "this should never happen" */ @@ -594,8 +595,10 @@ static int translucent_config( } be->be_private = ov->private; + be->be_cf_ocs = ov->info->bi_cf_ocs; rc = ov->info->bi_db_config ? ov->info->bi_db_config(be, fname, lineno, argc, argv) : 0; be->be_private = private; + be->be_cf_ocs = be_cf_ocs; /* pass okay or error up, SLAP_CONF_UNKNOWN might be ours */ if(rc == 0 || rc == 1) return(rc);