Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user_ldap search() doesn't implement paging correctly #6388

Closed
eigood opened this issue Sep 6, 2017 · 1 comment
Closed

user_ldap search() doesn't implement paging correctly #6388

eigood opened this issue Sep 6, 2017 · 1 comment

Comments

@eigood
Copy link

eigood commented Sep 6, 2017

nextcloud-version: 12.0.2

In search(), the passed in $limit is passed directly to executeSearch. If the calling code has set $limit to 400, or to null, it does not get massaged. count() a few lines above looks at ->connection->ldapPagingSize, and deals with that accordingly.

I have this fixed locally by implementing the same kind of logic as in ->count(). I now get 2957 groups in the front-end wizard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants