mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
More for ITS#4323 fix
This commit is contained in:
parent
4c754ec249
commit
c1019fbfbd
1 changed files with 6 additions and 4 deletions
|
|
@ -269,12 +269,14 @@ glue_sub_search( Operation *op, SlapReply *rs, BackendDB *b0,
|
|||
/* Process any overlays on the master backend */
|
||||
if ( op->o_bd == b0 && on->on_next ) {
|
||||
BackendInfo *bi = op->o_bd->bd_info;
|
||||
int rc;
|
||||
int rc = SLAP_CB_CONTINUE;
|
||||
for ( on=on->on_next; on; on=on->on_next ) {
|
||||
op->o_bd->bd_info = (BackendInfo *)on;
|
||||
rc = on->on_bi.bi_op_search( op, rs );
|
||||
if ( rc != SLAP_CB_CONTINUE )
|
||||
break;
|
||||
if ( on->on_bi.bi_op_search ) {
|
||||
rc = on->on_bi.bi_op_search( op, rs );
|
||||
if ( rc != SLAP_CB_CONTINUE )
|
||||
break;
|
||||
}
|
||||
}
|
||||
op->o_bd->bd_info = bi;
|
||||
if ( rc != SLAP_CB_CONTINUE )
|
||||
|
|
|
|||
Loading…
Reference in a new issue