Just return API errors to the frontend, don't attempt to send them.

This commit is contained in:
Howard Chu 2007-01-03 20:21:07 +00:00
parent 5cfd2f6d97
commit f206f3ddc0

View file

@ -553,7 +553,7 @@ retcode_entry_response( Operation *op, SlapReply *rs, BackendInfo *bi, Entry *e
}
}
if ( rs->sr_err != LDAP_SUCCESS ) {
if ( rs->sr_err != LDAP_SUCCESS && !LDAP_API_ERROR( rs->sr_err )) {
BackendDB db = *op->o_bd,
*o_bd = op->o_bd;
void *o_callback = op->o_callback;