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

Use BackendUserIterator with uid filter for user:sync --uid #37398

Merged
merged 1 commit into from
May 19, 2020

Conversation

mrow4a
Copy link
Contributor

@mrow4a mrow4a commented May 17, 2020

Commit dd84405 introduced a problem that when searching for a user in LDAP backend that does not fit in LDAP Paging Size made user:sync --uid break (essentially not finding it and attempting to remove

How tested?

  • unit tests
  • insert 1000 users, including 1_aaliyah_abernathy, aaliyah_abernathy and aaliyah_abernathy_1 at the beginning, searched for aaliyah_abernathy - without this fix it works, with this fix it also it works
  • insert 1000 users, including 1_abagail_zieme, abagail_zieme and abagail_zieme_1 at the end, searched for abagail_zieme - without this fix it wont work, with this fix it works (fixes https://github.com/owncloud/enterprise/issues/3981)

@mrow4a mrow4a requested a review from jvillafanez May 17, 2020 14:58
@mrow4a mrow4a self-assigned this May 17, 2020
@mrow4a mrow4a changed the title Use BackendUserIterator with uid filter for syncing single user using user:sync Use BackendUserIterator with uid filter for user:sync --uid May 17, 2020
@mrow4a mrow4a force-pushed the bugfix/user-sync-uid-iterator branch from 8a17b2b to 66f26e1 Compare May 17, 2020 15:44
@mrow4a mrow4a force-pushed the bugfix/user-sync-uid-iterator branch from 66f26e1 to 0224143 Compare May 17, 2020 15:59
@owncloud owncloud deleted a comment from update-docs bot May 18, 2020
@phil-davis
Copy link
Contributor

No codecov arrived. I also had this happen yesterday. Someone can decide if they want to override to merge, or if this should be rebased to try again.

@micbar micbar merged commit b4dfd1e into master May 19, 2020
@delete-merged-branch delete-merged-branch bot deleted the bugfix/user-sync-uid-iterator branch May 19, 2020 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants