Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Resolve all group memberships properly
Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke authored and blizzz committed Aug 21, 2018
commit 4f6f3b261a2545c15189fc69aed585a16bd928b1
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/Group_LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
if($isMemberUid) {
//we got uids, need to get their DNs to 'translate' them to user names
$filter = $this->access->combineFilterWithAnd(array(
str_replace('%uid', $member, $this->access->connection->ldapLoginFilter),
str_replace('%uid', trim($member), $this->access->connection->ldapLoginFilter),
$this->access->getFilterPartForUserSearch($search)
));
$ldap_users = $this->access->fetchListOfUsers($filter, $attrs, 1);
Expand Down