mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
More for ITS#3939
This commit is contained in:
parent
3429c5a566
commit
12d2901162
@ -510,7 +510,11 @@ findcsn_cb( Operation *op, SlapReply *rs )
|
||||
{
|
||||
slap_callback *sc = op->o_callback;
|
||||
|
||||
if ( rs->sr_type == REP_SEARCH && rs->sr_err == LDAP_SUCCESS ) {
|
||||
/* We just want to know that at least one exists, so it's OK if
|
||||
* we exceed the unchecked limit.
|
||||
*/
|
||||
if ( rs->sr_err == LDAP_ADMINLIMIT_EXCEEDED ||
|
||||
(rs->sr_type == REP_SEARCH && rs->sr_err == LDAP_SUCCESS )) {
|
||||
sc->sc_private = (void *)1;
|
||||
}
|
||||
return LDAP_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user