Skip to content

Fix retrieval of group members with numerical uids from LDAP - #8522

Merged
MorrisJobke merged 2 commits into
masterfrom
fix-groupmembers-numids
Feb 26, 2018
Merged

Fix retrieval of group members with numerical uids from LDAP#8522
MorrisJobke merged 2 commits into
masterfrom
fix-groupmembers-numids

Conversation

@blizzz

Copy link
Copy Markdown
Member

More array_merge fun… comes with unit test

Basic issue: when your LDAP group references group members with uids (not full DNs) and those uids are purely numeric, array_merge would resort-them, starting with 0.

@nextcloud/ldap

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzzblizzz added this to the Nextcloud 13.0.1 milestone Feb 23, 2018
@blizzzblizzz changed the title Fix groupmembers numidsFix retrieval of group members with numerical uids from LDAPFeb 23, 2018

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@blizzz

Copy link
Copy Markdown
MemberAuthor

Swift test ran in a time out, but is unrelated to the changes

@blizzz

Copy link
Copy Markdown
MemberAuthor

backports

13: #8536
12: #8537
11: #8538

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@blizzz@MorrisJobke@ChristophWurst