Error setup LDAP Base DN appears to be wrong Configuration incorrect

Nextcloud version 22.2.3
Operating system and version Linux Debian 11
Apache or nginx version nginx 1.19
PHP version (eg, 7.4): 8.0.15

The issue you are facing:

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

Steps to replicate it:

  1. Activate LDAP User
  2. Add LDAP Server openldap.kube-ldap.svc.cluster.local
  3. Port 1389
  4. Setup Admin DN CN=admin,dc=muellerpublic,dc=de
  5. Setup Password
  6. Click Test Base Dn
  7. Error Configuration incorrect and Base DN appears to be wrong

The output of your Nextcloud log in Admin > Logging:


There is really no log entry at all.

My config works with other apps like Gitea and Grafana.

Nextcloud and OpenLDAP run on a Kubernetes cluster. I don’t even know if the LDAP App is doing anything. There are no logs and no access is made to the OpenLDAP server.