LdapUserGroupBackend: Do not consider every "member" as a "user"

Not all members of a group are actual user objects. I would have liked to
actually only show real users, but this is currently not possible.

refs #9772
This commit is contained in:
Johannes Meyer 2015-09-29 11:29:05 +02:00
parent d33b1954aa
commit 8358f82885
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt
{
return $this->ds
->select()
->from($this->userClass, array($this->userNameAttribute))
->from('*', array($this->userNameAttribute))
->setBase($dn)
->fetchOne();
}