Hi,

I have a simple test case [2] with a server where I set the
LdapServer#setMaxSizeLimit to 50 [0], and then do a paged search with
a page size of 10 [1]. the total number of objects in the search is
100, but I'm not able to get more than the max 50.

I thought that the paged search is exactly for that use case.

btw: executing the same code against a AD which has a limit of 1000
for simple searches, allows me to read all (~27k) entries.

regards, toby

[0] 
https://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/AbstractServer.java?revision=1689773&view=markup#l281
[1] 
https://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-auth-ldap/src/main/java/org/apache/jackrabbit/oak/security/authentication/ldap/impl/LdapIdentityProvider.java?revision=1689798&view=markup#l637
[2] 
https://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/LargeLdapProviderTest.java?revision=1689773&view=markup

Reply via email to