LDAP users appear multiple times

Nextcloud version (eg, 18.0.2): 19.0.0
Operating system and version (eg, Ubuntu 20.04): CentOS Linux release 7.8.2003 (Core)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.6 (CentOS)
PHP version (eg, 7.1): PHP 7.3.19 (remi-php73.repo)

The issue you are facing:
When I configure LDAP with Active Directory running in a Windows 2016 Server and access the users page, users are listed multiple times:

I´m using AWS Aurora RDS as DB and AWS S3 as principal storage

I can login normally. The only problem is in users page.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Enable LDAP APP
  2. Configure LDAP
  3. Access …/settings/users

The output of your Nextcloud log in Admin > Logging:

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

LDAP Config

You have two options to solve this:

  • wait for 19.0.1
  • implement this

Thanks @anon71540698. This fix worked well…

There are another question about LDAP. I put in a github issue that I created about the LDAP problem: https://github.com/nextcloud/server/issues/21476#issuecomment-646721469

Basically some details are not being poulated, such mail and avatar:


I’m not a developer… by a long shot…

But on two NC instances that I run v.19 on, I have no problems with avatars.
Not clean v.19 installs, upgraded…

In my case is a fresh install…