You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search only returns 126 entries when nsslapd-sizelimit is 126
Description
When performing a paged search using the net-ldap gem, and the LDAP server's nsslapd-sizelimit is set to a value below 127 (e.g., 126), the search returns only up to that limit and does not continue with additional pages.
Expected behavior:
Paged searches should continue retrieving results and return all entries from my server
Environment
LDAP Server: 389 Directory Server (Docker image: quay.io/389ds/dirsrv:latest)
Server setting:nsslapd-sizelimit=126
net-ldap version: 0.17.1
Ruby version: 3.3.6
Reproduction Steps
Set the server limit above the threshold (works as expected):
Search only returns 126 entries when
nsslapd-sizelimit
is 126Description
When performing a paged search using the
net-ldap
gem, and the LDAP server'snsslapd-sizelimit
is set to a value below 127 (e.g., 126), the search returns only up to that limit and does not continue with additional pages.Expected behavior:
Paged searches should continue retrieving results and return all entries from my server
Environment
quay.io/389ds/dirsrv:latest
)nsslapd-sizelimit=126
Reproduction Steps
Set the server limit above the threshold (works as expected):
Then:
Now set the server limit below the threshold:
Then rerun the same Ruby code:
No additional pages are fetched, and the result is truncated at the server-side limit.
Additional Notes
ldapsearch
.The text was updated successfully, but these errors were encountered: