mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
ITS#5232 report and fail on internal errors
This commit is contained in:
parent
d84f8d9b71
commit
e6568f61b5
1 changed files with 4 additions and 0 deletions
|
|
@ -692,6 +692,10 @@ fetch_entry_retry:
|
|||
|| rs->sr_err == DB_LOCK_NOTGRANTED )
|
||||
{
|
||||
goto fetch_entry_retry;
|
||||
} else if ( rs->sr_err == LDAP_OTHER ) {
|
||||
rs->sr_text = "internal error";
|
||||
send_ldap_result( op, rs );
|
||||
goto done;
|
||||
}
|
||||
|
||||
if ( ei && rs->sr_err == LDAP_SUCCESS ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue