[Date Prev][Date Next]
Re: "invalid size limit" on some searches
At 12:27 PM 5/5/2005, Jeffrey Goldberg wrote:
>As part of an upgrage from Suse 9.0 to Suse 9.3, openldap was upgraded
>to version 2.2.
>Everything is fine, except that searches from one particular client
>(not using openldap) fail, with errors logged as
> slapd: conn=1 op=1 SEARCH RESULT tag=101 err=2 nentries=0
> text=invalid size limit
>We've got a back-up server running slapd 2.1 which is still working
>fine with the same client that is failing against the 2.2 system.
>Any help in what I should be looking for to further understand the
>problem and fix it would be most welcome.
The above message indicates that the client sent a malformed
search request PDU, in particular, with a sizelimit value
either less than 0 or greater than 2^31-1. By enabling
BER logging you can determine the precise value sent on
the wire (if that is useful).
I note that 2.1 (and prior versions) of slapd(8) suffered from a
number of sizelimit (and timelimit) handling bugs. As part of
fixing those bugs, checks for various related protocol violations
were added in 2.2.
Anyways, as it is the client which is violating the protocol
specification here, you need to take this problem up with those
responsible for maintaining that client.