Skip to content

encryption:migrate only migrates first 10 LDAP users #13951

Closed

Description

@PVince81

Steps to reproduce

  1. Setup OC 7.0.4 with LDAP (with more than 10 users)
  2. Enable encryption
  3. Upgrade to OC 8.0.0~RC2
  4. Run ./occ encryption:migrate

Expected result

Keys for all users migrated, the output must show as many users as there are in LDAP.

Actual result

Only first 10 users from LDAP are shown.
I didn't verify the keys (as one would need to init all these users), but it is likely that it only processed the first 10 users.

Versions

OC 8.0.0~RC2

This would affect any setup where LDAP + encryption is used.

@DeepDiver1975 @schiesbn @karlitschek @blizzz

CC @jnfrmarks

Activity

  1. added this to the milestone on Feb 6, 2015
  2. PVince81 commented on Feb 6, 2015

    @PVince81
    ContributorAuthor

    @schiesbn just told me there's another location where getUsers() is used

  3. schiessle commented on Feb 6, 2015

    @schiessle
    Contributor

    Here https://github.com/owncloud/core/blob/master/apps/files_encryption/lib/migration.php#L45 we also use getUsers(). That's the migration path if the migration gets triggered over the web ui. We probably need a similar fix here.

  4. blizzz commented on Feb 6, 2015

    @blizzz
    Contributor

    @schiesbn thx for the hint, will fix

  5. blizzz commented on Feb 6, 2015

    @blizzz
    Contributor

    have fun with #13954

  6. locked as resolved and limited conversation to collaborators on Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions