-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Description
I did this
Hi,
Using the libcurl API, I did an ldap request to my ADLDS server to query with the filter "objectClass=*" to get the memberof, name and type attributes of all records in the LDAP server.
The server returned a huge result with 5002 entries without error.
The result seems to be correct but looked incomplete.
On the server, I changed the Max Page Size to 5000, and the same query, returns now 10474 entries.
I dig a little more and it seems ADLDS server returns paged result when there is too much records. I think to read the pages, it should use the methods : ldap_search_init_page and
ldap_get_next_page_s.
I didn't found any reference to these methods in the libcurl source code.
I expected the following
It will be great to have an option to allow paged search for ldap or at least a way to know the result is incomplete.
curl/libcurl version
Libcurl 7.65.3 built with unicode support on Windows.
operating system
Windows 10