Internal Server Error when switching to another page in found contacts (LDAP Addressbook)
|Reported by:||nivago||Owned by:|
|Severity:||major||Keywords:||ldap addressbook paged search|
I have multiple OpenLDAP addressbooks and everything works fine, except search, if it returns paged result. E.g. search shows 172 contacts found (same number as if I search via OpenLDAP internal tool), RC splits it into a few pages (size of page, i.e. contacts shown per each, doesn't matter); contacts on first page are shown correctly, but if I click to show next page, I get 500 internal server error, with no contacts shown. Logs show 53 LDAP error code ('Paged result control cookie is invalid or old'). If page size is larger then the number of found contacts, which means it's only one page, all works well.
Also, I've tested similar paged search in Apache Directory Studio and same error happens when I double-click page navigation button, i.e. search request had been sent twice. Search via OpenLDAP tool, ldapsearch, works fine as well.
LDAP database itself was tested and no problems there.