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

[FR] user:sync should have an option to only sync 'seen' users #29644

Closed
tomneedham opened this issue Nov 21, 2017 · 6 comments
Closed

[FR] user:sync should have an option to only sync 'seen' users #29644

tomneedham opened this issue Nov 21, 2017 · 6 comments

Comments

@tomneedham
Copy link
Member

In the case where an instance has a large number of possible users (in LDAP, a large login filter), but due to data laws, and to reduce sync time, we only wish to sync seen users.

./occ user:sync "OCA\User_LDAP\User_Proxy" -m "disable" --seen-users-only

We can change the OC\User\SyncService to lookup accounts which have a login time (and we must also check for oc_preferences for old login times in the case of oc9->oc10 upgrade where accounts have not yet been provisioned)

cc @butonic @patrickjahns

@tomneedham
Copy link
Member Author

Could also be user:refresh to sync only users we know about?

@PVince81
Copy link
Contributor

triage or is someone working on this ?

@tomneedham
Copy link
Member Author

jfd and I are working on this as a series of PRs for 10.0.5 starting with #29669. Currently updating the ldap app to work well with 'no sync' which alleviates this issue until we have time to implement this in core.

@tomneedham tomneedham self-assigned this Dec 13, 2017
@PVince81 PVince81 modified the milestones: development, planned Jan 12, 2018
@PVince81
Copy link
Contributor

PVince81 commented Apr 3, 2018

that PR was merged. I assume there is more work to do, moving to "planned"

@PVince81 PVince81 modified the milestones: development, planned Apr 3, 2018
@tomneedham
Copy link
Member Author

Implemented with #30485

@felixboehm felixboehm modified the milestones: development, QA Apr 19, 2018
@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants