mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
better fix: in case of error during bind, just bail out (very conservative, though)
This commit is contained in:
parent
e60d7c7f24
commit
d3f33d8139
@ -184,12 +184,8 @@ meta_back_bind( Operation *op, SlapReply *rs )
|
|||||||
rs->sr_err = lerr;
|
rs->sr_err = lerr;
|
||||||
candidates[ i ].sr_tag = META_NOT_CANDIDATE;
|
candidates[ i ].sr_tag = META_NOT_CANDIDATE;
|
||||||
|
|
||||||
if ( lerr == LDAP_INVALID_CREDENTIALS
|
rc = rs->sr_err;
|
||||||
|| META_BACK_ONERR_STOP( mi ) )
|
break;
|
||||||
{
|
|
||||||
rc = rs->sr_err;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user