mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#7868 fix slapo-sock db_init
This commit is contained in:
parent
d951a4288b
commit
8c62b323ba
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue