[GH-ISSUE #698] Support the Paged Results Control (RFC2696) #247

Closed
opened 2026-02-27 08:16:08 +03:00 by kerem · 1 comment
Owner

Originally created by @broeng on GitHub (Oct 5, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/698

Originally assigned to: @broeng on GitHub.

I am dealing with some proprietary software that will happily connect and search lldap for users, as part of a user import, but fails the entire import because it assumes search results are always pageable, and is unable to locate the Paged Results Control in the response.

In my case, the software will happily accept any number of results, so a search response containing all results, and a Paged Results Control indicating no futher results available, would satisfy the implementation and allow the import to go through. I could imagine this to be a common usage pattern.

So, I'd like to propose we extend the search result response with a control list containing the Paged Results Control, with a zero length "cookie" indicating no further results.

Originally created by @broeng on GitHub (Oct 5, 2023). Original GitHub issue: https://github.com/lldap/lldap/issues/698 Originally assigned to: @broeng on GitHub. I am dealing with some proprietary software that will happily connect and search lldap for users, as part of a user import, but fails the entire import because it assumes search results are always pageable, and is unable to locate the Paged Results Control in the response. In my case, the software will happily accept any number of results, so a search response containing all results, and a Paged Results Control indicating no futher results available, would satisfy the implementation and allow the import to go through. I could imagine this to be a common usage pattern. So, I'd like to propose we extend the search result response with a control list containing the Paged Results Control, with a zero length "cookie" indicating no further results.
Author
Owner

@broeng commented on GitHub (Oct 6, 2023):

Implemented with PR 699

<!-- gh-comment-id:1750519582 --> @broeng commented on GitHub (Oct 6, 2023): Implemented with PR [699](https://github.com/lldap/lldap/pull/699)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#247
No description provided.