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

LDAP user imports stops with "SizeLimitExceededError: Size Limit Exceeded" #461

Closed
derwok opened this issue Sep 4, 2018 · 0 comments
Closed
Assignees
Labels

Comments

@derwok
Copy link
Member

derwok commented Sep 4, 2018

LDAP user import stops at 1000 users.

W20180904-15:33:44.157(2)? (STDERR) An error occurred: SizeLimitExceededError: Size Limit Exceeded
W20180904-15:33:44.158(2)? (STDERR) Error: {
W20180904-15:33:44.158(2)? (STDERR)   "lde_message": "Size Limit Exceeded",
W20180904-15:33:44.158(2)? (STDERR)   "lde_dn": null
W20180904-15:33:44.159(2)? (STDERR) }

Proposal: use paged LDAP result sets here: \imports\ldap\getLDAPUsers.js
use: options = {filter, scope, attributes, paged: true};

For references see here:
http://ldapjs.org/client.html#paging

@derwok derwok added the bug label Sep 4, 2018
@derwok derwok self-assigned this Sep 4, 2018
@derwok derwok changed the title LDAP user improrts SizeLimitExceededError: Size Limit Exceeded LDAP user imports stops with "SizeLimitExceededError: Size Limit Exceeded" Sep 4, 2018
@derwok derwok closed this as completed in b8ee6e9 Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant