diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-08-21 10:57:50 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-08-21 10:57:50 +0200 |
commit | 3d8f174774315bd5c603e8d2234523f6ead2d3cc (patch) | |
tree | 2581771be4b3d736a6ab6d7fc731d65f95b21f6c /apps | |
parent | 383699398fc48b50b76f4eebcb25a489bcd2ec58 (diff) | |
download | nextcloud-server-3d8f174774315bd5c603e8d2234523f6ead2d3cc.tar.gz nextcloud-server-3d8f174774315bd5c603e8d2234523f6ead2d3cc.zip |
Resolve all group memberships properly
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/Group_LDAP.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php index d9e2c7e2e3e..57f5faebd2c 100644 --- a/apps/user_ldap/lib/Group_LDAP.php +++ b/apps/user_ldap/lib/Group_LDAP.php @@ -825,7 +825,7 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface, IGroupLD 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); |