User list creation fails with LDAP

Nextcloud version: 18.0.3
Operating system and version: Ubuntu 18.04.4 LTS
Apache version: Apache (don’t know exact Version)
PHP version: PHP Version 7.2.24-nmm1

The issue you are facing:

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

Steps to replicate it:

  1. Configured LDAP Connection
  2. Connection established and LDAP Querys works fine. E.g. Numbers of found users is presented.
  3. Going to userlist only see the waiting circle and nothing happen.
  4. To Login with a LDAP User is working.

The output of your Nextcloud log in Admin > Logging:

No Failures logged

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

<?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
  ),
  'datadirectory' => '',
  'dbtype' => 'mysql',
  'version' => '18.0.3.0',
  'overwrite.cli.url' => '',
  'dbname' => '',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => '',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'tempdirectory' => '/data/tmp/',
  'mail_from_address' => 'nc',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => '',
  'mail_domain' => '',
  'mail_sendmailmode' => 'pipe',
  'maintenance' => false,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' =>
  array (
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
  'updater.release.channel' => 'stable',
  'theme' => '',
  'loglevel' => 2,
  'logtimezone' => 'Europe/Berlin',
  'mail_smtpsecure' => '',
  'mail_smtphost' => '',
  'mail_smtpport' => '',
  'mail_smtpauth' => ,
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'memcache.local' => '\\OC\\Memcache\\ArrayCache',
  'updater.secret' => '',
);

It seems that there was some advanced configuration missing. This thread help me a lot:

Migration to LDAP keeping users and data