partially fixes ITS#2299

This commit is contained in:
Pierangelo Masarati 2003-02-05 19:33:01 +00:00
parent 5288450294
commit fae57fcd15

View File

@ -405,7 +405,23 @@ glue_back_search (
s2limit, t2limit, filter, filterstr,
attrs, attrsonly);
}
switch ( gs.err ) {
/*
* Add errors that should result in dropping
* the search
*/
case LDAP_SIZELIMIT_EXCEEDED:
case LDAP_TIMELIMIT_EXCEEDED:
case LDAP_ADMINLIMIT_EXCEEDED:
goto end_of_loop;
default:
break;
}
}
end_of_loop:;
break;
}
op->o_callback = gs.prevcb;