You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
encryption:migrate only migrates first 10 LDAP users #13951
Setup OC 7.0.4 with LDAP (with more than 10 users)
Enable encryption
Upgrade to OC 8.0.0~RC2
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.
Activity
PVince81 commentedon Feb 6, 2015
How about using this approach: https://github.com/owncloud/core/blob/master/lib/private/repair/repairlegacystorages.php#L185
PVince81 commentedon Feb 6, 2015
@schiesbn just told me there's another location where getUsers() is used
schiessle commentedon Feb 6, 2015
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.
blizzz commentedon Feb 6, 2015
@schiesbn thx for the hint, will fix
blizzz commentedon Feb 6, 2015
have fun with #13954