Replies: 2 comments 1 reply
-
Additional comment: |
Beta Was this translation helpful? Give feedback.
-
You likely get Limit Exceeded because you are using a too large page size relative with what is configured in your ldap server |
Beta Was this translation helpful? Give feedback.
-
Hi!,
i am trying to get 10000 records from an OpenLDAP directory.
I am using Novell.Directory.Ldap.NETStandard NuGet package 3.6.0.
When i try to use SearchWithSimplePaging i get Limit Exceeded Errors.
So i tried to use LdapVirtualListControl on my own (like here: https://stackoverflow.com/questions/48805577/how-to-do-a-paged-search-on-an-ldap-server-with-lots-of-users).
But i get 'Unavailable Critical Extension (12)'.
What am i doing wrong?
I create a SimplePagedResultsControleHandler with
var handler = SimplePagedResultsControleHandler(connection); pagedResults = handler.SearchWithSimplePaging(GetSearchOptions(searchScope, attributeOnly, attrs, searchBase, searchFilter, null), pageSize);
Beta Was this translation helpful? Give feedback.
All reactions