Skip to content
Snippets Groups Projects
Commit 4ba9bc1c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use LDAP_OTHER to indicate internal error

parent f9cf518c
No related branches found
No related tags found
No related merge requests found
......@@ -1281,7 +1281,7 @@ retry:;
if ( timeout ) {
(void)ldap_back_cancel( lc, op, rs, msgid, sendok );
rs->sr_err = op->o_protocol >= LDAP_VERSION3 ?
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OPERATIONS_ERROR;
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OTHER;
rs->sr_text = "Operation timed out";
break;
}
......
......@@ -862,7 +862,7 @@ retry:;
if ( timeout ) {
(void)meta_back_cancel( mc, op, rs, msgid, candidate, sendok );
rs->sr_err = op->o_protocol >= LDAP_VERSION3 ?
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OPERATIONS_ERROR;
LDAP_ADMINLIMIT_EXCEEDED : LDAP_OTHER;
rs->sr_text = "Operation timed out";
break;
}
......
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