Repository navigation
fix retrieval of user groups - #13280
Conversation
|
@karlitschek Backport request. Do you approve this for stable7? |
|
@karlitschek fixes an regression introduced to 7.0.3, so a backport permission is highly appreciated. |
|
👍 |
|
backport please |
|
Refer to this link for build results (access rights to CI server needed): |
|
Works and fixes the issue 👍 |
fix retrieval of user groups
|
@blizzz Can you take care of the backport? It's just a problem with the comment of the "magic properties" but you know how to fix it ;) |
|
The inspection completed: 1 updated code elements |
|
Works for me, thank you! However, if I do not pass nonsense as the second parameter to the script but an existing group name, still only one group is listed. But the owncloud user admin interface now lists all groups. |
@d-tamm sure? a passed group is solely used for the second part of the script, listing users in a group. It is also only used later in the script. Maybe you have had an old result in the cache? |
|
backport to stable7: 713f2b3 |
|
@blizzz Yes, you are right, must have been a cache problem. When I now repeat the command with an existing group name as 2nd parameter I get the right groups listed, too. |
|
@d-tamm ok, thanks for re-validating! :) |
|
@blizzz Best Tobias |
|
perfect, thanks for testing @tkaufm! |
|
I don't think this problem is solved. Our users sometimes are in all needed groups, and sometimes not. I ran the script you provided (without applying the patch since we have OC 8.0.2) twice and the first time the user was in one group and seconds later in two. Something still is not right. |
|
@oxivanisher if it works at least sometimes, it is a new issue. Can you please open a new issue using the template https://raw.githubusercontent.com/owncloud/core/master/issue_template.md? Thank you! |
This fixes #12306.
We need to reset the paged search to work properly with a certain LDAP server when reading an attribute. However, the number of entries to be returned should not be one, as it bring problems here or there. We now use the Chunk Size therefore (defaults to 500) or 500 is the specified one is too small.
How to test?
Please test/review @MorrisJobke @tkaufm @oxivanisher @d-tamm @jnfrmarks