mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
handle compare in frontend if backend couldn't handle it (and returned SLAP_CB_CONTINUE; e.g. if wrapped around an overlay...)
This commit is contained in:
parent
8cc2aa9372
commit
58a06eae47
1 changed files with 5 additions and 1 deletions
|
|
@ -326,10 +326,14 @@ fe_op_compare( Operation *op, SlapReply *rs )
|
|||
}
|
||||
|
||||
} else if ( op->o_bd->be_compare ) {
|
||||
op->o_bd->be_compare( op, rs );
|
||||
rs->sr_err = op->o_bd->be_compare( op, rs );
|
||||
|
||||
#endif /* ! SLAP_COMPARE_IN_FRONTEND */
|
||||
} else {
|
||||
rs->sr_err = SLAP_CB_CONTINUE;
|
||||
}
|
||||
|
||||
if ( rs->sr_err == SLAP_CB_CONTINUE ) {
|
||||
/* do our best to compare that AVA
|
||||
*
|
||||
* NOTE: this code is used only
|
||||
|
|
|
|||
Loading…
Reference in a new issue