From: Howard Chu Date: Fri, 18 Jul 2014 19:03:07 +0000 (-0700) Subject: ITS#7868 fix slapo-sock db_init X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c62b323ba7cf1b308bdbbb4c9a7040546ee1581;p=openldap ITS#7868 fix slapo-sock db_init --- diff --git a/servers/slapd/back-sock/config.c b/servers/slapd/back-sock/config.c index 018b5fdb04..dba598f829 100644 --- a/servers/slapd/back-sock/config.c +++ b/servers/slapd/back-sock/config.c @@ -357,12 +357,14 @@ sock_over_db_init( { slap_overinst *on = (slap_overinst *)be->bd_info; void *private = be->be_private; + void *cf_ocs = be->be_cf_ocs; int rc; be->be_private = NULL; rc = sock_back_db_init( be, cr ); on->on_bi.bi_private = be->be_private; be->be_private = private; + be->be_cf_ocs = cf_ocs; return rc; }