mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
test mapped error code (ITS#4808)
This commit is contained in:
parent
9a8b3f711e
commit
b604ef8d52
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ retry:
|
|||
rc = ldap_back_op_result( lc, op, rs, msgid,
|
||||
li->li_timeout[ SLAP_OP_DELETE ],
|
||||
( LDAP_BACK_SENDRESULT | retrying ) );
|
||||
if ( rs->sr_err == LDAP_SERVER_DOWN && retrying ) {
|
||||
if ( rs->sr_err == LDAP_UNAVAILABLE && retrying ) {
|
||||
retrying &= ~LDAP_BACK_RETRYING;
|
||||
if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
|
||||
/* if the identity changed, there might be need to re-authz */
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ retry:
|
|||
rc = ldap_back_op_result( lc, op, rs, msgid,
|
||||
li->li_timeout[ SLAP_OP_MODRDN ],
|
||||
( LDAP_BACK_SENDRESULT | retrying ) );
|
||||
if ( rs->sr_err == LDAP_SERVER_DOWN && retrying ) {
|
||||
if ( rs->sr_err == LDAP_UNAVAILABLE && retrying ) {
|
||||
retrying &= ~LDAP_BACK_RETRYING;
|
||||
if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
|
||||
/* if the identity changed, there might be need to re-authz */
|
||||
|
|
|
|||
Loading…
Reference in a new issue