mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#5724 use bd_self->be_ctrls
This commit is contained in:
parent
ca07957697
commit
219c97e4a8
@ -224,11 +224,11 @@ relay_back_db_open( Backend *be, ConfigReply *cr )
|
||||
}
|
||||
|
||||
/* inherit controls */
|
||||
AC_MEMCPY( be->be_ctrls, ri->ri_bd->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
AC_MEMCPY( be->bd_self->be_ctrls, ri->ri_bd->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
|
||||
} else {
|
||||
/* inherit all? */
|
||||
AC_MEMCPY( be->be_ctrls, frontendDB->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
AC_MEMCPY( be->bd_self->be_ctrls, frontendDB->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user