From fc148e8e5419cf570e3b402159cf7fe18475d390 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 23 May 2005 07:25:45 +0000 Subject: [PATCH] fix interaction with table-driven config of back-ldap (please review) --- servers/slapd/overlays/translucent.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5