FWIW, the local/Docker install gets the same error.
in the server logs, i see:
*{“level”:“info”,“ts”:1618117177.2334528,“caller”:“mlog/log.go:218”,“msg”:“LDAP Sync Phase”,“workername”:“EnterpriseLdapSync”,“current_phase”:"github.com/mattermost/mattermost-server/v5/enterprise/ldap.(LdapSyncWorker).phase1GetLdapUsers-fm"}
{“level”:“info”,“ts”:1618117177.235082,“caller”:“mlog/log.go:218”,“msg”:“Found users with LDAP configured”,“workername”:“EnterpriseLdapSync”,“num_ldap_users”:0}
*{“level”:“info”,“ts”:1618117177.3386252,“caller”:“mlog/log.go:218”,“msg”:“LDAP Sync Phase”,“workername”:“EnterpriseLdapSync”,“current_phase”:"github.com/mattermost/mattermost-server/v5/enterprise/ldap.(LdapSyncWorker).phase2GetSamlUsers-fm"}
*{“level”:“info”,“ts”:1618117177.4404762,“caller”:“mlog/log.go:218”,“msg”:“LDAP Sync Phase”,“workername”:“EnterpriseLdapSync”,“current_phase”:"github.com/mattermost/mattermost-server/v5/enterprise/ldap.(LdapSyncWorker).phase3GetLdapUsersFromLdap-fm"}
{“level”:“error”,“ts”:1618117177.5189226,“caller”:“mlog/log.go:232”,“msg”:“Failed job”,“workername”:“EnterpriseLdapSync”,“error”:"LdapSession.getAllLdapUsers: Failed to search users in AD/LDAP. Test if the Mattermost server can connect to your AD/LDAP server and try again., LdapSession.search: Size Limit Exceeded. Try checking your max page size., LDAP Result Code 4 “Size Limit Exceeded”: ",“job_id”:“dtxp8qguxjdudfat4pyqcgkrnr”}
Is the “num_ldap_users":0” meaningful in any way other than “we didn’t find anything”?