Skip to content
Snippets Groups Projects
Commit 58a06eae authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

handle compare in frontend if backend couldn't handle it (and returned...

handle compare in frontend if backend couldn't handle it (and returned SLAP_CB_CONTINUE; e.g. if wrapped around an overlay...)
parent 8cc2aa93
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment